no message
This commit is contained in:
@@ -17,13 +17,13 @@ public class FileGraphTree extends DataTree {
|
||||
return GraphTreeCellRenderer.class;
|
||||
}
|
||||
@Override
|
||||
public Current getCurrent() {
|
||||
public Current currentName() {
|
||||
return Current.FileGraphElement;
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentObject() throws Exception {
|
||||
Global.mainModule.getFile().form.EventsOff();
|
||||
Object o = Global.mainModule.get(getCurrent());
|
||||
Object o = Global.mainModule.get(currentName());
|
||||
Global.mainModule.getFile().form.getEditor().gotoLine((o instanceof FileObjectWithMessages) ? (((FileObjectWithMessages) o).line) : 1);
|
||||
Global.mainModule.getFile().form.ShowMessages();
|
||||
Global.mainModule.getFile().form.EventsOn();
|
||||
|
||||
@@ -34,7 +34,7 @@ public class VersionsTree extends DataTree {
|
||||
return RendererProjectVersion.class;
|
||||
}
|
||||
@Override
|
||||
public Current getCurrent() {
|
||||
public Current currentName() {
|
||||
return Current.Version;
|
||||
}
|
||||
public void SelectCurrentProject() {
|
||||
@@ -48,7 +48,7 @@ public class VersionsTree extends DataTree {
|
||||
public void LeftMouseAction1() {
|
||||
if (Global.versions_multiselection) {
|
||||
// только если есть режим выбора версий.
|
||||
Object element = Global.mainModule.get(getCurrent());
|
||||
Object element = Global.mainModule.get(currentName());
|
||||
if ((element instanceof Selectable)) {
|
||||
((Selectable) element).SwitchSelection();
|
||||
updateUI();
|
||||
|
||||
@@ -14,12 +14,12 @@ public class InlineTree extends SelectableTree {
|
||||
return SelectionTreeCellRenderer.class;
|
||||
}
|
||||
@Override
|
||||
public Current getCurrent() {
|
||||
public Current currentName() {
|
||||
return Current.InlineGraphElement;
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentObject() {
|
||||
Object o = Global.mainModule.get(getCurrent());
|
||||
Object o = Global.mainModule.get(currentName());
|
||||
if (o instanceof FileObject) {
|
||||
((FileObject) o).Show(false);
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ public class InlineTree2 extends SelectableTree {
|
||||
return SelectionTreeCellRenderer.class;
|
||||
}
|
||||
@Override
|
||||
public Current getCurrent() {
|
||||
public Current currentName() {
|
||||
return Current.InlineGraphElement2;
|
||||
}
|
||||
@Override
|
||||
@@ -23,7 +23,7 @@ public class InlineTree2 extends SelectableTree {
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentObject() {
|
||||
Object o = Global.mainModule.get(getCurrent());
|
||||
Object o = Global.mainModule.get(currentName());
|
||||
if (o instanceof FileObject) {
|
||||
((FileObject) o).Show(false);
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ public class IncludesTree extends SelectableTree {
|
||||
super(Global.mainModule.getProject().includes_root);
|
||||
}
|
||||
@Override
|
||||
public Current getCurrent() {
|
||||
public Current currentName() {
|
||||
return Current.IncludeGraphElement;
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user