GP-3343 Getting dispose to be called on Front-end plugins

This commit is contained in:
ghidragon 2023-06-07 17:58:45 -04:00
parent adf7b18547
commit d089d3fb49
18 changed files with 174 additions and 158 deletions

View file

@ -64,17 +64,11 @@ public class DummyTool extends PluginTool {
name = typeName;
}
@Override
public void exit() {
//do nothing
}
@Override
public void close() {
if (project != null) {
project.getToolServices().closeTool(this);
}
}
@Override
@ -266,7 +260,7 @@ public class DummyTool extends PluginTool {
}
@Override
public boolean canClose(boolean isExiting) {
public boolean canClose() {
return true;
}