Package ghidra.program.model.data
Class DataTypeManagerChangeListenerAdapter
java.lang.Object
ghidra.program.model.data.DataTypeManagerChangeListenerAdapter
- All Implemented Interfaces:
DataTypeManagerChangeListener
public class DataTypeManagerChangeListenerAdapter
extends Object
implements DataTypeManagerChangeListener
Adapter for a Category change listener.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcategoryAdded(DataTypeManager dtm, CategoryPath path) Notification when category is added.voidcategoryMoved(DataTypeManager dtm, CategoryPath oldPath, CategoryPath newPath) Notification when a category is reparented to new category.voidcategoryRemoved(DataTypeManager dtm, CategoryPath path) Notification when a category is removed.voidcategoryRenamed(DataTypeManager dtm, CategoryPath oldPath, CategoryPath newPath) Notification when category is renamed.voiddataTypeAdded(DataTypeManager dtm, DataTypePath path) Notification when a data type is added to a categoryvoiddataTypeChanged(DataTypeManager dtm, DataTypePath path) Notification when data type is changed.voiddataTypeMoved(DataTypeManager dtm, DataTypePath oldPath, DataTypePath newPath) Notification when a data type is moved.voiddataTypeRemoved(DataTypeManager dtm, DataTypePath path) Notification when data type is removed.voiddataTypeRenamed(DataTypeManager dtm, DataTypePath oldPath, DataTypePath newPath) Notification when data type is renamed.voiddataTypeReplaced(DataTypeManager dtm, DataTypePath oldPath, DataTypePath newPath, DataType newDataType) Notification when a data type has been replaced.voidfavoritesChanged(DataTypeManager dtm, DataTypePath path, boolean isFavorite) Notification the favorite status of a datatype has changedvoidprogramArchitectureChanged(DataTypeManager dataTypeManager) Notification that the program architecture associated with the specified dataTypeManager has changed.voidsourceArchiveAdded(DataTypeManager dataTypeManager, SourceArchive dataTypeSource) Notification that the information for a source archive has been added.voidsourceArchiveChanged(DataTypeManager dataTypeManager, SourceArchive dataTypeSource) Notification that the information for a particular source archive has changed.
-
Constructor Details
-
DataTypeManagerChangeListenerAdapter
public DataTypeManagerChangeListenerAdapter()
-
-
Method Details
-
categoryAdded
Description copied from interface:DataTypeManagerChangeListenerNotification when category is added.- Specified by:
categoryAddedin interfaceDataTypeManagerChangeListener- Parameters:
dtm- the dataType managerpath- the categoryPath of the newly added category.
-
categoryMoved
Description copied from interface:DataTypeManagerChangeListenerNotification when a category is reparented to new category.- Specified by:
categoryMovedin interfaceDataTypeManagerChangeListener- Parameters:
dtm- data type manager associated with the categoryoldPath- the path of the category before it was moved.newPath- the path of the category after it was moved.
-
categoryRemoved
Description copied from interface:DataTypeManagerChangeListenerNotification when a category is removed.- Specified by:
categoryRemovedin interfaceDataTypeManagerChangeListener- Parameters:
dtm- data type manager associated with the categorypath- the categoryPath of the category that was removed.
-
categoryRenamed
Description copied from interface:DataTypeManagerChangeListenerNotification when category is renamed.- Specified by:
categoryRenamedin interfaceDataTypeManagerChangeListener- Parameters:
dtm- data type manager associated with the categoryoldPath- the path of the category before it was renamed.newPath- the path of the category after it was renamed. This path will only differ in the last segment of the path.
-
dataTypeAdded
Description copied from interface:DataTypeManagerChangeListenerNotification when a data type is added to a category- Specified by:
dataTypeAddedin interfaceDataTypeManagerChangeListener- Parameters:
dtm- data type manager for the given category paths.path- the DataTypePath of the newly added datatype.
-
dataTypeChanged
Description copied from interface:DataTypeManagerChangeListenerNotification when data type is changed.- Specified by:
dataTypeChangedin interfaceDataTypeManagerChangeListener- Parameters:
dtm- data type manager for the given category paths.path- the path of the datatype that changed.
-
dataTypeMoved
Description copied from interface:DataTypeManagerChangeListenerNotification when a data type is moved.- Specified by:
dataTypeMovedin interfaceDataTypeManagerChangeListener- Parameters:
dtm- data type manager for the given category paths.oldPath- the path of the datatype before it was moved.newPath- the path of the datatype after it was moved.
-
dataTypeRemoved
Description copied from interface:DataTypeManagerChangeListenerNotification when data type is removed.- Specified by:
dataTypeRemovedin interfaceDataTypeManagerChangeListener- Parameters:
dtm- data type manager for the given category paths.path- the DataTypePath of the removed datatype.
-
dataTypeRenamed
Description copied from interface:DataTypeManagerChangeListenerNotification when data type is renamed.- Specified by:
dataTypeRenamedin interfaceDataTypeManagerChangeListener- Parameters:
dtm- data type manager for the given category paths.oldPath- the path of the datatype before it was renamed.newPath- the path of the datatype after it was renamed.
-
dataTypeReplaced
public void dataTypeReplaced(DataTypeManager dtm, DataTypePath oldPath, DataTypePath newPath, DataType newDataType) Description copied from interface:DataTypeManagerChangeListenerNotification when a data type has been replaced.- Specified by:
dataTypeReplacedin interfaceDataTypeManagerChangeListener- Parameters:
dtm- data type manager for the given category paths.oldPath- the path of the datatype that was replaced.newPath- the path of the datatype that replaced the existing datatype.newDataType- the new dataType that replaced the old dataType
-
favoritesChanged
Description copied from interface:DataTypeManagerChangeListenerNotification the favorite status of a datatype has changed- Specified by:
favoritesChangedin interfaceDataTypeManagerChangeListener- Parameters:
dtm- data type manager for the given category paths.path- the DataTypePath of the datatype had its favorite status changed.isFavorite- reflects the current favorite status of the datatype.
-
sourceArchiveAdded
Description copied from interface:DataTypeManagerChangeListenerNotification that the information for a source archive has been added. This happens when a data type from the indicated source archive is added to this data type manager.- Specified by:
sourceArchiveAddedin interfaceDataTypeManagerChangeListener- Parameters:
dataTypeManager- data type manager referring to the given source information.dataTypeSource- the new data type source information
-
sourceArchiveChanged
Description copied from interface:DataTypeManagerChangeListenerNotification that the information for a particular source archive has changed. Typically, this would be because it was renamed or moved.- Specified by:
sourceArchiveChangedin interfaceDataTypeManagerChangeListener- Parameters:
dataTypeManager- data type manager referring to the given source information.dataTypeSource- the changed data type source information
-
programArchitectureChanged
Description copied from interface:DataTypeManagerChangeListenerNotification that the program architecture associated with the specified dataTypeManager has changed.- Specified by:
programArchitectureChangedin interfaceDataTypeManagerChangeListener- Parameters:
dataTypeManager- data type manager referring to the given source information.
-