Class EditorActiveTerminalSession

    • Field Detail

      • HEADERS

        protected static final java.lang.String[] HEADERS
        The list of terminal properties copied from TerminalProps.
    • Constructor Detail

      • EditorActiveTerminalSession

        public EditorActiveTerminalSession()
    • Method Detail

      • getTooltipPropertyList

        public java.util.List<TooltipItem> getTooltipPropertyList()
        Gets the list of property names that should be displayed. The value is a String with a Tab delimiter for the text prompt, i.e. an item "Text prompt\t$text" will take a property named "$text" shown with the text prompt "Text prompt:". The first item indicates the heading. Special values for an item are:
        • "" (only empty string) will add space before next line (4 pixel per empty string),
        • "-" for a separator line,
        • "MMM\t" for full line width of text "MMM",
        • "$" for the property name,
        • "&cnText" for the text.
        • "&cnDescription" for the property getCNDescription() available on Text prompt side (before \t),
        • "&cnDescriptionType" for the property getCNDescriptionType() available on Text prompt side (before \t).
        An item that is preceeded with "#" will use bold font.
        An item that is preceeded with "%" will use bold font and the image for the property.
        Specified by:
        getTooltipPropertyList in interface ITooltipPropList
        The list, or null for no tooltip.
      • getCNCategory

        public int getCNCategory()
        Gets the category of this Common Navigator object, used for sorting.
        Specified by:
        getCNCategory in interface IVirtualizedMonitorProp
        This method returns zero, i.e. no category.
      • getCNImage

        public getCNImage()
        Gets the image for the Common Navigator.
        Specified by:
        getCNImage in interface IVirtualizedMonitorProp
        Image or null if there is no image.
      • getCNDescriptionType

        public java.lang.String getCNDescriptionType()
        Provide a type description for the status bar view, if available.
        Specified by:
        getCNDescriptionType in interface IVirtualizedMonitorProp
        A type description for the status bar view, or null if not available.
      • showPanelPart

        public void showPanelPart​(org.eclipse.swt.widgets.Composite parent)
        Requests to show the panel part. When called, the composite is initialized to a grid layout of 1 column with standard margins.
        Specified by:
        showPanelPart in interface IVirtualizedMonitorPanelProvider
        parent - The parent composite.
      • onEventSelf

        public void onEventSelf​(GEvent event)
        Property events go here, and a new terminal session request is received from the monitor (client) side if the HostSessionProps are created. Removal of the remote terminal is also processed here.
        Specified by:
        onEventSelf in interface IGProp<GProp<?>[]>
        onEventSelf in class ActiveTerminalSession
        event - The property event.
      • isConnected

        public boolean isConnected()
        Returns if connected.
        true if connected.
      • doRemoteConnect

        public void doRemoteConnect()
        Performs a remote connect.
      • doRemoteSuspend

        public void doRemoteSuspend()
        Performs a remote suspend.
      • doRemoteResume

        public void doRemoteResume()
        Performs a remote connect.
      • doRemoteDisconnect

        public void doRemoteDisconnect()
        Performs a remote disconnect.
      • doRemoteCapture

        public void doRemoteCapture()
        Performs a remote capture of screen.