|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.project.UDIGEvent
net.refractions.udig.project.EditManagerEvent
public class EditManagerEvent
An event indicating a attribute of the EditManager has changed.
Field Summary | |
---|---|
static int |
EDIT_FEATURE
Indicates the current edit feature has changed. |
static int |
EDIT_LAYER
Indicates the current edit layer has changed. |
static int |
POST_COMMIT
Indicates the transaction has been committed. |
static int |
POST_ROLLBACK
Indicates the transaction has been rolledback. |
static int |
PRE_COMMIT
Indicates the transaction is about to be committed. |
static int |
PRE_ROLLBACK
Indicates the transaction is about to be rolledback. |
static int |
SELECTED_LAYER
Indicates the currently selected layer has changed. |
Fields inherited from class net.refractions.udig.project.UDIGEvent |
---|
newValue, oldValue, source |
Constructor Summary | |
---|---|
EditManagerEvent(IEditManager source,
int type,
java.lang.Object newValue,
java.lang.Object oldValue)
Construct EditManagerEvent . |
Method Summary | |
---|---|
IEditManager |
getSource()
Gets the source of the event. |
int |
getType()
Gets the type of the event. |
Methods inherited from class net.refractions.udig.project.UDIGEvent |
---|
getNewValue, getOldValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EDIT_FEATURE
public static final int EDIT_LAYER
public static final int SELECTED_LAYER
public static final int PRE_COMMIT
public static final int POST_COMMIT
public static final int PRE_ROLLBACK
public static final int POST_ROLLBACK
Constructor Detail |
---|
public EditManagerEvent(IEditManager source, int type, java.lang.Object newValue, java.lang.Object oldValue)
EditManagerEvent
.
source
- the object that raised the event.type
- the type of event this object represents.newValue
- the new value, if this applies.oldValue
- the old value, if this applies.Method Detail |
---|
public int getType()
EDIT_FEATURE
,
EDIT_LAYER
,
SELECTED_LAYER
,
PRE_COMMIT
,
POST_COMMIT
,
PRE_ROLLBACK
,
POST_ROLLBACK
public IEditManager getSource()
UDIGEvent
getSource
in class UDIGEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |