|
Generation Framework | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Gen Link'.
The following features are supported:
DiagramModel FacetLabelsOutgoing Creation AllowedIncoming Creation AllowedView Direction Aligned With ModelCreation Constraints
GMFGenPackage.getGenLink()| Field Summary | |
static java.lang.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 | |
GenLinkConstraints |
getCreationConstraints()
Returns the value of the 'Creation Constraints' containment reference. |
GenDiagram |
getDiagram()
Returns the value of the 'Diagram' container reference. |
EList |
getLabels()
Returns the value of the 'Labels' containment reference list. |
LinkModelFacet |
getModelFacet()
Returns the value of the 'Model Facet' containment reference |
EList |
getSources()
Returns link sources in this genmodel |
EList |
getTargets()
Returns link targets in this genmodel |
boolean |
isIncomingCreationAllowed()
Returns the value of the 'Incoming Creation Allowed' attribute. |
boolean |
isOutgoingCreationAllowed()
Returns the value of the 'Outgoing Creation Allowed' attribute. |
boolean |
isViewDirectionAlignedWithModel()
Returns the value of the 'View Direction Aligned With Model' attribute. |
void |
setCreationConstraints(GenLinkConstraints value)
Sets the value of the ' Creation Constraints' containment reference |
void |
setIncomingCreationAllowed(boolean value)
Sets the value of the ' Incoming Creation Allowed' attribute |
void |
setModelFacet(LinkModelFacet value)
Sets the value of the ' Model Facet' containment reference |
void |
setOutgoingCreationAllowed(boolean value)
Sets the value of the ' Outgoing Creation Allowed' attribute |
void |
setViewDirectionAlignedWithModel(boolean value)
Sets the value of the ' View Direction Aligned With Model' attribute |
| 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 |
| Field Detail |
public static final java.lang.String CLASS_NAME_PREFIX
| Method Detail |
public GenDiagram getDiagram()
Links'.
If the meaning of the 'Diagram' container reference isn't clear, there really should be more of a description here...
getDiagram in interface GenCommonBaseGMFGenPackage.getGenLink_Diagram(),
GenDiagram.getLinks()public LinkModelFacet getModelFacet()
If the meaning of the 'Model Facet' containment reference isn't clear, there really should be more of a description here...
GenLink.setModelFacet(LinkModelFacet),
GMFGenPackage.getGenLink_ModelFacet()public void setModelFacet(LinkModelFacet value)
Model Facet' containment reference.
value - the new value of the 'Model Facet' containment reference.GenLink.getModelFacet()public EList getLabels()
GenLinkLabel.
It is bidirectional and its opposite is 'Link'.
If the meaning of the 'Labels' containment reference list isn't clear, there really should be more of a description here...
GMFGenPackage.getGenLink_Labels(),
GenLinkLabel.getLink()public boolean isOutgoingCreationAllowed()
"true".
Support link creation from source to target
GenLink.setOutgoingCreationAllowed(boolean),
GMFGenPackage.getGenLink_OutgoingCreationAllowed()public void setOutgoingCreationAllowed(boolean value)
Outgoing Creation Allowed' attribute.
value - the new value of the 'Outgoing Creation Allowed' attribute.GenLink.isOutgoingCreationAllowed()public boolean isIncomingCreationAllowed()
"false".
Support link creation from target to source
GenLink.setIncomingCreationAllowed(boolean),
GMFGenPackage.getGenLink_IncomingCreationAllowed()public void setIncomingCreationAllowed(boolean value)
Incoming Creation Allowed' attribute.
value - the new value of the 'Incoming Creation Allowed' attribute.GenLink.isIncomingCreationAllowed()public boolean isViewDirectionAlignedWithModel()
"true".
View (Edge) will always be directed from model source to model target
GenLink.setViewDirectionAlignedWithModel(boolean),
GMFGenPackage.getGenLink_ViewDirectionAlignedWithModel()public void setViewDirectionAlignedWithModel(boolean value)
View Direction Aligned With Model' attribute.
value - the new value of the 'View Direction Aligned With Model' attribute.GenLink.isViewDirectionAlignedWithModel()public GenLinkConstraints getCreationConstraints()
Link'.
Specifies additional restrictions on link creation
GenLink.setCreationConstraints(GenLinkConstraints),
GMFGenPackage.getGenLink_CreationConstraints(),
GenLinkConstraints.getLink()public void setCreationConstraints(GenLinkConstraints value)
Creation Constraints' containment reference.
value - the new value of the 'Creation Constraints' containment reference.GenLink.getCreationConstraints()public EList getSources()
public EList getTargets()
|
Generation Framework | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.