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
FieldsModifier and TypeFieldDescriptionstatic final intCategory was added.static final intCategory was moved.static final intCategory was removed.static final intCategory was renamed.static final intA custom format for a data type was added.static final intA custom format for a data type was removed.static final intData type was added to a category.static final intData type was updated.static final intData type was moved to another category.static final intData type was removed from a category.static final intData Type was renamed.static final intData type was replaced in a category.static final intThe settings on a data type were updated. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetChanged(int type, Object oldValue, Object newValue) Mark the state of a Data Type Archive as having changed and generate the event of the specified type.voidsetObjChanged(int type, Object affectedObj, Object oldValue, Object newValue) Mark the state of a Data Type Archive as having changed and generate the event of the specified type.
-
Field Details
-
DOCR_CATEGORY_ADDED
static final int DOCR_CATEGORY_ADDEDCategory was added.- See Also:
-
DOCR_CATEGORY_REMOVED
static final int DOCR_CATEGORY_REMOVEDCategory was removed.- See Also:
-
DOCR_CATEGORY_RENAMED
static final int DOCR_CATEGORY_RENAMEDCategory was renamed.- See Also:
-
DOCR_CATEGORY_MOVED
static final int DOCR_CATEGORY_MOVEDCategory was moved.- See Also:
-
DOCR_DATA_TYPE_ADDED
static final int DOCR_DATA_TYPE_ADDEDData type was added to a category.- See Also:
-
DOCR_DATA_TYPE_REMOVED
static final int DOCR_DATA_TYPE_REMOVEDData type was removed from a category.- See Also:
-
DOCR_DATA_TYPE_RENAMED
static final int DOCR_DATA_TYPE_RENAMEDData Type was renamed.- See Also:
-
DOCR_DATA_TYPE_MOVED
static final int DOCR_DATA_TYPE_MOVEDData type was moved to another category.- See Also:
-
DOCR_DATA_TYPE_CHANGED
static final int DOCR_DATA_TYPE_CHANGEDData type was updated.- See Also:
-
DOCR_DATA_TYPE_SETTING_CHANGED
static final int DOCR_DATA_TYPE_SETTING_CHANGEDThe settings on a data type were updated.- See Also:
-
DOCR_DATA_TYPE_REPLACED
static final int DOCR_DATA_TYPE_REPLACEDData type was replaced in a category.- See Also:
-
DOCR_CUSTOM_FORMAT_ADDED
static final int DOCR_CUSTOM_FORMAT_ADDEDA custom format for a data type was added.- See Also:
-
DOCR_CUSTOM_FORMAT_REMOVED
static final int DOCR_CUSTOM_FORMAT_REMOVEDA custom format for a data type was removed.- See Also:
-
-
Method Details
-
setChanged
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
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
-