|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.dftproject.genesis.ui.views.ResourceView
public class ResourceView
ResourceView shows a linked tree view of a given resource.
This class needs some severe refactoring work done.
| Field Summary | |
|---|---|
static java.lang.String |
ID
The view ID. |
static int |
nextID
The next secondary ID to use when opening a resource view. |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
ResourceView()
|
|
| Method Summary | |
|---|---|
protected void |
contributeToActionBars()
Contributes actions to the action bars. |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
|
void |
dispose()
|
protected void |
fillLocalToolBar(org.eclipse.jface.action.IToolBarManager manager)
Adds actions to the local toolbar. |
protected void |
makeActions()
Creates the actions used by this view. |
protected void |
setCurrentResource(IResourceNode resource)
Internal method used to set the current resource without affecting the forward/back navigation. |
void |
setFocus()
|
void |
setResource(IResourceNode resource)
Sets the current resource. |
| Methods inherited from class org.eclipse.ui.part.ViewPart |
|---|
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
public static final java.lang.String ID
public static int nextID
| Constructor Detail |
|---|
public ResourceView()
| Method Detail |
|---|
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl in class org.eclipse.ui.part.WorkbenchPartprotected void makeActions()
protected void contributeToActionBars()
protected void fillLocalToolBar(org.eclipse.jface.action.IToolBarManager manager)
manager - the local toolbar managerpublic void setResource(IResourceNode resource)
resource - a resource nodeprotected void setCurrentResource(IResourceNode resource)
resource - a resource nodepublic void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartpublic void dispose()
dispose in interface org.eclipse.ui.IWorkbenchPartdispose in class org.eclipse.ui.part.WorkbenchPart
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||