From 87bda2b34d834c3a1e45ee36a198cc829ed689c5 Mon Sep 17 00:00:00 2001 From: dragonmacher <48328597+dragonmacher@users.noreply.github.com> Date: Wed, 19 Feb 2020 18:50:52 -0500 Subject: [PATCH] GT-3547 - Patch dir fix - review fixes --- .../FrontEndPlugin/Edit_Plugin_Path.htm | 48 ---- .../FrontEndPlugin/images/EditPluginPath.png | Bin 14422 -> 14610 bytes ...eadlessGhidraApplicationConfiguration.java | 17 +- .../framework/preferences/Preferences.java | 65 +----- .../ghidra/util/classfinder/ClassJar.java | 57 ++++- .../framework/main/BrowsePathPanel.java | 205 ------------------ .../framework/main/EditPluginPathDialog.java | 171 +++------------ .../java/ghidra/GhidraApplicationLayout.java | 28 ++- .../main/java/ghidra/GhidraClassLoader.java | 21 +- .../src/main/java/ghidra/GhidraLauncher.java | 32 ++- .../ghidra/GhidraTestApplicationLayout.java | 6 + .../application/ApplicationLayout.java | 22 +- .../screenshot/FrontEndPluginScreenShots.java | 1 - GhidraBuild/patch/README.txt | 7 +- 14 files changed, 149 insertions(+), 531 deletions(-) delete mode 100644 Ghidra/Framework/Project/src/main/java/ghidra/framework/main/BrowsePathPanel.java diff --git a/Ghidra/Features/Base/src/main/help/help/topics/FrontEndPlugin/Edit_Plugin_Path.htm b/Ghidra/Features/Base/src/main/help/help/topics/FrontEndPlugin/Edit_Plugin_Path.htm index c70c74ab80..783fdb5648 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/FrontEndPlugin/Edit_Plugin_Path.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/FrontEndPlugin/Edit_Plugin_Path.htm @@ -53,31 +53,6 @@ class files in that directory will be used (not jar files within that directory). If the path is a jar file, then classes within the jar file will be used.

- -

- The User Plugin Jar Directory shows the directory that contains jar files to - search. - -

- - In addition to the above, Ghidra also searches in the installation directory, in the - <home>/.ghidra/.ghidra-<version>/plugins directory, if it exists. -

- - -

- The directories noted above, as well as any found jar files, are added to Ghidra's - classpath. The search order of these paths is:

-

-
-
    -
  1. Jar files in User Plugin Jar Directory (Plugin Path preference)
  2. - -
  3. Jar files in the Ghidra plugins installation directory
  4. - -
  5. User Plugin Paths from the Plugin Paths preference
  6. -
-

Editing Plugin Paths

@@ -142,29 +117,6 @@ class that is loaded is the one that you will be using when you run Ghidra. 

-

Set the User Plugin Jar Directory

- - - -
-
    -
  1. Enter the absolute directory path in the User Plugin Jar Directory field, OR - click on the ... button to choose a directory from the file system.
  2. - -
  3. - Select the Apply or OK button. - -
      -
    • Apply applies the changes and leaves the dialog up.
    • - -
    • OK applies the changes and dismisses the dialog. 
    • -
    -
  4. -
-
-

Remove Paths