some stuff disabled for java tabs

This commit is contained in:
Manindra Moharana
2014-07-28 10:55:03 +05:30
parent e3ae98e8ae
commit 75a527f97b
4 changed files with 17 additions and 7 deletions

View File

@@ -2066,6 +2066,7 @@ public class ASTGenerator {
}
public void handleShowUsage(){
if(editor.hasJavaTabs) return; // show usage disabled if java tabs
log("Last clicked word:" + lastClickedWord);
if(lastClickedWord == null && editor.ta.getSelectedText() == null){
editor.statusMessage("Highlight the class/function/variable name first"
@@ -2319,6 +2320,7 @@ public class ASTGenerator {
protected SketchOutline sketchOutline;
protected void showSketchOutline(){
if(editor.hasJavaTabs) return; // sketch outline disabled if java tabs
sketchOutline = new SketchOutline(codeTree, errorCheckerService);
sketchOutline.show();
}
@@ -2403,6 +2405,7 @@ public class ASTGenerator {
}
public void handleRefactor(){
if(editor.hasJavaTabs) return; // refactoring disabled if java tabs
log("Last clicked word:" + lastClickedWord);
if(lastClickedWord == null && editor.ta.getSelectedText() == null){
editor.statusMessage("Highlight the class/function/variable name first",