public class EditClassMatchingView extends Object implements IEditView
WizardView There are two different
modes implemented in this class: automated and manual, depending on the value
of automated.| Modifier and Type | Method and Description |
|---|---|
javafx.scene.control.Label |
getErrorAutomatedMissingClassMatchingLabel() |
javafx.scene.control.Label |
getErrorManualMissingClassMatchingLabel() |
javafx.scene.Parent |
getPane()
returns the pane
|
javafx.scene.control.TreeView<ClassMatchingNode> |
getSourceTreeView() |
javafx.scene.control.Button |
getSwitchModeButton() |
javafx.scene.control.TableView<AutomatedClassMatchingNode> |
getTableView() |
javafx.scene.control.TreeView<ClassMatchingNode> |
getTargetTreeView() |
Boolean |
isAutomated()
returns if this view is in automated mode
|
void |
save()
saves the selected classes to the config
|
void |
setAutomated(boolean automated)
sets the value boolean that contains mode and sets the visibility of the
switchModeButton accordingly
|
void |
setController(EditClassMatchingController controller)
sets the corresponding controller
|
void |
showTable(javafx.collections.ObservableList<AutomatedClassMatchingNode> items) |
void |
showTree(SourceOrTarget sourceOrTarget,
List<ClassMatchingNode> items,
ClassMatchingNode currentClass)
shows the tree after classes are loaded from controller
|
public void setController(EditClassMatchingController controller)
controller - controllerpublic javafx.scene.Parent getPane()
public void showTree(SourceOrTarget sourceOrTarget, List<ClassMatchingNode> items, ClassMatchingNode currentClass)
sourceOrTarget - enum for source or targetitems - list of class matching nodescurrentClass - current class matching nodepublic void showTable(javafx.collections.ObservableList<AutomatedClassMatchingNode> items)
public void save()
public javafx.scene.control.TreeView<ClassMatchingNode> getSourceTreeView()
public javafx.scene.control.TreeView<ClassMatchingNode> getTargetTreeView()
public javafx.scene.control.TableView<AutomatedClassMatchingNode> getTableView()
public javafx.scene.control.Label getErrorAutomatedMissingClassMatchingLabel()
public javafx.scene.control.Label getErrorManualMissingClassMatchingLabel()
public javafx.scene.control.Button getSwitchModeButton()
public void setAutomated(boolean automated)
IEditViewsetAutomated in interface IEditViewpublic Boolean isAutomated()
IEditViewisAutomated in interface IEditViewCopyright © 2018. All rights reserved.