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, memento
PROP_DIRTY
PROP_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, show
checkSite, getViewSite, init, setContentDescription, setInitializationData, setPartName
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
public static final String VIEW_ID
public static final int WORKING_SETS
public static final int PROJECTS
public void createPartControl(Composite aParent)
CommonNavigator
Create the CommonViewer part control and setup the default providers as necessary.
createPartControl
in interface IWorkbenchPart
createPartControl
in class CommonNavigator
aParent
- the parent controlWorkbenchPart.createPartControl(org.eclipse.swt.widgets.Composite)
public void updateTitle()
updateTitle
in class CommonNavigator
public String getFrameToolTipText(Object element)
getFrameToolTipText
in class CommonNavigator
element
- the elementpublic void setRootMode(int mode)
setRootMode
in class CommonNavigator
mode
- public int getRootMode()
getRootMode
in class CommonNavigator
public void setWorkingSetLabel(String label)
setWorkingSetLabel
in class CommonNavigator
label
- public String getWorkingSetLabel()
getWorkingSetLabel
in class CommonNavigator
protected void handleDoubleClick(DoubleClickEvent anEvent)
CommonNavigator
Note: This method is for internal use only. Clients should not call this method.
handleDoubleClick
in class CommonNavigator
anEvent
- Supplied by the DoubleClick listener.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.