|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.tools.edit.EditBlackboardUtil
public class EditBlackboardUtil
To delete soon EditManager will have an editblackboard.
Field Summary | |
---|---|
static java.lang.String |
EDIT_BLACKBOARD_KEY
|
static EditBlackboard |
EMPTY_BLACKBOARD
|
Constructor Summary | |
---|---|
EditBlackboardUtil()
|
Method Summary | |
---|---|
static void |
disableLayerEvents()
Disables the listeners listening to layers for edit events. |
static void |
doneListening()
Disables listeners so that they will not get events. |
static ILayer |
findEditLayer(IToolContext context)
Returns the selectedLayer or if it is not editable or not visible then the edit layer will be |
static EditBlackboard |
getEditBlackboard(IToolContext context,
ILayer layer2)
|
static void |
openDataChangedDialog(ILayer layer,
Envelope dirtyArea)
|
static void |
resetBlackboards(IMap map)
clears edit blackboard for all layers in a given map... |
static void |
updateFeatures(ILayer layer,
IProgressMonitor monitor,
Envelope dirtyArea)
Updates the features in the "dirty Area" so that the EditGeom s reflect the actual state of the stored features. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final EditBlackboard EMPTY_BLACKBOARD
public static final java.lang.String EDIT_BLACKBOARD_KEY
Constructor Detail |
---|
public EditBlackboardUtil()
Method Detail |
---|
public static EditBlackboard getEditBlackboard(IToolContext context, ILayer layer2)
public static void openDataChangedDialog(ILayer layer, Envelope dirtyArea)
public static void updateFeatures(ILayer layer, IProgressMonitor monitor, Envelope dirtyArea)
EditGeom
s reflect the actual state of the stored features.
Any changes to the EditGeom
will be lost.
layer
- that needs to be updated.monitor
- progress monitordirtyArea
- area that needs to be updated.public static void doneListening()
(it enables listeners).
public static void disableLayerEvents()
enableLayerChangeEventListener(ILayer, EditBlackboard)
public static ILayer findEditLayer(IToolContext context)
public static void resetBlackboards(IMap map)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |