|
13 | 13 | import qupath.fx.prefs.controlsfx.PropertyItemBuilder; |
14 | 14 | import qupath.lib.common.Version; |
15 | 15 | import qupath.lib.gui.QuPathGUI; |
16 | | -import qupath.lib.gui.extensions.GitHubProject; |
17 | 16 | import qupath.lib.gui.extensions.QuPathExtension; |
18 | 17 | import qupath.lib.gui.prefs.PathPrefs; |
19 | 18 |
|
|
33 | 32 | * /resources/META-INF/services/qupath.lib.gui.extensions.QuPathExtension |
34 | 33 | * </pre> |
35 | 34 | */ |
36 | | -public class DemoExtension implements QuPathExtension, GitHubProject { |
| 35 | +public class DemoExtension implements QuPathExtension { |
37 | 36 | // TODO: add and modify strings to this resource bundle as needed |
38 | 37 | /** |
39 | 38 | * A resource bundle containing all the text used by the extension. This may be useful for translation to other languages. |
@@ -61,16 +60,6 @@ public class DemoExtension implements QuPathExtension, GitHubProject { |
61 | 60 | */ |
62 | 61 | private static final Version EXTENSION_QUPATH_VERSION = Version.parse("v0.5.0"); |
63 | 62 |
|
64 | | - /** |
65 | | - * GitHub repo that your extension can be found at. |
66 | | - * This makes it easier for users to find updates to your extension. |
67 | | - * If you don't want to support this feature, you can remove |
68 | | - * references to GitHubRepo and GitHubProject from your extension. |
69 | | - * TODO: define this |
70 | | - */ |
71 | | - private static final GitHubRepo EXTENSION_REPOSITORY = GitHubRepo.create( |
72 | | - EXTENSION_NAME, "myGitHubUserName", "myGitHubRepo"); |
73 | | - |
74 | 63 | /** |
75 | 64 | * Flag whether the extension is already installed (might not be needed... but we'll do it anyway) |
76 | 65 | */ |
@@ -182,9 +171,4 @@ public String getDescription() { |
182 | 171 | public Version getQuPathVersion() { |
183 | 172 | return EXTENSION_QUPATH_VERSION; |
184 | 173 | } |
185 | | - |
186 | | - @Override |
187 | | - public GitHubRepo getRepository() { |
188 | | - return EXTENSION_REPOSITORY; |
189 | | - } |
190 | 174 | } |
0 commit comments