public class EditPropertyMatchingView 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 |
|---|---|
void |
addListenersForAutomated() |
void |
addListenersForManual() |
javafx.scene.control.TableView<AutomatedPropertyMatchingNode> |
getAddedAutomatedPropsList() |
javafx.scene.control.ListView<String> |
getAddedSourcePropsList() |
javafx.scene.control.ListView<String> |
getAddedTargetPropsList() |
javafx.scene.control.Label |
getMissingPropertiesLabel() |
javafx.scene.Parent |
getPane()
Returns the rootPane
|
javafx.scene.control.Button |
getSwitchModeButton() |
Boolean |
isAutomated()
returns if this view is in automated mode
|
void |
save()
Saves the table items
|
void |
setAutomated(boolean automated)
sets the value boolean that contains mode and sets the visibility of the
switchModeButton accordingly
|
void |
setController(EditPropertyMatchingController controller)
Sets the corresponding Controller
|
void |
showAutomatedProperties(AMapping properties)
Called by controller after loading properties and puts them to the table
|
void |
showAvailableProperties(SourceOrTarget sourceOrTarget,
List<String> properties)
Shows the available properties
|
void |
showError(String header,
String content)
Shows an error if something went wrong
|
public void setController(EditPropertyMatchingController controller)
controller - controllerpublic void addListenersForAutomated()
public void addListenersForManual()
public javafx.scene.Parent getPane()
public void showAutomatedProperties(AMapping properties)
properties - the loaded propertiespublic void showAvailableProperties(SourceOrTarget sourceOrTarget, List<String> properties)
sourceOrTarget - enum for source or targetproperties - list of properties to showpublic void showError(String header, String content)
header - header of errorcontent - content of messagepublic javafx.scene.control.ListView<String> getAddedSourcePropsList()
public javafx.scene.control.ListView<String> getAddedTargetPropsList()
public javafx.scene.control.Label getMissingPropertiesLabel()
public javafx.scene.control.TableView<AutomatedPropertyMatchingNode> getAddedAutomatedPropsList()
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.