|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
de.cau.cs.kieler.krep.evalbench.ui.editors.AssemblerEditor
public abstract class AssemblerEditor
The basic editor for displaying assembler instructions in the evaluation bench. Subclasses of
this abstract class must create a suitable implementation of the IAssembler
Field Summary |
---|
Fields inherited from interface org.eclipse.ui.IEditorPart |
---|
PROP_DIRTY, PROP_INPUT |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Constructor Summary | |
---|---|
protected |
AssemblerEditor(IAssembler asm)
Generate new editor which displays the given assembler. |
Method Summary | |
---|---|
boolean |
canExecute(IConfig krp)
Check whether the current program can be executed on this the given configuration. |
void |
createPartControl(Composite parent)
|
void |
doSave(IProgressMonitor monitor)
|
void |
doSaveAs()
|
IAssembler |
getAssembler()
Gets the program binary. |
LinkedList<Signal> |
getInputs()
Gets the input signals. |
LinkedList<Signal> |
getOutputs()
Gets the output signals. |
abstract String |
getProtocolType()
Gets the protocol type suited for the current editor implementation. |
void |
init(IEditorSite site,
IEditorInput input)
|
boolean |
isDirty()
|
boolean |
isSaveAsAllowed()
|
void |
setFocus()
|
void |
setSelectedRows(int[] adrs)
Selects the rows with the given numbers in the embedded table. |
Methods inherited from class org.eclipse.ui.part.EditorPart |
---|
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, 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, 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, removePropertyListener |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Constructor Detail |
---|
protected AssemblerEditor(IAssembler asm)
asm
- the assembler used by this editorMethod Detail |
---|
public abstract String getProtocolType()
ICommunicationProtocol
.
public void init(IEditorSite site, IEditorInput input) throws PartInitException
init
in interface IEditorPart
init
in class EditorPart
PartInitException
public void createPartControl(Composite parent)
createPartControl
in interface IWorkbenchPart
createPartControl
in class WorkbenchPart
public final void setSelectedRows(int[] adrs)
adrs
- instruction addresses to selectpublic void doSave(IProgressMonitor monitor)
doSave
in interface ISaveablePart
doSave
in class EditorPart
public void doSaveAs()
doSaveAs
in interface ISaveablePart
doSaveAs
in class EditorPart
public boolean isDirty()
isDirty
in interface ISaveablePart
isDirty
in class EditorPart
public boolean isSaveAsAllowed()
isSaveAsAllowed
in interface ISaveablePart
isSaveAsAllowed
in class EditorPart
public void setFocus()
setFocus
in interface IWorkbenchPart
setFocus
in class WorkbenchPart
public IAssembler getAssembler()
public LinkedList<Signal> getInputs()
public LinkedList<Signal> getOutputs()
public boolean canExecute(IConfig krp)
krp
- configuration of the current processor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |