|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractEdgeCreationEditPolicy
org.topcased.modeler.sysml.internalblockdiagram.policies.ConnectorEdgeCreationEditPolicy
public class ConnectorEdgeCreationEditPolicy
Connector edge creation
Constructor Summary | |
---|---|
ConnectorEdgeCreationEditPolicy()
|
Method Summary | |
---|---|
protected boolean |
arePropertiesCompatible(org.eclipse.uml2.uml.Property p1,
org.eclipse.uml2.uml.Property p2)
Verify if two properties are compatible - The two properties must be of the same kind - If the two properties are flow ports, they must be compatible |
protected boolean |
checkCommand(org.eclipse.gef.commands.Command command)
|
protected boolean |
checkEdge(GraphEdge edge)
|
protected boolean |
checkSource(GraphElement source)
|
protected boolean |
checkTargetForSource(GraphElement source,
GraphElement target)
|
protected CreateTypedEdgeCommand |
createCommand(org.eclipse.gef.EditDomain domain,
GraphEdge edge,
GraphElement source)
|
protected SourceTargetData |
getSourceTargetData(GraphElement source,
GraphElement target)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectorEdgeCreationEditPolicy()
Method Detail |
---|
protected CreateTypedEdgeCommand createCommand(org.eclipse.gef.EditDomain domain, GraphEdge edge, GraphElement source)
org.topcased.modeler.edit.policies.AbstractEdgeCreationEditPolicy#createCommand(org.eclipse.gef.EditDomain,
org.topcased.modeler.di.model.GraphEdge,
org.topcased.modeler.di.model.GraphElement)
protected boolean checkEdge(GraphEdge edge)
org.topcased.modeler.edit.policies.AbstractEdgeCreationEditPolicy#checkEdge(org.topcased.modeler.di.model.GraphEdge)
protected boolean checkSource(GraphElement source)
org.topcased.modeler.edit.policies.AbstractEdgeCreationEditPolicy#checkSource(org.topcased.modeler.di.model.GraphElement)
protected boolean checkTargetForSource(GraphElement source, GraphElement target)
org.topcased.modeler.edit.policies.AbstractEdgeCreationEditPolicy#checkTargetForSource(org.topcased.modeler.di.model.GraphElement,
org.topcased.modeler.di.model.GraphElement)
protected boolean checkCommand(org.eclipse.gef.commands.Command command)
org.topcased.modeler.edit.policies.AbstractEdgeCreationEditPolicy#checkCommand(org.eclipse.gef.commands.Command)
protected SourceTargetData getSourceTargetData(GraphElement source, GraphElement target)
org.topcased.modeler.edit.policies.AbstractEdgeCreationEditPolicy#getSourceTargetData(org.topcased.modeler.di.model.GraphElement,
org.topcased.modeler.di.model.GraphElement)
protected boolean arePropertiesCompatible(org.eclipse.uml2.uml.Property p1, org.eclipse.uml2.uml.Property p2)
p1
- the first propertyp2
- the second property
|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.