de.cau.cs.kieler.krep.evalbench.ui.views
Class AssemblerView
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
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

- (2010-03-09) review by msp, soh
Field Summary |
static String |
ID
The identifier string for this view. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
- The identifier string for this view.
- See Also:
- Constant Field Values
AssemblerView
public AssemblerView()
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.