public class EditionLocator extends Object
Constructor and Description |
---|
EditionLocator() |
Modifier and Type | Method and Description |
---|---|
static CADToolAdapter |
getCADToolAdapter()
Gets the CADToolAdapter of the currently active view
or the CADToolAdapter of the view that was active more
recently (if there is not an active view)
or null if there never was an active view
|
static CADToolAdapter |
getCADToolAdapter(FLayer layer)
Gets the CADToolAdapter of the view where the layer is
contained or null if the layer is not found
in any view
|
static CADToolAdapter |
getCADToolAdapter(ViewDocument view)
Gets the CADToolAdapter of the view
or null if the view not found in the current project
|
static IEditionManager |
getEditionManager()
Gets the edition manager of the currently active view
or the edition manager of the view that was active more
recently (if there is not an active view)
or null if there never was an active view.
|
static IEditionManager |
getEditionManager(FLayer layer)
Gets the EditionManager of the view where the layer is
contained or null if the layer is not found
in any view
|
static IEditionManager |
getEditionManager(ViewDocument view)
Gets the EditionManager of the ViewDocument or null if the view is not found
in the project
|
public static CADToolAdapter getCADToolAdapter(FLayer layer)
layer
- public static CADToolAdapter getCADToolAdapter(ViewDocument view)
public static CADToolAdapter getCADToolAdapter()
public static IEditionManager getEditionManager()
public static IEditionManager getEditionManager(FLayer layer)
layer
- public static IEditionManager getEditionManager(ViewDocument view)
viewDocument
-