Package com.iizigo.term
Interface ITermEditor
- All Superinterfaces:
IPropertyEditorController
,IPropUndoContext
,IPropUndoRedo
- All Known Implementing Classes:
CaptureEditor
,RecordingEditor
,ScreenEditor
Interface implemented by the Screen, Capture and Recording editors.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionGets the HostSession.Gets the marking constraints.Gets the terminal composite.Gets the viewer.boolean
Cursor present (and blinking)?boolean
Check for hotspot enabled.boolean
If tool tips are shown.void
onDoubleClick
(int x, int y) Marks the host field.void
paint
(Graphics2D g, int leftMargin, int topMargin, int cxFont, int cyFont, int cxFontReal, int cyFontReal, int cxScreen, int cyScreen, Rectangle clipRect) Paints the Graphics once the screen is drawn, before the cursor.void
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 Details
updateToolStates
void updateToolStates()Updates tool states.getMarkingConstraints
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
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(Graphics2D g, int leftMargin, int topMargin, int cxFont, int cyFont, int cxFontReal, int cyFontReal, int cxScreen, int cyScreen, Rectangle clipRect) Paints the Graphics once the screen is drawn, before the cursor.