org.keridwen.modelling.group.editor.ui
Class OldPropertiesListEditor

java.lang.Object
  extended by org.keridwen.modelling.group.editor.ui.OldPropertiesListEditor

public class OldPropertiesListEditor
extends Object

Simple basic viewer/editor for the Frida's Properties and Characteristics.

Author:
J.Forest, Artenum sarl

Constructor Summary
OldPropertiesListEditor(com.artenum.frida.properties.PropertiesList propertyList)
          Main constructor.
 
Method Summary
 CharacteristicEditor getCharacteristicEditor()
          Return the current characteristic editor.
 ActionListener getController()
          Get a pointer toward the application controller.
 JPanel getEditorView()
           
 JFrame getMainFrame()
          GEt the main frame.
 com.artenum.frida.properties.PropertiesList getPropertiesList()
          Get the list of Frida's properties loaded in the application.
 PropertyEditor getPropertyEditor()
          Return the current Property editor.
 com.artenum.frida.interfaces.CharacteristicInterface getSelectedCharacteristic()
           
 Object getSelectedNode()
           
 com.artenum.frida.interfaces.PropertyInterface getSelectedProperty()
           
 SelectionTree getTree()
           
 void initView()
          Initialise the global GUI.
 void setCharacEditor(CharacteristicEditor editor)
          Set the default Characteristic Editor.
 void setController(ActionListener controller)
          Set the application controller.
 void setEditorView(JPanel nodeEditionPanel)
          Update the editor panel according the type of the selected node in the selection tree.
 void setMainFrame(JFrame mainFrame)
          Set the main frame.
 void setPropertyEditor(PropertyEditor propertyEditor)
          Set the property editor for the present property list editor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OldPropertiesListEditor

public OldPropertiesListEditor(com.artenum.frida.properties.PropertiesList propertyList)
Main constructor.

Parameters:
propertyList -
controler -
Method Detail

setCharacEditor

public void setCharacEditor(CharacteristicEditor editor)
Set the default Characteristic Editor.

Parameters:
editor - - the Characteristic Editor.

getCharacteristicEditor

public CharacteristicEditor getCharacteristicEditor()
Return the current characteristic editor.

Returns:
The current characteristic editor.

setPropertyEditor

public void setPropertyEditor(PropertyEditor propertyEditor)
Set the property editor for the present property list editor. This one corresponds to the right side panel when a Property is selected in the selection tree.

Parameters:
propertyEditor -

getPropertyEditor

public PropertyEditor getPropertyEditor()
Return the current Property editor.

Returns:

initView

public void initView()
Initialise the global GUI.


getSelectedNode

public Object getSelectedNode()
Returns:
the selected node in the tree.

getEditorView

public JPanel getEditorView()
Returns:
Return the current editor panel.

setEditorView

public void setEditorView(JPanel nodeEditionPanel)
Update the editor panel according the type of the selected node in the selection tree.

Parameters:
nodeEditionPanel - - Panel of settings for the selected node-type

getSelectedProperty

public com.artenum.frida.interfaces.PropertyInterface getSelectedProperty()
Returns:
Return the Property selected in the tree.

getSelectedCharacteristic

public com.artenum.frida.interfaces.CharacteristicInterface getSelectedCharacteristic()
Returns:
Return the Characteristic selected in the tree.

getTree

public SelectionTree getTree()
Returns:
return the property and characteristics selection tree.

getController

public ActionListener getController()
Get a pointer toward the application controller.

Returns:
the application controller.

setController

public void setController(ActionListener controller)
Set the application controller. This one is typically an instance of SelectionTreeListener.

Parameters:
controller - instance of SelectionTreeListener.

getPropertiesList

public com.artenum.frida.properties.PropertiesList getPropertiesList()
Get the list of Frida's properties loaded in the application.

Returns:

getMainFrame

public JFrame getMainFrame()
GEt the main frame.

Returns:

setMainFrame

public void setMainFrame(JFrame mainFrame)
Set the main frame.

Parameters:
mainFrame -


Copyright © 2012-2013 Artenum. All Rights Reserved.