|
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 ConstraintsTarget Reorienting AllowedSource Reorienting AllowedCreate Command Class NameReorient Command Class NameTree BranchSourcesTargets
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
|
| Method Summary | |
|---|---|
org.eclipse.emf.common.util.EList<GenCommonBase> |
getAssistantSources()
Returns link sources in this genmodel |
org.eclipse.emf.common.util.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. |
org.eclipse.emf.common.util.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()
|
org.eclipse.emf.common.util.EList<GenLinkEnd> |
getSources()
Returns the value of the 'Sources' reference list. |
org.eclipse.emf.common.util.EList<GenLinkEnd> |
getTargets()
Returns the value of the 'Targets' reference list. |
boolean |
isIncomingCreationAllowed()
Returns the value of the 'Incoming Creation Allowed' attribute. |
boolean |
isOutgoingCreationAllowed()
Returns the value of the 'Outgoing Creation Allowed' attribute. |
boolean |
isSourceReorientingAllowed()
Returns the value of the 'Source Reorienting Allowed' attribute. |
boolean |
isTargetReorientingAllowed()
Returns the value of the 'Target Reorienting Allowed' attribute. |
boolean |
isTreeBranch()
Returns the value of the 'Tree Branch' 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 |
setSourceReorientingAllowed(boolean value)
Sets the value of the ' Source Reorienting Allowed' attribute |
void |
setTargetReorientingAllowed(boolean value)
Sets the value of the ' Target Reorienting Allowed' attribute |
void |
setTreeBranch(boolean value)
Sets the value of the ' Tree Branch' attribute |
void |
setViewDirectionAlignedWithModel(boolean value)
Sets the value of the ' View Direction Aligned With Model' attribute |
| Methods inherited from interface org.eclipse.gmf.codegen.gmfgen.GenLinkEnd |
|---|
getGenIncomingLinks, getGenOutgoingLinks |
| 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()org.eclipse.emf.common.util.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()boolean isTargetReorientingAllowed()
"true".
Support link target reorienting
setTargetReorientingAllowed(boolean),
GMFGenPackage.getGenLink_TargetReorientingAllowed()void setTargetReorientingAllowed(boolean value)
Target Reorienting Allowed' attribute.
value - the new value of the 'Target Reorienting Allowed' attribute.isTargetReorientingAllowed()boolean isSourceReorientingAllowed()
"true".
Support link source reorienting
setSourceReorientingAllowed(boolean),
GMFGenPackage.getGenLink_SourceReorientingAllowed()void setSourceReorientingAllowed(boolean value)
Source Reorienting Allowed' attribute.
value - the new value of the 'Source Reorienting Allowed' attribute.isSourceReorientingAllowed()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()boolean isTreeBranch()
"true".
If the meaning of the 'Tree Branch' attribute isn't clear, there really should be more of a description here...
setTreeBranch(boolean),
GMFGenPackage.getGenLink_TreeBranch()void setTreeBranch(boolean value)
Tree Branch' attribute.
value - the new value of the 'Tree Branch' attribute.isTreeBranch()org.eclipse.emf.common.util.EList<GenLinkEnd> getSources()
GenLinkEnd.
If the meaning of the 'Sources' reference list isn't clear, there really should be more of a description here...
GMFGenPackage.getGenLink_Sources()org.eclipse.emf.common.util.EList<GenLinkEnd> getTargets()
GenLinkEnd.
If the meaning of the 'Targets' reference list isn't clear, there really should be more of a description here...
GMFGenPackage.getGenLink_Targets()org.eclipse.emf.common.util.EList<GenCommonBase> getAssistantSources()
org.eclipse.emf.common.util.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.