Class Draw2DTextInputEditpartDelegate
java.lang.Object
org.csstudio.opibuilder.widgets.editparts.Draw2DTextInputEditpartDelegate
- All Implemented Interfaces:
ITextInputEditPartDelegate
The editpart delegate for draw2d text input widget.
-
Constructor Summary
ConstructorDescriptionDraw2DTextInputEditpartDelegate
(TextInputEditpart editpart, TextInputModel model, TextInputFigure superFigure) -
Method Summary
Modifier and TypeMethodDescriptionvoid
org.eclipse.draw2d.IFigure
protected void
outputText
(String newValue) Call this method when user hit Enter or Ctrl+Enter for multiline input.void
void
-
Constructor Details
-
Draw2DTextInputEditpartDelegate
public Draw2DTextInputEditpartDelegate(TextInputEditpart editpart, TextInputModel model, TextInputFigure superFigure) - Parameters:
superFigure
- the figure created by super.doCreateFigure().
-
-
Method Details
-
doCreateFigure
public org.eclipse.draw2d.IFigure doCreateFigure()- Specified by:
doCreateFigure
in interfaceITextInputEditPartDelegate
-
outputText
Call this method when user hit Enter or Ctrl+Enter for multiline input. -
createEditPolicies
public void createEditPolicies()- Specified by:
createEditPolicies
in interfaceITextInputEditPartDelegate
-
registerPropertyChangeHandlers
public void registerPropertyChangeHandlers()- Specified by:
registerPropertyChangeHandlers
in interfaceITextInputEditPartDelegate
-
updatePropSheet
public void updatePropSheet()- Specified by:
updatePropSheet
in interfaceITextInputEditPartDelegate
-