Skip to content

Commit cf81bd3

Browse files
committed
Fix help - fix deprecated Symbol API
1 parent 5207d70 commit cf81bd3

5 files changed

Lines changed: 6 additions & 93 deletions

File tree

codecut-gui/src/main/help/help/TOC_Source.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<tocroot>
5252
<!-- Uncomment and adjust fields to add help topic to help system's Table of Contents
5353
<tocref id="Ghidra Functionality">
54-
<tocdef id="HelpAnchor" text="My Feature" target="help/topics/my_topic/help.html" />
54+
<tocdef id="CodeCut" text="CodeCut Plugin" target="help/topics/codecut/help.html" />
5555
</tocref>
5656
-->
5757
</tocroot>

codecut-gui/src/main/help/help/shared/Frontpage.css

Lines changed: 0 additions & 64 deletions
This file was deleted.

codecut-gui/src/main/help/help/topics/skeleton/help.html

Lines changed: 0 additions & 23 deletions
This file was deleted.

codecut-gui/src/main/java/codecutguiv2/CodeCutGUIPlugin.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888
import ghidra.program.model.symbol.*;
8989
import ghidra.program.util.ChangeManager;
9090
import ghidra.program.util.DefinedDataIterator;
91-
import ghidra.program.util.DefinedStringIterator;
9291
import ghidra.program.util.GhidraProgramUtilities;
9392
import ghidra.program.util.ProgramChangeRecord;
9493
import ghidra.program.util.ProgramLocation;

codecut-gui/src/main/java/codecutguiv2/SymbolPlaceholder.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,11 @@ public int getReferenceCount() {
152152
throw new UnsupportedOperationException();
153153
}
154154

155-
@Override
156-
public boolean hasMultipleReferences() {
157-
throw new UnsupportedOperationException();
158-
}
155+
//removed in Ghidra 12.0 - doubt we need this in 11.4?
156+
//@Override
157+
//public boolean hasMultipleReferences() {
158+
// throw new UnsupportedOperationException();
159+
//}
159160

160161
@Override
161162
public boolean hasReferences() {

0 commit comments

Comments
 (0)