|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.swt.inplaceediting.SwtInplaceEditorProvider
A SWT based implementation of the
InplaceEditorProvider interface.
| Constructor Summary | |
SwtInplaceEditorProvider(org.eclipse.swt.widgets.Composite parent)
Creates a new SwtInplaceEditorProvider |
|
| Method Summary | |
InplaceEditor |
getComboEditor(Label2D label,
BaseComposite bComposite,
GraphPanel gPanel,
Attribute attr)
Returns the InplaceEditor for editing a label's
constraint. |
InplaceEditor |
getLabelEditor(Label2D label,
BaseComposite bComposite,
GraphPanel gPanel,
CompositeTable table)
Returns the InplaceEditor for editing labels. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SwtInplaceEditorProvider(org.eclipse.swt.widgets.Composite parent)
SwtInplaceEditorProvider
parent - the parent Composite to add this editor's
gui control to.| Method Detail |
public InplaceEditor getLabelEditor(Label2D label,
BaseComposite bComposite,
GraphPanel gPanel,
CompositeTable table)
InplaceEditorProviderInplaceEditor for editing labels. To get the
visual representation, i.e. usually a Swing or
SWT based TextArea, use
InplaceEditor#getControl().
getLabelEditor in interface InplaceEditorProviderlabel - Primitive to apply inplace editing tobComposite - Composite to apply inplace editing togPanel - contains the underlying element which requests inplace
editingtable - The composite table containing the label or null
InplaceEditor instance for editing labels
public InplaceEditor getComboEditor(Label2D label,
BaseComposite bComposite,
GraphPanel gPanel,
Attribute attr)
InplaceEditorProviderInplaceEditor for editing a label's
constraint. To get the visual representation, i.e. usually a
Swing or SWT based Combo,
use InplaceEditor#getControl().
getComboEditor in interface InplaceEditorProviderlabel - Primitive to apply inplace editing tobComposite - Composite to apply inplace editing togPanel - contains the underlying element which requests inplace
editingattr - Attribute that holds the constraints
InplaceEditor instance for constraint editing
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||