Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.common.definition.internal
Class DefaultDefinitionLabelFactory

java.lang.Object
  extended by 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

Constructor Summary
DefaultDefinitionLabelFactory()
           
 
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
 

Constructor Detail

DefaultDefinitionLabelFactory

public DefaultDefinitionLabelFactory()
Method Detail

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 composite
definition - the definition
verbose - show parent type if definition is a PropertyDefinition
Returns:
the control presenting the label
See Also:
DefinitionLabelFactory.createLabel(Composite, Definition, boolean)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d