Package com.iizigo.term
Interface ITermEditor
- All Superinterfaces:
IPropertyEditorController,IPropUndoContext,IPropUndoRedo
- All Known Implementing Classes:
CaptureEditor,RecordingEditor,ScreenEditor
public interface ITermEditor extends IPropertyEditorController, IPropUndoRedo, IPropUndoContext
Interface implemented by the Screen, Capture and Recording editors.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HostSessiongetHostSession()Gets the HostSession.org.eclipse.swt.graphics.RectanglegetMarkingConstraints()Gets the marking constraints.TerminalCompositegetTerminalComposite()Gets the terminal composite.org.eclipse.jface.viewers.TreeViewergetViewer()Gets the viewer.booleanisCursorPresent()Cursor present (and blinking)?booleanisHotSpotEnabled()Check for hotspot enabled.booleanisTooltipTextShown()If tool tips are shown.voidonDoubleClick(int x, int y)Marks the host field.voidpaint(java.awt.Graphics2D g, int leftMargin, int topMargin, int cxFont, int cyFont, int cxFontReal, int cyFontReal, int cxScreen, int cyScreen, org.eclipse.swt.graphics.Rectangle clipRect)Paints the Graphics once the screen is drawn, before the cursor.voidupdateToolStates()Updates tool states.Methods inherited from interface com.iizigo.prop.IPropertyEditorController
getModuleModel, getMultiSelectionProvider, getUndoContext, getUndoRedo, isDisposed, removePropertyValue, setBlockViewerFocus, setPropertyAttrFlag, setPropertyError, setPropertyValue
Methods inherited from interface com.iizigo.prop.IPropUndoContext
getUndoContext
Methods inherited from interface com.iizix.prop.IPropUndoRedo
getShell, getTargetViewer, getUndoContext, setTargetViewer, updateStates
Method Detail
updateToolStates
void updateToolStates()
Updates tool states.
getMarkingConstraints
org.eclipse.swt.graphics.Rectangle getMarkingConstraints()
Gets the marking constraints.- Returns:
- null for none.
isHotSpotEnabled
boolean isHotSpotEnabled()
Check for hotspot enabled.
isCursorPresent
boolean isCursorPresent()
Cursor present (and blinking)?
getTerminalComposite
TerminalComposite getTerminalComposite()
Gets the terminal composite.
getViewer
org.eclipse.jface.viewers.TreeViewer getViewer()
Gets the viewer.
getHostSession
HostSession getHostSession()
Gets the HostSession.
isTooltipTextShown
boolean isTooltipTextShown()
If tool tips are shown.
onDoubleClick
void onDoubleClick(int x, int y)Marks the host field.
paint
void paint(java.awt.Graphics2D g, int leftMargin, int topMargin, int cxFont, int cyFont, int cxFontReal, int cyFontReal, int cxScreen, int cyScreen, org.eclipse.swt.graphics.Rectangle clipRect)Paints the Graphics once the screen is drawn, before the cursor.