|
|
|
@ -103,7 +103,6 @@ public class TemplateTreePane extends JPanel implements FileOperations {
|
|
|
|
|
if (reportletsTree.getPathForLocation(evt.getX(), evt.getY()) != null && evt.getClickCount() == 2) { |
|
|
|
|
openFile(); |
|
|
|
|
} |
|
|
|
|
DesignerFrameFileDealerPane.getInstance().refreshRightToolBarBy(reportletsTree.getSelectedFileNode()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@ -121,6 +120,7 @@ public class TemplateTreePane extends JPanel implements FileOperations {
|
|
|
|
|
if (toolBarStateChangeListener != null) { |
|
|
|
|
toolBarStateChangeListener.stateChange(); |
|
|
|
|
} |
|
|
|
|
DesignerFrameFileDealerPane.getInstance().refreshRightToolBarBy(reportletsTree.getSelectedFileNode()); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
// lx: add mouse listener
|
|
|
|
|