|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.modeler.RouterConstants
public final class RouterConstants
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 |
---|
public static final java.lang.String FOREST
public static final java.lang.String RECTILINEAR
public static final java.lang.String OBLIQUE
Method Detail |
---|
public static org.eclipse.draw2d.ConnectionRouter getRouter(org.eclipse.gmf.runtime.draw2d.ui.internal.figures.ConnectionLayerEx layer, java.lang.String name)
layer
- the connection layername
- the router name
public static java.lang.String getRouterName(org.eclipse.draw2d.ConnectionRouter router)
router
- the router
|
Modelers | |||||||||
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.