add template support for Modes

This commit is contained in:
Ben Fry
2016-08-07 08:34:42 -04:00
parent 16534d388c
commit 7e142e8b54
4 changed files with 45 additions and 7 deletions

View File

@@ -1945,13 +1945,8 @@ public class JavaEditor extends Editor {
* To initiate a "stop" action, call handleStop() instead.
*/
public void deactivateRun() {
// if (toolbar instanceof DebugToolbar){
// toolbar.deactivate(DebugToolbar.RUN);
// } else {
// toolbar.deactivate(JavaToolbar.RUN);
toolbar.deactivateRun();
debugItem.setEnabled(true);
// }
}