$darkmode
DENOPTIM
|
A panel for handling of compatibility matrix. More...
Public Member Functions | |
GUICompatibilityMatrixTab (GUIMainPanel mainPanel) | |
Constructor. More... | |
void | importCPMapFromFile (JComponent parent, File inFile) |
boolean | hasUnsavedChanges () |
Check whether there are unsaved changes. More... | |
Public Member Functions inherited from denoptim.gui.GUICardPanel | |
GUICardPanel (GUIMainPanel mainPanel, String newPanelName) | |
Constructor for JPanel meant to be a single "card" in the deck of cards. More... | |
boolean | hasUnsavedChanges () |
Check for unsaved changes in the components included in this card. More... | |
Static Public Attributes | |
static AtomicInteger | CPMapTabUID = new AtomicInteger(1) |
Unique identified for instances of this inspector. More... | |
Private Member Functions | |
void | initialize () |
Initialize the panel and add buttons. More... | |
Private Attributes | |
boolean | unsavedChanges = false |
Flag signaling that loaded data has changes since last save. More... | |
JButton | btnLoadCPMap |
JButton | btnImportAPClasses |
CompatibilityMatrixForm | cpMapHandler |
Static Private Attributes | |
static final long | serialVersionUID = 912850110991449553L |
Version UID. More... | |
Additional Inherited Members | |
Protected Attributes inherited from denoptim.gui.GUICardPanel | |
GUIMainPanel | mainPanel |
The main panel (cards deck) More... | |
A panel for handling of compatibility matrix.
Definition at line 42 of file GUICompatibilityMatrixTab.java.
denoptim.gui.GUICompatibilityMatrixTab.GUICompatibilityMatrixTab | ( | GUIMainPanel | mainPanel | ) |
Constructor.
Definition at line 70 of file GUICompatibilityMatrixTab.java.
References denoptim.gui.GUICompatibilityMatrixTab.CPMapTabUID, denoptim.gui.GUICompatibilityMatrixTab.initialize(), and denoptim.gui.GUICardPanel.mainPanel.
boolean denoptim.gui.GUICompatibilityMatrixTab.hasUnsavedChanges | ( | ) |
Check whether there are unsaved changes.
true
if there are unsaved changes. Reimplemented from denoptim.gui.GUICardPanel.
Definition at line 222 of file GUICompatibilityMatrixTab.java.
References denoptim.gui.GUICompatibilityMatrixTab.unsavedChanges.
void denoptim.gui.GUICompatibilityMatrixTab.importCPMapFromFile | ( | JComponent | parent, |
File | inFile | ||
) |
Definition at line 210 of file GUICompatibilityMatrixTab.java.
References denoptim.gui.GUICompatibilityMatrixTab.cpMapHandler, and denoptim.gui.CompatibilityMatrixForm.importCPMapFromFile().
Referenced by denoptim.gui.MainToolBar.openFile().
|
private |
Initialize the panel and add buttons.
Definition at line 82 of file GUICompatibilityMatrixTab.java.
References denoptim.gui.ButtonsBar.add(), denoptim.files.FileUtils.addToRecentFiles(), denoptim.gui.GUICompatibilityMatrixTab.btnImportAPClasses, denoptim.gui.GUICompatibilityMatrixTab.btnLoadCPMap, denoptim.files.FileFormat.COMP_MAP, denoptim.gui.GUICompatibilityMatrixTab.cpMapHandler, denoptim.gui.CompatibilityMatrixForm.importAllAPClassesFromCappingGroupLibs(), denoptim.gui.CompatibilityMatrixForm.importAllAPClassesFromFragmentLibs(), denoptim.gui.CompatibilityMatrixForm.importCPMapFromFile(), denoptim.gui.GUIFileOpener.pickFile(), denoptim.gui.GUIFileOpener.pickFileForSaving(), denoptim.gui.GUIFileOpener.pickManyFiles(), denoptim.gui.GUICompatibilityMatrixTab.unsavedChanges, and denoptim.gui.CompatibilityMatrixForm.writeCopatibilityMatrixFile().
Referenced by denoptim.gui.GUICompatibilityMatrixTab.GUICompatibilityMatrixTab().
|
private |
Definition at line 60 of file GUICompatibilityMatrixTab.java.
Referenced by denoptim.gui.GUICompatibilityMatrixTab.initialize().
|
private |
Definition at line 59 of file GUICompatibilityMatrixTab.java.
Referenced by denoptim.gui.GUICompatibilityMatrixTab.initialize().
|
private |
Definition at line 62 of file GUICompatibilityMatrixTab.java.
Referenced by denoptim.gui.GUICompatibilityMatrixTab.importCPMapFromFile(), and denoptim.gui.GUICompatibilityMatrixTab.initialize().
|
static |
Unique identified for instances of this inspector.
Definition at line 52 of file GUICompatibilityMatrixTab.java.
Referenced by denoptim.gui.GUICompatibilityMatrixTab.GUICompatibilityMatrixTab().
|
staticprivate |
Version UID.
Definition at line 47 of file GUICompatibilityMatrixTab.java.
|
private |
Flag signaling that loaded data has changes since last save.
Definition at line 57 of file GUICompatibilityMatrixTab.java.
Referenced by denoptim.gui.GUICompatibilityMatrixTab.hasUnsavedChanges(), and denoptim.gui.GUICompatibilityMatrixTab.initialize().