Java Code Examples for org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel#setMaximumSize()
The following examples show how to use
org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel#setMaximumSize() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ScriptedTaskEditPart.java From scava with Eclipse Public License 2.0 | 4 votes |
/** * @generated */ private void createContents() { fFigureScriptedTaskLabelFigure = new WrappingLabel(); fFigureScriptedTaskLabelFigure.setText("ScriptedTask"); fFigureScriptedTaskLabelFigure .setMaximumSize(new Dimension(getMapMode().DPtoLP(10000), getMapMode().DPtoLP(50))); this.add(fFigureScriptedTaskLabelFigure); fScriptedTaskOutputVariablesCompartmentFigure = new RectangleFigure(); fScriptedTaskOutputVariablesCompartmentFigure.setOutline(false); this.add(fScriptedTaskOutputVariablesCompartmentFigure); }
Example 2
Source File: TypeEditPart.java From scava with Eclipse Public License 2.0 | 4 votes |
/** * @generated */ private void createContents() { fFigureTypeLabelFigure = new WrappingLabel(); fFigureTypeLabelFigure.setText("Type"); fFigureTypeLabelFigure.setMaximumSize(new Dimension(getMapMode().DPtoLP(10000), getMapMode().DPtoLP(50))); this.add(fFigureTypeLabelFigure); fTypeFieldsCompartmentFigure = new RectangleFigure(); fTypeFieldsCompartmentFigure.setOutline(false); this.add(fTypeFieldsCompartmentFigure); fTypeFieldsCompartmentFigure.setLayoutManager(new StackLayout()); }
Example 3
Source File: LanguageEditPart.java From scava with Eclipse Public License 2.0 | 4 votes |
/** * @generated */ private void createContents() { fFigureLanguageLabelFigure = new WrappingLabel(); fFigureLanguageLabelFigure.setText("Language"); fFigureLanguageLabelFigure .setMaximumSize(new Dimension(getMapMode().DPtoLP(10000), getMapMode().DPtoLP(50))); this.add(fFigureLanguageLabelFigure); fLanguageParametersCompartmentFigure = new RectangleFigure(); fLanguageParametersCompartmentFigure.setOutline(false); this.add(fLanguageParametersCompartmentFigure); fLanguageParametersCompartmentFigure.setLayoutManager(new StackLayout()); }