예제 #1
0
 void this_componentShown(ComponentEvent e) {
   try {
     // If the first internal frame is not a TaskWindow (as may be the
     // case in
     // custom workbenches), #updateEnabledState() will ensure that the
     // cursor-tool buttons are disabled. [Jon Aquino]
     toolBar.updateEnabledState();
   } catch (Throwable t) {
     handleThrowable(t);
   }
 }
예제 #2
0
 public void fenceChanged() {
   toolBar.updateEnabledState();
 }
예제 #3
0
 public void zoomChanged(Envelope modelEnvelope) {
   toolBar.updateEnabledState();
 }
예제 #4
0
 public void selectionChanged() {
   toolBar.updateEnabledState();
 }