| org.netbeans.modules.navigator.NavigatorTC
NavigatorTC | final public class NavigatorTC extends TopComponent (Code) | | Navigator TopComponent. Simple visual envelope for navigator graphics
content. Behaviour is delegated and separated into NavigatorController.
author: Dafe Simonek |
componentClosed | public void componentClosed()(Code) | | Just delegates to controller
|
componentOpened | public void componentOpened()(Code) | | Just delegates to controller
|
getHelpCtx | public HelpCtx getHelpCtx()(Code) | | Defines nagivator Help ID
|
getInstance | final public static NavigatorTC getInstance()(Code) | | Singleton accessor, finds instance in winsys structures
|
getLookup | public Lookup getLookup()(Code) | | Combines default Lookup of TC with lookup from active navigator
panel.
|
getPanelSelector | public JComboBox getPanelSelector()(Code) | | Returns combo box, UI for selecting proper panels
|
getPanels | public List<NavigatorPanel> getPanels()(Code) | | List of panels currently contained in navigator component.
List of NavigatorPanel instances or null if navigator is empty |
getPersistenceType | public int getPersistenceType()(Code) | | |
getSelectedPanel | public NavigatorPanel getSelectedPanel()(Code) | | Returns panel currently selected.
Panel currently selected or null if navigator is empty |
getUndoRedo | public UndoRedo getUndoRedo()(Code) | | |
privateGetInstance | final public static NavigatorTC privateGetInstance()(Code) | | Singleton intance accessor, to be used only from module's layer.xml
file, winsys section and as fallback from getInstance().
Please don't call directly otherwise.
|
requestFocus | public void requestFocus()(Code) | | |
requestFocusInWindow | public boolean requestFocusInWindow()(Code) | | Overriden to pass focus directly into content panel
|
setPanels | public void setPanels(List<NavigatorPanel> panels)(Code) | | Sets content of navigator to given panels, selecting the first one
|
setSelectedPanel | public void setSelectedPanel(NavigatorPanel panel)(Code) | | Shows given navigator panel's component
|
|
|