org.eclipse.gmf.codegen.gmfgen
Interface GenLink

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

public interface GenLink
extends GenCommonBase, GenLinkEnd

A representation of the model object 'Gen Link'.

The following features are supported:

See Also:
GMFGenPackage.getGenLink()

Field Summary
static String CLASS_NAME_PREFIX
           
static String CREATE_COMMAND_SUFFIX
           
static 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
 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
 String getCreateCommandClassName()
          Returns the value of the 'Create Command Class Name' attribute.
 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.
 String getReorientCommandClassName()
          Returns the value of the 'Reorient Command Class Name' attribute.
 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(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(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
 
Methods inherited from interface org.eclipse.gmf.codegen.gmfgen.GenCommonBase
getBehaviour, getBehaviour, getClassNamePrefix, getClassNameSuffux, 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
 

Field Detail

CLASS_NAME_PREFIX

static final String CLASS_NAME_PREFIX
See Also:
Constant Field Values

CREATE_COMMAND_SUFFIX

static final String CREATE_COMMAND_SUFFIX
See Also:
Constant Field Values

REORIENT_COMMAND_SUFFIX

static final String REORIENT_COMMAND_SUFFIX
See Also:
Constant Field Values
Method Detail

getDiagram

GenDiagram getDiagram()
Returns the value of the 'Diagram' container reference. It is bidirectional and its opposite is 'Links'.

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

Specified by:
getDiagram in interface GenCommonBase
Returns:
the value of the 'Diagram' container reference.
See Also:
GMFGenPackage.getGenLink_Diagram(), GenDiagram.getLinks()

getModelFacet

LinkModelFacet getModelFacet()
Returns the value of the 'Model Facet' containment reference.

If the meaning of the 'Model Facet' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Model Facet' containment reference.
See Also:
setModelFacet(LinkModelFacet), GMFGenPackage.getGenLink_ModelFacet()

setModelFacet

void setModelFacet(LinkModelFacet value)
Sets the value of the 'Model Facet' containment reference.

Parameters:
value - the new value of the 'Model Facet' containment reference.
See Also:
getModelFacet()

getLabels

org.eclipse.emf.common.util.EList<GenLinkLabel> getLabels()
Returns the value of the 'Labels' containment reference list. The list contents are of type 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...

Returns:
the value of the 'Labels' containment reference list.
See Also:
GMFGenPackage.getGenLink_Labels(), GenLinkLabel.getLink()

isOutgoingCreationAllowed

boolean isOutgoingCreationAllowed()
Returns the value of the 'Outgoing Creation Allowed' attribute. The default value is "true". Support link creation from source to target

Returns:
the value of the 'Outgoing Creation Allowed' attribute.
See Also:
setOutgoingCreationAllowed(boolean), GMFGenPackage.getGenLink_OutgoingCreationAllowed()

setOutgoingCreationAllowed

void setOutgoingCreationAllowed(boolean value)
Sets the value of the 'Outgoing Creation Allowed' attribute.

Parameters:
value - the new value of the 'Outgoing Creation Allowed' attribute.
See Also:
isOutgoingCreationAllowed()

isIncomingCreationAllowed

boolean isIncomingCreationAllowed()
Returns the value of the 'Incoming Creation Allowed' attribute. The default value is "false". Support link creation from target to source

Returns:
the value of the 'Incoming Creation Allowed' attribute.
See Also:
setIncomingCreationAllowed(boolean), GMFGenPackage.getGenLink_IncomingCreationAllowed()

setIncomingCreationAllowed

void setIncomingCreationAllowed(boolean value)
Sets the value of the 'Incoming Creation Allowed' attribute.

Parameters:
value - the new value of the 'Incoming Creation Allowed' attribute.
See Also:
isIncomingCreationAllowed()

isViewDirectionAlignedWithModel

boolean isViewDirectionAlignedWithModel()
Returns the value of the 'View Direction Aligned With Model' attribute. The default value is "true". View (Edge) will always be directed from model source to model target

Returns:
the value of the 'View Direction Aligned With Model' attribute.
See Also:
setViewDirectionAlignedWithModel(boolean), GMFGenPackage.getGenLink_ViewDirectionAlignedWithModel()

setViewDirectionAlignedWithModel

void setViewDirectionAlignedWithModel(boolean value)
Sets the value of the 'View Direction Aligned With Model' attribute.

Parameters:
value - the new value of the 'View Direction Aligned With Model' attribute.
See Also:
isViewDirectionAlignedWithModel()

getCreationConstraints

GenLinkConstraints getCreationConstraints()
Returns the value of the 'Creation Constraints' containment reference. It is bidirectional and its opposite is 'Link'. Specifies additional restrictions on link creation

Returns:
the value of the 'Creation Constraints' containment reference.
See Also:
setCreationConstraints(GenLinkConstraints), GMFGenPackage.getGenLink_CreationConstraints(), GenLinkConstraints.getLink()

setCreationConstraints

void setCreationConstraints(GenLinkConstraints value)
Sets the value of the 'Creation Constraints' containment reference.

Parameters:
value - the new value of the 'Creation Constraints' containment reference.
See Also:
getCreationConstraints()

isTargetReorientingAllowed

boolean isTargetReorientingAllowed()
Returns the value of the 'Target Reorienting Allowed' attribute. The default value is "true". Support link target reorienting

Returns:
the value of the 'Target Reorienting Allowed' attribute.
See Also:
setTargetReorientingAllowed(boolean), GMFGenPackage.getGenLink_TargetReorientingAllowed()

setTargetReorientingAllowed

void setTargetReorientingAllowed(boolean value)
Sets the value of the 'Target Reorienting Allowed' attribute.

Parameters:
value - the new value of the 'Target Reorienting Allowed' attribute.
See Also:
isTargetReorientingAllowed()

isSourceReorientingAllowed

boolean isSourceReorientingAllowed()
Returns the value of the 'Source Reorienting Allowed' attribute. The default value is "true". Support link source reorienting

Returns:
the value of the 'Source Reorienting Allowed' attribute.
See Also:
setSourceReorientingAllowed(boolean), GMFGenPackage.getGenLink_SourceReorientingAllowed()

setSourceReorientingAllowed

void setSourceReorientingAllowed(boolean value)
Sets the value of the 'Source Reorienting Allowed' attribute.

Parameters:
value - the new value of the 'Source Reorienting Allowed' attribute.
See Also:
isSourceReorientingAllowed()

getCreateCommandClassName

String getCreateCommandClassName()
Returns the value of the 'Create Command Class Name' attribute.

If the meaning of the 'Create Command Class Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Create Command Class Name' attribute.
See Also:
setCreateCommandClassName(String), GMFGenPackage.getGenLink_CreateCommandClassName()

setCreateCommandClassName

void setCreateCommandClassName(String value)
Sets the value of the 'Create Command Class Name' attribute.

Parameters:
value - the new value of the 'Create Command Class Name' attribute.
See Also:
getCreateCommandClassName()

getReorientCommandClassName

String getReorientCommandClassName()
Returns the value of the 'Reorient Command Class Name' attribute.

If the meaning of the 'Reorient Command Class Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Reorient Command Class Name' attribute.
See Also:
setReorientCommandClassName(String), GMFGenPackage.getGenLink_ReorientCommandClassName()

setReorientCommandClassName

void setReorientCommandClassName(String value)
Sets the value of the 'Reorient Command Class Name' attribute.

Parameters:
value - the new value of the 'Reorient Command Class Name' attribute.
See Also:
getReorientCommandClassName()

isTreeBranch

boolean isTreeBranch()
Returns the value of the 'Tree Branch' attribute. The default value is "true".

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

Returns:
the value of the 'Tree Branch' attribute.
See Also:
setTreeBranch(boolean), GMFGenPackage.getGenLink_TreeBranch()

setTreeBranch

void setTreeBranch(boolean value)
Sets the value of the 'Tree Branch' attribute.

Parameters:
value - the new value of the 'Tree Branch' attribute.
See Also:
isTreeBranch()

getSources

org.eclipse.emf.common.util.EList<GenLinkEnd> getSources()
Returns the value of the 'Sources' reference list. The list contents are of type GenLinkEnd.

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

Returns:
the value of the 'Sources' reference list.
See Also:
GMFGenPackage.getGenLink_Sources()

getTargets

org.eclipse.emf.common.util.EList<GenLinkEnd> getTargets()
Returns the value of the 'Targets' reference list. The list contents are of type GenLinkEnd.

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

Returns:
the value of the 'Targets' reference list.
See Also:
GMFGenPackage.getGenLink_Targets()

getAssistantSources

org.eclipse.emf.common.util.EList<GenCommonBase> getAssistantSources()
Returns link sources in this genmodel


getAssistantTargets

org.eclipse.emf.common.util.EList<GenCommonBase> getAssistantTargets()
Returns link targets in this genmodel


getCreateCommandQualifiedClassName

String getCreateCommandQualifiedClassName()


getReorientCommandQualifiedClassName

String getReorientCommandQualifiedClassName()



Copyright © 2011. All Rights Reserved.