|
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()
-
** Generated **
-
-
Model:
- annotation="https://www.eclipse.org/gmf/2005/constraints ocl='modelFacet.oclIsTypeOf(FeatureLabelModelFacet)=true implies link.modelFacet.oclIsTypeOf(TypeLinkModelFacet)' description='Feature based link labels can only be used on link with class (TypeLinkModelFacet)'"
annotation="https://www.eclipse.org/gmf/2005/constraints ocl='let tl: TypeLinkModelFacet = link.modelFacet.oclAsType(TypeLinkModelFacet) in not tl.oclIsUndefined() implies self.getMetaFeatures()->forAll(f|f.ecoreFeature.eContainingClass.isSuperTypeOf(tl.metaClass.ecoreClass))' description='Link label meta features must be owned by the node \'Meta Class\' or its super-classes'"
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, eIsProxy, eIsSet, eResource, eSet, eUnset
|
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
|
eAdapters, eDeliver, eNotify, eSetDeliver
|
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()
-
** Generated **
-
-
Model:
- opposite="labels" required="true" transient="false"
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()
-
** Generated **
-
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()
-
** Generated **
-
-
Model:
- default="MIDDLE"
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()
-
** Generated **
-
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.
|
|