Package ghidra.program.util
Interface DataTypeArchiveChangeManager
-
- All Known Implementing Classes:
DataTypeArchiveDB
public interface DataTypeArchiveChangeManager
Interface to define event types and the method to generate an event within Program.
-
-
Field Summary
Fields Modifier and Type Field Description static int
DOCR_CATEGORY_ADDED
Category was added.static int
DOCR_CATEGORY_MOVED
Category was moved.static int
DOCR_CATEGORY_REMOVED
Category was removed.static int
DOCR_CATEGORY_RENAMED
Category was renamed.static int
DOCR_CUSTOM_FORMAT_ADDED
A custom format for a data type was added.static int
DOCR_CUSTOM_FORMAT_REMOVED
A custom format for a data type was removed.static int
DOCR_DATA_TYPE_ADDED
Data type was added to a category.static int
DOCR_DATA_TYPE_CHANGED
Data type was updated.static int
DOCR_DATA_TYPE_MOVED
Data type was moved to another category.static int
DOCR_DATA_TYPE_REMOVED
Data type was removed from a category.static int
DOCR_DATA_TYPE_RENAMED
Data Type was renamed.static int
DOCR_DATA_TYPE_REPLACED
Data type was replaced in a category.static int
DOCR_DATA_TYPE_SETTING_CHANGED
The settings on a data type were updated.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setChanged(int type, java.lang.Object oldValue, java.lang.Object newValue)
Mark the state of a Data Type Archive as having changed and generate the event of the specified type.void
setObjChanged(int type, java.lang.Object affectedObj, java.lang.Object oldValue, java.lang.Object newValue)
Mark the state of a Data Type Archive as having changed and generate the event of the specified type.
-
-
-
Field Detail
-
DOCR_CATEGORY_ADDED
static final int DOCR_CATEGORY_ADDED
Category was added.- See Also:
- Constant Field Values
-
DOCR_CATEGORY_REMOVED
static final int DOCR_CATEGORY_REMOVED
Category was removed.- See Also:
- Constant Field Values
-
DOCR_CATEGORY_RENAMED
static final int DOCR_CATEGORY_RENAMED
Category was renamed.- See Also:
- Constant Field Values
-
DOCR_CATEGORY_MOVED
static final int DOCR_CATEGORY_MOVED
Category was moved.- See Also:
- Constant Field Values
-
DOCR_DATA_TYPE_ADDED
static final int DOCR_DATA_TYPE_ADDED
Data type was added to a category.- See Also:
- Constant Field Values
-
DOCR_DATA_TYPE_REMOVED
static final int DOCR_DATA_TYPE_REMOVED
Data type was removed from a category.- See Also:
- Constant Field Values
-
DOCR_DATA_TYPE_RENAMED
static final int DOCR_DATA_TYPE_RENAMED
Data Type was renamed.- See Also:
- Constant Field Values
-
DOCR_DATA_TYPE_MOVED
static final int DOCR_DATA_TYPE_MOVED
Data type was moved to another category.- See Also:
- Constant Field Values
-
DOCR_DATA_TYPE_CHANGED
static final int DOCR_DATA_TYPE_CHANGED
Data type was updated.- See Also:
- Constant Field Values
-
DOCR_DATA_TYPE_SETTING_CHANGED
static final int DOCR_DATA_TYPE_SETTING_CHANGED
The settings on a data type were updated.- See Also:
- Constant Field Values
-
DOCR_DATA_TYPE_REPLACED
static final int DOCR_DATA_TYPE_REPLACED
Data type was replaced in a category.- See Also:
- Constant Field Values
-
DOCR_CUSTOM_FORMAT_ADDED
static final int DOCR_CUSTOM_FORMAT_ADDED
A custom format for a data type was added.- See Also:
- Constant Field Values
-
DOCR_CUSTOM_FORMAT_REMOVED
static final int DOCR_CUSTOM_FORMAT_REMOVED
A custom format for a data type was removed.- See Also:
- Constant Field Values
-
-
Method Detail
-
setChanged
void setChanged(int type, java.lang.Object oldValue, java.lang.Object newValue)
Mark the state of a Data Type Archive as having changed and generate the event of the specified type. Any or all parameters may be null.- Parameters:
type
- event typeoldValue
- original value or an Object that is related to the eventnewValue
- new value or an Object that is related to the the event
-
setObjChanged
void setObjChanged(int type, java.lang.Object affectedObj, java.lang.Object oldValue, java.lang.Object newValue)
Mark the state of a Data Type Archive as having changed and generate the event of the specified type. Any or all parameters may be null.- Parameters:
type
- event typeaffectedObj
- object that is the subject of the eventoldValue
- original value or an Object that is related to the eventnewValue
- new value or an Object that is related to the the event
-
-