|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockcentral.editor.components.MockCentralPluginNodeView
public abstract class MockCentralPluginNodeView
Base for the view classes used to edit MockCentralNode data.
These editors are embedded in the ScrolledPageBook on the
EditorFormPage. One instance exists per node
type (FixtureGroup, Fixture, MockObjectGroup, etc) and the instances are
freshly loaded with node-specific data upon being activated.
| Field Summary | |
|---|---|
protected java.util.Map<java.lang.String,org.eclipse.swt.graphics.Image> |
imagesMap
|
protected org.eclipse.swt.widgets.Composite |
page
the base Composite for this view. |
protected org.eclipse.ui.forms.widgets.FormToolkit |
toolkit
the FormToolkit. |
| Constructor Summary | |
|---|---|
MockCentralPluginNodeView(org.eclipse.ui.forms.widgets.FormToolkit toolkit,
org.eclipse.swt.widgets.Composite page)
Creates a new instance. |
|
| Method Summary | |
|---|---|
org.eclipse.swt.widgets.Button |
createButton(org.eclipse.swt.widgets.Composite parent,
java.lang.String text,
java.lang.String toolTipText)
Utility method to create a push-style Button for the view. |
org.eclipse.swt.widgets.Label |
createLabel(org.eclipse.swt.widgets.Composite parent,
java.lang.String text)
Utility method to create a Label for the view. |
void |
dispose()
disposes of resources as necessary. |
java.util.Map<java.lang.String,org.eclipse.swt.graphics.Image> |
getImagesMap()
Returns the imagesMap. |
org.eclipse.core.commands.operations.IOperationHistory |
getOperationHistory()
Returns the IOperationHistory of the current editor. |
org.eclipse.core.commands.operations.IUndoContext |
getUndoContext()
Returns the IUndoContext of the current editor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mockcentral.editor.nodes.IMockCentralNodeView |
|---|
getInputDescription, setNodeModel |
| Field Detail |
|---|
protected org.eclipse.ui.forms.widgets.FormToolkit toolkit
FormToolkit.
protected org.eclipse.swt.widgets.Composite page
Composite for this view.
protected java.util.Map<java.lang.String,org.eclipse.swt.graphics.Image> imagesMap
| Constructor Detail |
|---|
public MockCentralPluginNodeView(org.eclipse.ui.forms.widgets.FormToolkit toolkit,
org.eclipse.swt.widgets.Composite page)
toolkit - the parent view's FormToolkit.page - the base Composite for this view.| Method Detail |
|---|
public java.util.Map<java.lang.String,org.eclipse.swt.graphics.Image> getImagesMap()
public org.eclipse.swt.widgets.Button createButton(org.eclipse.swt.widgets.Composite parent,
java.lang.String text,
java.lang.String toolTipText)
Button for the view.
parent - the parent Composite for the
Button.text - the Button text.toolTipText - the Button tooltip text.
Button.
public org.eclipse.swt.widgets.Label createLabel(org.eclipse.swt.widgets.Composite parent,
java.lang.String text)
Label for the view.
parent - the parent Composite for the
Label.text - the Label text.
Label.public org.eclipse.core.commands.operations.IOperationHistory getOperationHistory()
IOperationHistory of the current editor.
IOperationHistory of the current editor.public org.eclipse.core.commands.operations.IUndoContext getUndoContext()
IUndoContext of the current editor.
IUndoContext of the current editor.public void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||