Package ghidra.app.util.viewer.field
Class EolExtraCommentsOption
java.lang.Object
ghidra.app.util.viewer.field.EolExtraCommentsOption
- All Implemented Interfaces:
CustomOption
An option class that is used by the
EolExtraCommentsPropertyEditor to load and save
option settings.-
Field Summary
Fields inherited from interface ghidra.framework.options.CustomOption
CUSTOM_OPTION_CLASS_NAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleaninthashCode()booleanisShowingAutoComments(boolean hasOtherComments) booleanisShowingRefRepeatables(boolean hasOtherComments) booleanisShowingRepeatables(boolean hasOtherComments) voidreadState(GProperties properties) Read state from the given propertiesvoidsetAutoData(EolEnablement priority) voidsetAutoFunction(EolEnablement priority) voidsetRefRepeatable(EolEnablement priority) voidsetRepeatable(EolEnablement priority) voidsetUseAbbreviatedComments(boolean b) booleanvoidwriteState(GProperties properties) Write state into the given propertiesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.framework.options.CustomOption
toString
-
Constructor Details
-
EolExtraCommentsOption
public EolExtraCommentsOption()
-
-
Method Details
-
getRepeatable
-
setRepeatable
-
getRefRepeatable
-
setRefRepeatable
-
getAutoData
-
setAutoData
-
getAutoFunction
-
setAutoFunction
-
useAbbreviatedComments
public boolean useAbbreviatedComments() -
setUseAbbreviatedComments
public void setUseAbbreviatedComments(boolean b) -
alwaysShowAutoComments
public boolean alwaysShowAutoComments() -
isShowingRefRepeatables
public boolean isShowingRefRepeatables(boolean hasOtherComments) -
isShowingRepeatables
public boolean isShowingRepeatables(boolean hasOtherComments) -
isShowingAutoComments
public boolean isShowingAutoComments(boolean hasOtherComments) -
readState
Description copied from interface:CustomOptionRead state from the given properties- Specified by:
readStatein interfaceCustomOption- Parameters:
properties- container of state information
-
writeState
Description copied from interface:CustomOptionWrite state into the given properties- Specified by:
writeStatein interfaceCustomOption- Parameters:
properties- container of state information
-
hashCode
public int hashCode() -
equals
-