de.cau.cs.kieler.krep.evalbench.ui.views
Class AssemblerView

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.krep.evalbench.ui.views.AssemblerView
All Implemented Interfaces:
IAdaptable, IExecutableExtension, IPersistable, IViewPart, IWorkbenchPart, IWorkbenchPart2, IWorkbenchPart3, IWorkbenchPartOrientation

public class AssemblerView
extends ViewPart

Displays the assembler in a table, including labels, instructions and object code. Each assembler instructions takes exactly one line in the table.

Rating yellow
(2010-03-09) review by msp, soh

Field Summary
static String ID
          The identifier string for this view.
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
AssemblerView()
           
 
Method Summary
 void createPartControl(Composite parent)
           
 void markTrace(int[] trace)
          Highlight the currently executed instructions.
 void setAssembler(IAssembler assembler)
          Set the assembler that is displayed in the assembler view.
 void setFocus()
           
 
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 identifier string for this view.

See Also:
Constant Field Values
Constructor Detail

AssemblerView

public AssemblerView()
Method Detail

createPartControl

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

setFocus

public void setFocus()
Specified by:
setFocus in interface IWorkbenchPart
Specified by:
setFocus in class WorkbenchPart

setAssembler

public final void setAssembler(IAssembler assembler)
Set the assembler that is displayed in the assembler view.

Parameters:
assembler - the new assembler that shall be display.

markTrace

public final void markTrace(int[] trace)
Highlight the currently executed instructions.

Parameters:
trace - the active assembler instructions. This is the actual number of instructions, the assembler is responsible to map them to lines in the assembler.