Package ghidra.app.util.viewer.field
Class NamespaceWrappedOption
- java.lang.Object
-
- ghidra.app.util.viewer.field.NamespaceWrappedOption
-
- All Implemented Interfaces:
CustomOption
public class NamespaceWrappedOption extends java.lang.Object implements CustomOption
An option class that allows the user to edit a related group of options pertaining to namespace display.
-
-
Field Summary
-
Fields inherited from interface ghidra.framework.options.CustomOption
CUSTOM_OPTION_CLASS_NAME_KEY
-
-
Constructor Summary
Constructors Constructor Description NamespaceWrappedOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getLocalPrefixText()
int
hashCode()
boolean
isShowLibraryInNamespace()
boolean
isShowLocalNamespace()
boolean
isShowNonLocalNamespace()
boolean
isUseLocalPrefixOverride()
void
readState(SaveState saveState)
Concrete subclass of WrappedOption should read all of its state from the given saveState object.void
setLocalPrefixText(java.lang.String localPrefixText)
void
setShowLibraryInNamespace(boolean showLibraryInNamespace)
void
setShowLocalNamespace(boolean showLocalNamespace)
void
setShowNonLocalNamespace(boolean showNonLocalNamespace)
void
setUseLocalPrefixOverride(boolean useLocalPrefixOverride)
void
writeState(SaveState saveState)
Concrete subclass of WrappedOption should write all of its state to the given saveState object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ghidra.framework.options.CustomOption
toString
-
-
-
-
Method Detail
-
isShowLocalNamespace
public boolean isShowLocalNamespace()
-
isShowNonLocalNamespace
public boolean isShowNonLocalNamespace()
-
getLocalPrefixText
public java.lang.String getLocalPrefixText()
-
setShowLocalNamespace
public void setShowLocalNamespace(boolean showLocalNamespace)
-
setShowNonLocalNamespace
public void setShowNonLocalNamespace(boolean showNonLocalNamespace)
-
setUseLocalPrefixOverride
public void setUseLocalPrefixOverride(boolean useLocalPrefixOverride)
-
isUseLocalPrefixOverride
public boolean isUseLocalPrefixOverride()
-
setLocalPrefixText
public void setLocalPrefixText(java.lang.String localPrefixText)
-
isShowLibraryInNamespace
public boolean isShowLibraryInNamespace()
-
setShowLibraryInNamespace
public void setShowLibraryInNamespace(boolean showLibraryInNamespace)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
readState
public void readState(SaveState saveState)
Description copied from interface:CustomOption
Concrete subclass of WrappedOption should read all of its state from the given saveState object.- Specified by:
readState
in interfaceCustomOption
- Parameters:
saveState
- container of state information
-
writeState
public void writeState(SaveState saveState)
Description copied from interface:CustomOption
Concrete subclass of WrappedOption should write all of its state to the given saveState object.- Specified by:
writeState
in interfaceCustomOption
- Parameters:
saveState
- container of state information
-
-