|
Generation Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GenLink
A representation of the model object 'Gen Link'.
The following features are supported:
DiagramModel FacetLabelsOutgoing Creation AllowedIncoming Creation AllowedView Direction Aligned With ModelCreation ConstraintsCreate Command Class NameReorient Command Class Name
GMFGenPackage.getGenLink()| Field Summary | |
|---|---|
static java.lang.String |
CLASS_NAME_PREFIX
|
static java.lang.String |
CREATE_COMMAND_SUFFIX
|
static java.lang.String |
REORIENT_COMMAND_SUFFIX
|
| 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 | |
|---|---|
EList<GenCommonBase> |
getAssistantSources()
Returns link sources in this genmodel |
EList<GenCommonBase> |
getAssistantTargets()
Returns link targets in this genmodel |
java.lang.String |
getCreateCommandClassName()
Returns the value of the 'Create Command Class Name' attribute |
java.lang.String |
getCreateCommandQualifiedClassName()
|
GenLinkConstraints |
getCreationConstraints()
Returns the value of the 'Creation Constraints' containment reference. |
GenDiagram |
getDiagram()
Returns the value of the 'Diagram' container reference. |
EList<GenLinkLabel> |
getLabels()
Returns the value of the 'Labels' containment reference list. |
LinkModelFacet |
getModelFacet()
Returns the value of the 'Model Facet' containment reference |
java.lang.String |
getReorientCommandClassName()
Returns the value of the 'Reorient Command Class Name' attribute |
java.lang.String |
getReorientCommandQualifiedClassName()
|
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 |
setCreateCommandClassName(java.lang.String value)
Sets the value of the ' Create Command Class Name' 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 |
setReorientCommandClassName(java.lang.String value)
Sets the value of the ' Reorient Command Class Name' 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 |
|---|
static final java.lang.String CLASS_NAME_PREFIX
static final java.lang.String CREATE_COMMAND_SUFFIX
static final java.lang.String REORIENT_COMMAND_SUFFIX
| Method Detail |
|---|
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()LinkModelFacet getModelFacet()
If the meaning of the 'Model Facet' containment reference isn't clear, there really should be more of a description here...
setModelFacet(LinkModelFacet),
GMFGenPackage.getGenLink_ModelFacet()void setModelFacet(LinkModelFacet value)
Model Facet' containment reference.
value - the new value of the 'Model Facet' containment reference.getModelFacet()EList<GenLinkLabel> 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()boolean isOutgoingCreationAllowed()
"true".
Support link creation from source to target
setOutgoingCreationAllowed(boolean),
GMFGenPackage.getGenLink_OutgoingCreationAllowed()void setOutgoingCreationAllowed(boolean value)
Outgoing Creation Allowed' attribute.
value - the new value of the 'Outgoing Creation Allowed' attribute.isOutgoingCreationAllowed()boolean isIncomingCreationAllowed()
"false".
Support link creation from target to source
setIncomingCreationAllowed(boolean),
GMFGenPackage.getGenLink_IncomingCreationAllowed()void setIncomingCreationAllowed(boolean value)
Incoming Creation Allowed' attribute.
value - the new value of the 'Incoming Creation Allowed' attribute.isIncomingCreationAllowed()boolean isViewDirectionAlignedWithModel()
"true".
View (Edge) will always be directed from model source to model target
setViewDirectionAlignedWithModel(boolean),
GMFGenPackage.getGenLink_ViewDirectionAlignedWithModel()void setViewDirectionAlignedWithModel(boolean value)
View Direction Aligned With Model' attribute.
value - the new value of the 'View Direction Aligned With Model' attribute.isViewDirectionAlignedWithModel()GenLinkConstraints getCreationConstraints()
Link'.
Specifies additional restrictions on link creation
setCreationConstraints(GenLinkConstraints),
GMFGenPackage.getGenLink_CreationConstraints(),
GenLinkConstraints.getLink()void setCreationConstraints(GenLinkConstraints value)
Creation Constraints' containment reference.
value - the new value of the 'Creation Constraints' containment reference.getCreationConstraints()java.lang.String getCreateCommandClassName()
If the meaning of the 'Create Command Class Name' attribute isn't clear, there really should be more of a description here...
setCreateCommandClassName(String),
GMFGenPackage.getGenLink_CreateCommandClassName()void setCreateCommandClassName(java.lang.String value)
Create Command Class Name' attribute.
value - the new value of the 'Create Command Class Name' attribute.getCreateCommandClassName()java.lang.String getReorientCommandClassName()
If the meaning of the 'Reorient Command Class Name' attribute isn't clear, there really should be more of a description here...
setReorientCommandClassName(String),
GMFGenPackage.getGenLink_ReorientCommandClassName()void setReorientCommandClassName(java.lang.String value)
Reorient Command Class Name' attribute.
value - the new value of the 'Reorient Command Class Name' attribute.getReorientCommandClassName()EList<GenCommonBase> getAssistantSources()
EList<GenCommonBase> getAssistantTargets()
java.lang.String getCreateCommandQualifiedClassName()
java.lang.String getReorientCommandQualifiedClassName()
|
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.