|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openjump.core.apitools.ToolToMakeYourLifeEasier
org.openjump.core.apitools.PlugInContextTools
public class PlugInContextTools
Class to easily extract a PlugInContext object out of diverse kinds of objects.
| Constructor Summary | |
|---|---|
PlugInContextTools()
|
|
| Method Summary | |
|---|---|
static PlugInContext |
getContext(AbstractCursorTool tool)
Get the PlugIn context out of an AbstractCursorTool. |
static PlugInContext |
getContext(LayerViewPanel layerViewPanel)
Experimental: Get the PlugIn context out of an LayerViewPanel. |
static PlugInContext |
getContext(PlugInContext oldContext)
Get the PlugIn context out of a PlugInContext (get a refreshed "snapshot"). |
static PlugInContext |
getContext(ToolboxDialog toolbox)
Get the PlugIn context out of a toolbox. |
static PlugInContext |
getContext(WorkbenchContext wbContext)
Get the PlugIn context out of a WorkbenchContext. |
static PlugInContext |
getContext(WorkbenchFrame wbFrame)
Get the PlugIn context out of a WorkbenchFrame. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlugInContextTools()
| Method Detail |
|---|
public static PlugInContext getContext(ToolboxDialog toolbox)
public static PlugInContext getContext(WorkbenchContext wbContext)
public static PlugInContext getContext(WorkbenchFrame wbFrame)
public static PlugInContext getContext(PlugInContext oldContext)
public static PlugInContext getContext(AbstractCursorTool tool)
public static PlugInContext getContext(LayerViewPanel layerViewPanel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||