Modelers

org.topcased.modeler
Class RouterConstants

java.lang.Object
  extended by org.topcased.modeler.RouterConstants

public final class RouterConstants
extends java.lang.Object

Constants that are used for the router management


Field Summary
static java.lang.String FOREST
          Router usually for "inheritance-like" connections
static java.lang.String OBLIQUE
          Direct connection that can be stick to vertical or horizontal lines
static java.lang.String RECTILINEAR
          Router with rectilinear segments that can be moved
 
Method Summary
static org.eclipse.draw2d.ConnectionRouter getRouter(org.eclipse.gmf.runtime.draw2d.ui.internal.figures.ConnectionLayerEx layer, java.lang.String name)
          Create a router from its nam
static java.lang.String getRouterName(org.eclipse.draw2d.ConnectionRouter router)
          Returns the router name for the given router
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FOREST

public static final java.lang.String FOREST
Router usually for "inheritance-like" connections

See Also:
Constant Field Values

RECTILINEAR

public static final java.lang.String RECTILINEAR
Router with rectilinear segments that can be moved

See Also:
Constant Field Values

OBLIQUE

public static final java.lang.String OBLIQUE
Direct connection that can be stick to vertical or horizontal lines

See Also:
Constant Field Values
Method Detail

getRouter

public static org.eclipse.draw2d.ConnectionRouter getRouter(org.eclipse.gmf.runtime.draw2d.ui.internal.figures.ConnectionLayerEx layer,
                                                            java.lang.String name)
Create a router from its nam

Parameters:
layer - the connection layer
name - the router name
Returns:
the router

getRouterName

public static java.lang.String getRouterName(org.eclipse.draw2d.ConnectionRouter router)
Returns the router name for the given router

Parameters:
router - the router
Returns:
the router name

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.