-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added DataEntry class for locking entries
With the introduction of said class, the DataMap nesting is now as follows: ArrayList -> DataEntry -> ValueTriplet -> (String, VPair, Integer) Which should actually be simplified to ArrayList -> DataEntry but this is just for testing how well the TreeView work for editors.
- Loading branch information
Showing
21 changed files
with
459 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package StellarisDK.FileClasses; | ||
|
||
import StellarisDK.GUI.ArmyUI; | ||
import javafx.scene.control.TreeItem; | ||
|
||
public class Army extends GenericData { | ||
|
||
public Army() { | ||
super(); | ||
this.type = "army"; | ||
ui = new ArmyUI(this); | ||
} | ||
|
||
public Army(String input, String type) { | ||
super(input, type); | ||
ui = new ArmyUI(this); | ||
} | ||
|
||
@Override | ||
public GenericData createNew() { | ||
return new Army(); | ||
} | ||
|
||
@Override | ||
public TreeItem getRequiredTreeSet() { | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.