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.org.eclipse.swt.graphics.RectangleGets the marking constraints.Gets the terminal composite.org.eclipse.jface.viewers.TreeViewerGets the viewer.booleanCursor present (and blinking)?booleanCheck for hotspot enabled.booleanIf tool tips are shown.voidonDoubleClick(int x, int y) Marks the host field.voidpaint(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.voidUpdates tool states.Methods inherited from interface com.iizigo.prop.IPropertyEditorController
getModuleModel, getMultiSelectionProvider, getUndoContext, getUndoRedo, isDisposed, removePropertyValue, setBlockViewerFocus, setPropertyAttrFlag, setPropertyError, setPropertyValueMethods inherited from interface com.iizigo.prop.IPropUndoContext
getUndoContextMethods inherited from interface com.iizix.prop.IPropUndoRedo
getShell, getTargetViewer, getUndoContext, setTargetViewer, updateStates
Method Details
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(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.