IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.notation
Interface RoutingStyle

All Superinterfaces:
EObject, Notifier, Style
All Known Subinterfaces:
ConnectorStyle, UMLConnectorStyle

public interface RoutingStyle
extends Style

A representation of the model object 'Routing Style'.

The routing style is a style to be installed on edges to guide their routing

The following features are supported:

See Also:
NotationPackage.getRoutingStyle()

Method Summary
 JumpLinkStatus getJumpLinkStatus()
          Returns the value of the 'Jump Link Status' attribute.
 JumpLinkType getJumpLinkType()
          Returns the value of the 'Jump Link Type' attribute.
 Routing getRouting()
          Returns the value of the 'Routing' attribute.
 Smoothness getSmoothness()
          Returns the value of the 'Smoothness' attribute.
 boolean isAvoidObstructions()
          Returns the value of the 'Avoid Obstructions' attribute.
 boolean isClosestDistance()
          Returns the value of the 'Closest Distance' attribute.
 boolean isJumpLinksReverse()
          Returns the value of the 'Jump Links Reverse' attribute.
 void setAvoidObstructions(boolean value)
          Sets the value of the 'Avoid Obstructions' attribute
 void setClosestDistance(boolean value)
          Sets the value of the 'Closest Distance' attribute
 void setJumpLinksReverse(boolean value)
          Sets the value of the 'Jump Links Reverse' attribute
 void setJumpLinkStatus(JumpLinkStatus value)
          Sets the value of the 'Jump Link Status' attribute
 void setJumpLinkType(JumpLinkType value)
          Sets the value of the 'Jump Link Type' attribute
 void setRouting(Routing value)
          Sets the value of the 'Routing' attribute
 void setSmoothness(Smoothness value)
          Sets the value of the 'Smoothness' 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
 

Method Detail

getRouting

public Routing getRouting()
Returns the value of the 'Routing' attribute. The default value is "Manual". The literals are from the enumeration Routing.

The property specifies the desired routing algorithm

Returns:
the value of the 'Routing' attribute.
See Also:
Routing, setRouting(Routing), NotationPackage.getRoutingStyle_Routing()

setRouting

public void setRouting(Routing value)
Sets the value of the 'Routing' attribute.

The property specifies the desired routing algorithm

Parameters:
value - the new value of the 'Routing' attribute.
See Also:
Routing, getRouting()

getSmoothness

public Smoothness getSmoothness()
Returns the value of the 'Smoothness' attribute. The default value is "None". The literals are from the enumeration Smoothness.

The property specifies the desired smoothing for the edge'e line

Returns:
the value of the 'Smoothness' attribute.
See Also:
Smoothness, setSmoothness(Smoothness), NotationPackage.getRoutingStyle_Smoothness()

setSmoothness

public void setSmoothness(Smoothness value)
Sets the value of the 'Smoothness' attribute.

The property specifies the desired smoothing for the edge'e line

Parameters:
value - the new value of the 'Smoothness' attribute.
See Also:
Smoothness, getSmoothness()

isAvoidObstructions

public boolean isAvoidObstructions()
Returns the value of the 'Avoid Obstructions' attribute. The default value is "false".

The property specifies whether the edge's router should avoid obstructions

Returns:
the value of the 'Avoid Obstructions' attribute.
See Also:
setAvoidObstructions(boolean), NotationPackage.getRoutingStyle_AvoidObstructions()

setAvoidObstructions

public void setAvoidObstructions(boolean value)
Sets the value of the 'Avoid Obstructions' attribute.

The property specifies whether the edge's router should avoid obstructions

Parameters:
value - the new value of the 'Avoid Obstructions' attribute.
See Also:
isAvoidObstructions()

isClosestDistance

public boolean isClosestDistance()
Returns the value of the 'Closest Distance' attribute. The default value is "false".

The property specifies whether the edge's router should should choose closest distances

Returns:
the value of the 'Closest Distance' attribute.
See Also:
setClosestDistance(boolean), NotationPackage.getRoutingStyle_ClosestDistance()

setClosestDistance

public void setClosestDistance(boolean value)
Sets the value of the 'Closest Distance' attribute.

The property specifies whether the edge's router should should choose closest distances

Parameters:
value - the new value of the 'Closest Distance' attribute.
See Also:
isClosestDistance()

getJumpLinkStatus

public JumpLinkStatus getJumpLinkStatus()
Returns the value of the 'Jump Link Status' attribute. The default value is "None". The literals are from the enumeration JumpLinkStatus.

The property specifies the status of the jump links used in the routing algorithm

Returns:
the value of the 'Jump Link Status' attribute.
See Also:
JumpLinkStatus, setJumpLinkStatus(JumpLinkStatus), NotationPackage.getRoutingStyle_JumpLinkStatus()

setJumpLinkStatus

public void setJumpLinkStatus(JumpLinkStatus value)
Sets the value of the 'Jump Link Status' attribute.

The property specifies the status of the jump links used in the routing algorithm

Parameters:
value - the new value of the 'Jump Link Status' attribute.
See Also:
JumpLinkStatus, getJumpLinkStatus()

getJumpLinkType

public JumpLinkType getJumpLinkType()
Returns the value of the 'Jump Link Type' attribute. The default value is "Semicircle". The literals are from the enumeration JumpLinkType.

The property specifies the type of the jump links used in the routing algorithm

Returns:
the value of the 'Jump Link Type' attribute.
See Also:
JumpLinkType, setJumpLinkType(JumpLinkType), NotationPackage.getRoutingStyle_JumpLinkType()

setJumpLinkType

public void setJumpLinkType(JumpLinkType value)
Sets the value of the 'Jump Link Type' attribute.

The property specifies the type of the jump links used in the routing algorithm

Parameters:
value - the new value of the 'Jump Link Type' attribute.
See Also:
JumpLinkType, getJumpLinkType()

isJumpLinksReverse

public boolean isJumpLinksReverse()
Returns the value of the 'Jump Links Reverse' attribute. The default value is "false".

The property specifies whether the jump links used in the routing algorithm should be reveresed

Returns:
the value of the 'Jump Links Reverse' attribute.
See Also:
setJumpLinksReverse(boolean), NotationPackage.getRoutingStyle_JumpLinksReverse()

setJumpLinksReverse

public void setJumpLinksReverse(boolean value)
Sets the value of the 'Jump Links Reverse' attribute.

The property specifies whether the jump links used in the routing algorithm should be reveresed

Parameters:
value - the new value of the 'Jump Links Reverse' attribute.
See Also:
isJumpLinksReverse()

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.