eu.esdihumboldt.hale.ui.common.definition.internal
Class DefaultDefinitionLabelFactory
java.lang.Object
eu.esdihumboldt.hale.ui.common.definition.internal.DefaultDefinitionLabelFactory
- All Implemented Interfaces:
- DefinitionLabelFactory
public class DefaultDefinitionLabelFactory
- extends Object
- implements DefinitionLabelFactory
Default definition label factory
- Author:
- Simon Templer
- Partner:
- 01 / Fraunhofer Institute for Computer Graphics Research
Method Summary |
org.eclipse.swt.widgets.Control |
createLabel(org.eclipse.swt.widgets.Composite parent,
Definition<?> definition,
boolean verbose)
Create a label for the given definition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDefinitionLabelFactory
public DefaultDefinitionLabelFactory()
createLabel
public org.eclipse.swt.widgets.Control createLabel(org.eclipse.swt.widgets.Composite parent,
Definition<?> definition,
boolean verbose)
- Description copied from interface:
DefinitionLabelFactory
- Create a label for the given definition
- Specified by:
createLabel
in interface DefinitionLabelFactory
- Parameters:
parent
- the parent compositedefinition
- the definitionverbose
- show parent type if definition is a
PropertyDefinition
- Returns:
- the control presenting the label
- See Also:
DefinitionLabelFactory.createLabel(Composite, Definition, boolean)
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d