net.sf.tm.plugin.ui
Class WebContextView
java.lang.Object
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
net.sf.tm.plugin.ui.WebContextView
- All Implemented Interfaces:
- IAdaptable, IExecutableExtension, IUpdatable, IViewPart, IWorkbenchPart
- public class WebContextView
- extends ViewPart
- implements IUpdatable
Main view of the plugin. Displays a Tree with all configured servers.
- Version:
- $Id: WebContextView.java,v 1.8 2004/03/28 16:22:09 apataki Exp $
- Author:
- Andreas Pataki
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, firePropertyChange, getAdapter, getConfigurationElement, getDefaultImage, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setInitializationData, setSite, setTitle, setTitleImage, setTitleToolTip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebContextView
public WebContextView()
createPartControl
public void createPartControl(Composite parent)
- This is a callback that will allow us
to create the viewer and initialize it.
- Specified by:
createPartControl
in interface IWorkbenchPart
dispose
public void dispose()
- Specified by:
dispose
in interface IWorkbenchPart
- See Also:
IWorkbenchPart.dispose()
update
public void update()
- Mehod for updating the view. It should be allways called when tree data
has changed. On call the tree will get refreshed and the action status
will get updated.
- Specified by:
update
in interface IUpdatable
updateContextNode
public void updateContextNode(TreeNode contextNode)
- Updates the status of a single context.
- Parameters:
contextNode
- Context element
setFocus
public void setFocus()
- Passing the focus request to the viewer's control.
- Specified by:
setFocus
in interface IWorkbenchPart
getSelected
public Object getSelected()
Copyright © 2003-2004 Andreas Pataki. All Rights Reserved.