public final class ProjectExplorer extends CommonNavigator
CommonNavigator,
INavigatorContentService| Modifier and Type | Field and Description |
|---|---|
static int |
PROJECTS |
static String |
VIEW_ID
Provides a constant for the standard instance of the Common Navigator.
|
static int |
WORKING_SETS |
IS_LINKING_ENABLED_PROPERTY, mementoPROP_DIRTYPROP_TITLE| Constructor and Description |
|---|
ProjectExplorer() |
| Modifier and Type | Method and Description |
|---|---|
void |
createPartControl(Composite aParent)
Create the CommonViewer part control and setup the default providers as
necessary.
|
String |
getFrameToolTipText(Object element)
Returns the tool tip text for the given element.
|
int |
getRootMode() |
String |
getWorkingSetLabel() |
protected void |
handleDoubleClick(DoubleClickEvent anEvent)
Note: This method is for internal use only.
|
void |
setRootMode(int mode) |
void |
setWorkingSetLabel(String label) |
void |
updateTitle()
The superclass does not deal with the content description, handle it
here.
|
createCommonActionGroup, createCommonManager, createCommonViewer, createCommonViewerObject, dispose, doSave, doSaveAs, getActiveSaveables, getAdapter, getCommonViewer, getInitialInput, getLinkHelperService, getMemento, getNavigatorActionService, getNavigatorContentService, getSaveables, init, initListeners, isDirty, isLinkingEnabled, isSaveAsAllowed, isSaveOnCloseNeeded, saveState, selectReveal, setFocus, setLinkingEnabled, showcheckSite, getViewSite, init, setContentDescription, setInitializationData, setPartNameaddPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusyaddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListenerpublic static final String VIEW_ID
public static final int WORKING_SETS
public static final int PROJECTS
public void createPartControl(Composite aParent)
CommonNavigatorCreate the CommonViewer part control and setup the default providers as necessary.
createPartControl in interface IWorkbenchPartcreatePartControl in class CommonNavigatoraParent - the parent controlWorkbenchPart.createPartControl(org.eclipse.swt.widgets.Composite)public void updateTitle()
updateTitle in class CommonNavigatorpublic String getFrameToolTipText(Object element)
getFrameToolTipText in class CommonNavigatorelement - the elementpublic void setRootMode(int mode)
setRootMode in class CommonNavigatormode - public int getRootMode()
getRootMode in class CommonNavigatorpublic void setWorkingSetLabel(String label)
setWorkingSetLabel in class CommonNavigatorlabel - public String getWorkingSetLabel()
getWorkingSetLabel in class CommonNavigatorprotected void handleDoubleClick(DoubleClickEvent anEvent)
CommonNavigatorNote: This method is for internal use only. Clients should not call this method.
handleDoubleClick in class CommonNavigatoranEvent - Supplied by the DoubleClick listener.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.