org.eclipse.gmf.codegen.gmfgen
Interface GenLabel

All Superinterfaces:
org.eclipse.emf.ecore.EObject, GenCommonBase, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
GenExternalNodeLabel, GenLinkLabel, GenNodeLabel
All Known Implementing Classes:
GenExternalNodeLabelImpl, GenLabelImpl, GenLinkLabelImpl, GenNodeLabelImpl

public interface GenLabel
extends GenCommonBase

A representation of the model object 'Gen Label'. Label on diagram

The following features are supported:

See Also:
GMFGenPackage.getGenLabel()
Generated
Model Properties:
abstract="true"

Field Summary
static String CLASS_NAME_PREFIX
           
 
Fields inherited from interface org.eclipse.gmf.codegen.gmfgen.GenCommonBase
DEFAULT_CLASS_NAME_PREFIX, EDIT_PART_SUFFIX, ITEM_SEMANTIC_EDIT_POLICY_SUFFIX, NOTATION_VIEW_FACTORY_SUFFIX
 
Method Summary
 org.eclipse.emf.common.util.EList<org.eclipse.emf.codegen.ecore.genmodel.GenFeature> getMetaFeatures()
          Returns structural features that provide label content
 LabelModelFacet getModelFacet()
          Returns the value of the 'Model Facet' containment reference.
 boolean isElementIcon()
          Returns the value of the 'Element Icon' attribute.
 boolean isReadOnly()
          Returns the value of the 'Read Only' attribute.
 void setElementIcon(boolean value)
          Sets the value of the 'Element Icon' attribute.
 void setModelFacet(LabelModelFacet value)
          Sets the value of the 'Model Facet' containment reference.
 void setReadOnly(boolean value)
          Sets the value of the 'Read Only' attribute.
 
Methods inherited from interface org.eclipse.gmf.codegen.gmfgen.GenCommonBase
getBehaviour, getBehaviour, getClassNamePrefix, getClassNameSuffux, getDiagram, getDiagramRunTimeClass, getEditPartClassName, getEditPartQualifiedClassName, getElementType, getItemSemanticEditPolicyClassName, getItemSemanticEditPolicyQualifiedClassName, getLayoutType, getNotationViewFactoryClassName, getNotationViewFactoryQualifiedClassName, getStyles, getUniqueIdentifier, getViewmap, getVisualID, isSansDomain, setDiagramRunTimeClass, setEditPartClassName, setElementType, setItemSemanticEditPolicyClassName, setNotationViewFactoryClassName, setViewmap, setVisualID
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

CLASS_NAME_PREFIX

static final String CLASS_NAME_PREFIX
See Also:
Constant Field Values
Method Detail

isReadOnly

boolean isReadOnly()
Returns the value of the 'Read Only' attribute.

If the meaning of the 'Read Only' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Read Only' attribute.
See Also:
setReadOnly(boolean), GMFGenPackage.getGenLabel_ReadOnly()
Generated
Model Properties:

setReadOnly

void setReadOnly(boolean value)
Sets the value of the 'Read Only' attribute.

Parameters:
value - the new value of the 'Read Only' attribute.
See Also:
isReadOnly()
Generated

isElementIcon

boolean isElementIcon()
Returns the value of the 'Element Icon' attribute.

If the meaning of the 'Element Icon' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Element Icon' attribute.
See Also:
setElementIcon(boolean), GMFGenPackage.getGenLabel_ElementIcon()
Generated
Model Properties:

setElementIcon

void setElementIcon(boolean value)
Sets the value of the 'Element Icon' attribute.

Parameters:
value - the new value of the 'Element Icon' attribute.
See Also:
isElementIcon()
Generated

getModelFacet

LabelModelFacet getModelFacet()
Returns the value of the 'Model Facet' containment reference.

If the meaning of the 'Model Facet' containment reference isn't clear, there really should be more of a description here...

If model facet is not specified then custom parser should be provided for the label

Returns:
the value of the 'Model Facet' containment reference.
See Also:
setModelFacet(LabelModelFacet), GMFGenPackage.getGenLabel_ModelFacet()
Generated
Model Properties:
containment="true"

setModelFacet

void setModelFacet(LabelModelFacet value)
Sets the value of the 'Model Facet' containment reference.

Parameters:
value - the new value of the 'Model Facet' containment reference.
See Also:
getModelFacet()
Generated

getMetaFeatures

org.eclipse.emf.common.util.EList<org.eclipse.emf.codegen.ecore.genmodel.GenFeature> getMetaFeatures()
Returns structural features that provide label content

Generated
Model Properties:
kind="operation"


Copyright © 2012. All Rights Reserved.