|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMockCentralEditor
Interface for the top level editor class used for editing MockCentral configuration files. This interface specifies methods for managing and updating the editor and outline displays and handling basic editor lifecycle events.
| Method Summary | |
|---|---|
java.lang.ClassLoader |
getClassLoader()
Returns the ClassLoader associated with this editor. |
MockCentralNode |
getCurrentNode()
Returns the MockCentralNode currently open for editing. |
java.lang.Object |
getInput()
Returns the editor's input. |
IMockCentralNodeView |
getNodeView(MockCentralNodeType nodeType)
Returns the IMockCentralNodeView instance appropriate for
the MockCentralNode type identified by the parameter. |
java.lang.Object |
getPreferenceValue(java.lang.String preferenceName)
Returns the value of a prefence used by the editor. |
void |
loadPageFor(MockCentralNode selectedNode)
Loads the appropriate editor page for the supplied MockCentralNode. |
void |
nodeProblemsChanged()
Notification that the NodeProblem list has changed. |
void |
setDirty(boolean dirty)
Sets the dirty value for the editor. |
void |
setPreference(java.lang.String preferenceName,
java.lang.Object preferenceValue)
Sets the value of a prefence used by the editor. |
| Method Detail |
|---|
java.lang.Object getInput()
MockCentralNode getCurrentNode()
MockCentralNode currently open for editing.
MockCentralNode currently open for editing.IMockCentralNodeView getNodeView(MockCentralNodeType nodeType)
IMockCentralNodeView instance appropriate for
the MockCentralNode type identified by the parameter.
nodeType - the MockCentralNodeType for the node to be
viewed.
IMockCentralNodeView class.void setDirty(boolean dirty)
dirty - the dirty value.void loadPageFor(MockCentralNode selectedNode)
MockCentralNode.
selectedNode - the MockCentralNode to be opened for
editing.void nodeProblemsChanged()
NodeProblem list has changed.
void setPreference(java.lang.String preferenceName,
java.lang.Object preferenceValue)
preferenceName - the name of the preference.preferenceValue - the new value.java.lang.Object getPreferenceValue(java.lang.String preferenceName)
preferenceName - the name of the preference.
java.lang.ClassLoader getClassLoader()
ClassLoader associated with this editor.
ClassLoader associated with this editor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||