de.cau.cs.kieler.klots.views
Class SJInstructionsView

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.klots.views.SJInstructionsView
All Implemented Interfaces:
IAdaptable, IExecutableExtension, IPersistable, IViewPart, IWorkbenchPart, IWorkbenchPart2, IWorkbenchPart3, IWorkbenchPartOrientation

public class SJInstructionsView
extends ViewPart

Rating red

Field Summary
static String ID
          The ID of the view as specified by the extension.
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
SJInstructionsView()
           
 
Method Summary
 void createPartControl(Composite parent)
          This is a callback that will allow us to create the viewer and initialize it.
static SJInstructionsView getInstance()
           
protected  void highlightSelectedSJInstructions(List<SJInstructionsData> list)
           
 void refreshViewer()
          Refreshes the tree viewer.
 void setFocus()
          Pass the focus request to the viewer's control.
 
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, 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
 

Field Detail

ID

public static final String ID
The ID of the view as specified by the extension.

See Also:
Constant Field Values
Constructor Detail

SJInstructionsView

public SJInstructionsView()
Method Detail

getInstance

public static SJInstructionsView getInstance()
Returns:
SJInstructionsView

refreshViewer

public void refreshViewer()
Refreshes the tree viewer.


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
Specified by:
createPartControl in class WorkbenchPart
Parameters:
parent - the composite parent

highlightSelectedSJInstructions

protected void highlightSelectedSJInstructions(List<SJInstructionsData> list)
Parameters:
list -

setFocus

public void setFocus()
Pass the focus request to the viewer's control.

Specified by:
setFocus in interface IWorkbenchPart
Specified by:
setFocus in class WorkbenchPart