mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
not needed here
This commit is contained in:
@@ -132,26 +132,13 @@ public class ToolContribution extends LocalContribution implements Tool {
|
||||
}
|
||||
|
||||
|
||||
// Editor editor; // used to send error messages
|
||||
|
||||
public void init(Editor editor) {
|
||||
// try {
|
||||
// this.editor = editor;
|
||||
tool.init(editor);
|
||||
// } catch (NoSuchMethodError nsme) {
|
||||
// editor.statusError(tool.getMenuTitle() + " is not compatible with this version of Processing");
|
||||
// nsme.printStackTrace();
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
public void run() {
|
||||
// try {
|
||||
tool.run();
|
||||
// } catch (NoSuchMethodError nsme) {
|
||||
// editor.statusError(tool.getMenuTitle() + " is not compatible with this version of Processing");
|
||||
// nsme.printStackTrace();
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user