org.mockcentral.editor.outline
Interface IMockCentralEditorOutline


public interface IMockCentralEditorOutline

Interface for the tree display used to select MockObjectNode instances for editing.

Author:
David Hutchinson

Method Summary
 void activateNode(MockCentralNode childNode)
          Updates the selection path to select the indicated child MockCentralNode object.
 java.util.List<NodeProblem> collectNodeProblems()
          Returns a list containing all current NodeProblem instances.
 MockCentralNode findNode(java.lang.String path)
          Returns the MockCentralNode instance corresponding to the supplied path String.
 MockCentralNode getActiveNode()
          Returns the active MockCentralNode instance.
 void nodeProblemsChanged()
          Notification that the NodeProblem list has changed and the display should be updated.
 void updateUI()
          Indicates the tree display should be updated.
 

Method Detail

activateNode

void activateNode(MockCentralNode childNode)
Updates the selection path to select the indicated child MockCentralNode object.

Parameters:
childNode - the MockCentralNode object to activate.

findNode

MockCentralNode findNode(java.lang.String path)
Returns the MockCentralNode instance corresponding to the supplied path String.

Parameters:
path - a String representing the path to the node
Returns:
the MockCentralNode instance corresponding to the supplied path String.

getActiveNode

MockCentralNode getActiveNode()
Returns the active MockCentralNode instance.

Returns:
the active MockCentralNode instance.

updateUI

void updateUI()
Indicates the tree display should be updated.


nodeProblemsChanged

void nodeProblemsChanged()
Notification that the NodeProblem list has changed and the display should be updated.


collectNodeProblems

java.util.List<NodeProblem> collectNodeProblems()
Returns a list containing all current NodeProblem instances.

Returns:
a list containing all current NodeProblem instances.