org.mockcentral.editor.nodes.mockobject
Class EditMockObjectPage
java.lang.Object
org.mockcentral.editor.components.MockCentralPluginNodeView
org.mockcentral.editor.nodes.mockobject.EditMockObjectPage
- All Implemented Interfaces:
- org.mockcentral.editor.nodes.IMockCentralNodeView, org.mockcentral.editor.nodes.mockobject.IMockObjectModelObserver
public class EditMockObjectPage
- extends MockCentralPluginNodeView
- implements org.mockcentral.editor.nodes.mockobject.IMockObjectModelObserver
The MockCentralPluginNodeView used for editing Mock Object data.
- Author:
- David Hutchinson
|
Constructor Summary |
EditMockObjectPage(org.eclipse.ui.forms.widgets.FormToolkit toolkit,
org.eclipse.swt.widgets.Composite page)
Creates a new instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditMockObjectPage
public EditMockObjectPage(org.eclipse.ui.forms.widgets.FormToolkit toolkit,
org.eclipse.swt.widgets.Composite page)
- Creates a new instance.
- Parameters:
toolkit - the FormToolkit provided by the parent
EditorFormPage.page - the Composite created within the parent
EditorFormPage which will hold the view page contents.
getInputDescription
public java.lang.String getInputDescription()
- Specified by:
getInputDescription in interface org.mockcentral.editor.nodes.IMockCentralNodeView
setNodeModel
public void setNodeModel(org.mockcentral.editor.nodes.MockCentralNodeModel mockObjectModel)
- Specified by:
setNodeModel in interface org.mockcentral.editor.nodes.IMockCentralNodeView
mockObjectNameChanged
public void mockObjectNameChanged()
- Specified by:
mockObjectNameChanged in interface org.mockcentral.editor.nodes.mockobject.IMockObjectModelObserver
mockObjectInterfaceChanged
public void mockObjectInterfaceChanged()
- Specified by:
mockObjectInterfaceChanged in interface org.mockcentral.editor.nodes.mockobject.IMockObjectModelObserver
jndiNameChanged
public void jndiNameChanged()
- Specified by:
jndiNameChanged in interface org.mockcentral.editor.nodes.mockobject.IMockObjectModelObserver
getMockObjectInterfaceDecoration
protected org.eclipse.jface.fieldassist.ControlDecoration getMockObjectInterfaceDecoration()
- Returns the
ControlDecoration used to indicate problems with
the interface name.
- Returns:
- the
ControlDecoration used to indicate problems with
the interface name.
getDecorationManager
protected EditMockObjectDecorationManager getDecorationManager()
- Returns the
EditMockObjectDecorationManager used to manage
the ControlDecoration indicating problems with the Mock
Object interface name.
- Returns:
- the
EditMockObjectDecorationManager.