org.eclipse.gmf.codegen.gmfgen
Interface GenLinkLabel

All Superinterfaces:
org.eclipse.emf.ecore.EObject, GenCommonBase, GenLabel, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
GenLinkLabelImpl

public interface GenLinkLabel
extends GenLabel

A representation of the model object 'Gen Link Label'. Label attached to link

The following features are supported:

See Also:
GMFGenPackage.getGenLinkLabel()

Field Summary
 
Fields inherited from interface org.eclipse.gmf.codegen.gmfgen.GenLabel
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
 LinkLabelAlignment getAlignment()
          Returns the value of the 'Alignment' attribute.
 GenLink getLink()
          Returns the value of the 'Link' container reference.
 void setAlignment(LinkLabelAlignment value)
          Sets the value of the 'Alignment' attribute.
 void setLink(GenLink value)
          Sets the value of the 'Link' container reference.
 
Methods inherited from interface org.eclipse.gmf.codegen.gmfgen.GenLabel
getMetaFeatures, getModelFacet, isElementIcon, isReadOnly, setElementIcon, setModelFacet, setReadOnly
 
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
 

Method Detail

getLink

GenLink getLink()
Returns the value of the 'Link' container reference. It is bidirectional and its opposite is 'Labels'.

If the meaning of the 'Link' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Link' container reference.
See Also:
setLink(GenLink), GMFGenPackage.getGenLinkLabel_Link(), GenLink.getLabels()

setLink

void setLink(GenLink value)
Sets the value of the 'Link' container reference.

Parameters:
value - the new value of the 'Link' container reference.
See Also:
getLink()

getAlignment

LinkLabelAlignment getAlignment()
Returns the value of the 'Alignment' attribute. The default value is "MIDDLE". The literals are from the enumeration LinkLabelAlignment.

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

Returns:
the value of the 'Alignment' attribute.
See Also:
LinkLabelAlignment, setAlignment(LinkLabelAlignment), GMFGenPackage.getGenLinkLabel_Alignment()

setAlignment

void setAlignment(LinkLabelAlignment value)
Sets the value of the 'Alignment' attribute.

Parameters:
value - the new value of the 'Alignment' attribute.
See Also:
LinkLabelAlignment, getAlignment()


Copyright © 2011. All Rights Reserved.