|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gmf.runtime.draw2d.ui.mapmode.MapModeUtil
public class MapModeUtil
| Constructor Summary | |
|---|---|
MapModeUtil()
|
|
| Method Summary | |
|---|---|
static IMapMode |
getMapMode()
|
static IMapMode |
getMapMode(IFigure fig)
Parses up the figure containment hierarchy to find a IFigure that implements
the IMapMode interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapModeUtil()
| Method Detail |
|---|
public static IMapMode getMapMode(IFigure fig)
IFigure that implements
the IMapMode interface. This is then returned as the coordinate system
mapping.
fig - IFigure to retrieve the IMapMode object from.
IMapMode for the given IFigure object.public static IMapMode getMapMode()
IMapMode that is the default coordinate system mapping supported
by the diagram infrastructure. Editors that support a different coordinate system,
should use the @link{ MapModeUtil#getMapMode( IFigure fig) } to retrieve the
appropriate IMapMode for their specific Editor.
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.