public class RemoteTerminalView extends ViewPart implements IActivationListener, IWorkbenchPartIZ
Modifier and Type | Field and Description |
---|---|
static String |
ID
The Terminal Sessions View Part ID "com.iizigo.term.server.RemoteTerminalView".
|
PROP_TITLE
Constructor and Description |
---|
RemoteTerminalView()
Eclipse constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
createPartControl(Composite parent)
Create contents of the view part.
|
void |
dispose()
Disposes of the view part.
|
IPartExtensionIZ |
getExtension()
Gets the extensions framework.
|
SelectionEnabler |
getSelectionEnabler()
Gets the selection enabler instance.
|
IPropUndoRedo |
getUndoRedo()
Gets the undo context.
|
void |
init(IViewSite site)
Initializes this view with the given view site.
|
boolean |
isDisposed()
Checks if the part is disposed of.
|
void |
onActivated(boolean on)
Called when activator or deactivated.
|
void |
onClose()
Called when about to close, but SWT is still there.
|
void |
setFocus()
Sets focus to the terminal.
|
void |
updateStates()
Called when states needs to be updated.
|
checkSite, getViewSite, init, saveState, setContentDescription, setInitializationData, setPartName
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onComponentFocused
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
getAdapter
public static final String ID
public void init(IViewSite site) throws PartInitException
This method is automatically called by the workbench shortly after the part is instantiated. It marks the start of the views's life cycle. Clients must not call this method.
init
in interface IViewPart
init
in class ViewPart
site
- The view site.PartInitException
- if this view was not initialized successfully.public void createPartControl(Composite parent)
createPartControl
in interface IWorkbenchPart
createPartControl
in class WorkbenchPart
parent
- Parent composite.public void dispose()
dispose
in interface IWorkbenchPart
dispose
in class WorkbenchPart
public IPartExtensionIZ getExtension()
getExtension
in interface IWorkbenchPartIZ
public SelectionEnabler getSelectionEnabler()
getSelectionEnabler
in interface IWorkbenchPartIZ
public boolean isDisposed()
isDisposed
in interface IActivationListener
isDisposed
in interface IWorkbenchPartIZ
public void setFocus()
setFocus
in interface IWorkbenchPart
setFocus
in class WorkbenchPart
public void updateStates()
updateStates
in interface IActivationListener
public void onActivated(boolean on)
onActivated
in interface IActivationListener
public void onClose()
onClose
in interface IActivationListener
public IPropUndoRedo getUndoRedo()
getUndoRedo
in interface IWorkbenchPartIZ
iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.