View Javadoc
1 package com.bonevich.erj.ui; 2 3 import org.tigris.gef.event.*; 4 import javax.swing.*; 5 import javax.swing.event.*; 6 7 public final class ErjToolBar extends JToolBar 8 implements TreeSelectionListener, GraphSelectionListener, ModeChangeListener 9 { 10 ////////////////////////////////////////////////////////// 11 // TreeSelectionListener 12 public void valueChanged(TreeSelectionEvent e) 13 { 14 Command.updateAllEnabled(); 15 } 16 17 ////////////////////////////////////////////////////////// 18 // GraphSelectionListener implementation 19 public void selectionChanged(GraphSelectionEvent e) 20 { 21 Command.updateAllEnabled(); 22 } 23 24 ////////////////////////////////////////////////////////// 25 // ModeChangeListener implementation 26 public void modeChange(ModeChangeEvent e) 27 { 28 Command.updateAllEnabled(); 29 } 30 31 } /* end class ErjToolBar */

This page was automatically generated by Maven