1 19 20 package org.netbeans.core.spi.multiview; 21 22 import java.util.TooManyListenersException ; 23 import javax.swing.Action ; 24 import javax.swing.JComponent ; 25 import javax.swing.JToolBar ; 26 import org.openide.awt.UndoRedo; 27 import org.openide.util.Lookup; 28 29 34 public interface MultiViewElement { 35 36 39 JComponent getVisualRepresentation (); 40 41 45 JComponent getToolbarRepresentation (); 46 47 69 Action [] getActions(); 70 71 75 Lookup getLookup(); 76 77 78 83 void componentOpened(); 84 85 89 void componentClosed(); 90 91 94 void componentShowing(); 95 96 99 void componentHidden(); 100 101 106 void componentActivated (); 107 108 114 void componentDeactivated (); 115 116 122 UndoRedo getUndoRedo(); 123 124 125 133 void setMultiViewCallback (MultiViewElementCallback callback); 134 135 142 CloseOperationState canCloseElement(); 143 144 145 } | Popular Tags |