Package ghidra.program.util
Interface DataTypeArchiveChangeManager
-
- All Known Implementing Classes:
DataTypeArchiveDB
public interface DataTypeArchiveChangeManagerInterface to define event types and the method to generate an event within Program.
-
-
Field Summary
Fields Modifier and Type Field Description static intDOCR_CATEGORY_ADDEDCategory was added.static intDOCR_CATEGORY_MOVEDCategory was moved.static intDOCR_CATEGORY_REMOVEDCategory was removed.static intDOCR_CATEGORY_RENAMEDCategory was renamed.static intDOCR_CUSTOM_FORMAT_ADDEDA custom format for a data type was added.static intDOCR_CUSTOM_FORMAT_REMOVEDA custom format for a data type was removed.static intDOCR_DATA_TYPE_ADDEDData type was added to a category.static intDOCR_DATA_TYPE_CHANGEDData type was updated.static intDOCR_DATA_TYPE_MOVEDData type was moved to another category.static intDOCR_DATA_TYPE_REMOVEDData type was removed from a category.static intDOCR_DATA_TYPE_RENAMEDData Type was renamed.static intDOCR_DATA_TYPE_REPLACEDData type was replaced in a category.static intDOCR_DATA_TYPE_SETTING_CHANGEDThe settings on a data type were updated.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetChanged(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.voidsetObjChanged(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
-
-