de.cau.cs.kieler.viewmanagement.view
Class VMControlView

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.ui.part.WorkbenchPart
          extended by org.eclipse.ui.part.ViewPart
              extended by de.cau.cs.kieler.viewmanagement.view.VMControlView
All Implemented Interfaces:
IAdaptable, IExecutableExtension, IPersistable, IViewPart, IWorkbenchPart, IWorkbenchPart2, IWorkbenchPart3, IWorkbenchPartOrientation

public class VMControlView
extends ViewPart

Creates a new view "VM Control" to manually actuate the view management and its combinations. Will display a view with a toggle button to turn the view management on or off. When on, it will list all the available combinations and provide the ability to turn them on and off individually and on the fly by setting a checkbox infront of ot.

Rating red

Field Summary
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
VMControlView()
          This implements a view with the VM Control table.
 
Method Summary
 void createPartControl(Composite parent)
           
 VMControlView getInstance()
          gets an instance of VMControl
 void init(IViewSite site)
           
 void setFocus()
           
 
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, saveState, setContentDescription, setInitializationData, setPartName
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, dispose, 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, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

VMControlView

public VMControlView()
This implements a view with the VM Control table. All available combinations are listed here together with their status. It provides also manual control over the single combinations as well as the whole View Management.

Method Detail

init

public final void init(IViewSite site)
                throws PartInitException
Specified by:
init in interface IViewPart
Overrides:
init in class ViewPart
Throws:
PartInitException

getInstance

public final VMControlView getInstance()
gets an instance of VMControl

Returns:
the instance

createPartControl

public final void createPartControl(Composite parent)
Specified by:
createPartControl in interface IWorkbenchPart
Specified by:
createPartControl in class WorkbenchPart

setFocus

public final void setFocus()
Specified by:
setFocus in interface IWorkbenchPart
Specified by:
setFocus in class WorkbenchPart
See Also:
WorkbenchPart.setFocus()