|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.rse.shells.ui.view.SystemCommandsViewPart
This is the desktop view wrapper of the System View viewer.
| Nested Class Summary | |
|---|---|
class |
SystemCommandsViewPart.ClearAction
|
class |
SystemCommandsViewPart.CommandMenuManager
|
class |
SystemCommandsViewPart.CommandSubmenuManager
|
class |
SystemCommandsViewPart.CommandSubSystemDisconnectedRunnable
|
class |
SystemCommandsViewPart.ShellAction
|
| Field Summary | |
|---|---|
static String |
ID
|
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
SystemCommandsViewPart()
|
|
| Method Summary | |
|---|---|
void |
clearErrorMessage()
Clears the currently displayed error message and redisplayes the message which was active before the error message was set. |
void |
clearMessage()
Clears the currently displayed message. |
void |
createPartControl(Composite parent)
|
void |
dispose()
|
void |
fillLocalToolBar()
|
CellEditorActionHandler |
getEditorActionHandler()
|
String |
getErrorMessage()
Get the currently displayed error text. |
String |
getMessage()
Get the currently displayed message. |
Viewer |
getRSEViewer()
|
Shell |
getShell()
This is the method in your class that will be called to return the shell for your viewer |
SystemMessage |
getSystemErrorMessage()
Get the currently displayed error text. |
protected void |
initDefaultCommandShells()
|
void |
menuAboutToShow(IMenuManager menuManager)
|
protected void |
restoreCommandShells(IRemoteCmdSubSystem cmdSS)
|
void |
selectionChanged(IWorkbenchPart part,
ISelection sel)
|
void |
selectionChanged(SelectionChangedEvent e)
|
void |
setErrorMessage(String message)
Display the given error message. |
void |
setErrorMessage(SystemMessage message)
Display the given error message. |
void |
setErrorMessage(Throwable exc)
Display the given error message. |
void |
setFocus()
|
void |
setInput(IAdaptable object)
|
void |
setInput(IAdaptable object,
boolean updateHistory)
|
void |
setMessage(String message)
Set the message text. |
void |
setMessage(SystemMessage message)
If the message line currently displays an error, the message is stored and will be shown after a call to clearErrorMessage |
void |
systemResourceChanged(ISystemResourceChangeEvent event)
This is the method in your class that will be called when a system resource changes. |
void |
updateActionStates()
|
void |
updateOutput(IRemoteCommandShell root)
Update or create a view tab for the specified command If there is no tab for the command, create one. |
protected void |
updateShellActions()
|
void |
widgetDefaultSelected(SelectionEvent e)
|
void |
widgetSelected(SelectionEvent e)
|
| Methods inherited from class org.eclipse.ui.part.ViewPart |
|---|
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPropertyListener, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
public static final String ID
| Constructor Detail |
public SystemCommandsViewPart()
| Method Detail |
public void setFocus()
setFocus in interface IWorkbenchPartpublic Shell getShell()
ISystemResourceChangeListener
getShell in interface ISystemResourceChangeListenerpublic Viewer getRSEViewer()
getRSEViewer in interface IRSEViewPartpublic CellEditorActionHandler getEditorActionHandler()
public void createPartControl(Composite parent)
createPartControl in interface IWorkbenchPart
public void selectionChanged(IWorkbenchPart part,
ISelection sel)
selectionChanged in interface ISelectionListenerpublic void dispose()
dispose in interface IWorkbenchPartpublic void updateActionStates()
protected void updateShellActions()
public void fillLocalToolBar()
public void menuAboutToShow(IMenuManager menuManager)
menuAboutToShow in interface IMenuListenerpublic void selectionChanged(SelectionChangedEvent e)
selectionChanged in interface ISelectionChangedListenerpublic void updateOutput(IRemoteCommandShell root)
root - command to viewpublic void setInput(IAdaptable object)
public void setInput(IAdaptable object,
boolean updateHistory)
protected void initDefaultCommandShells()
protected void restoreCommandShells(IRemoteCmdSubSystem cmdSS)
public void systemResourceChanged(ISystemResourceChangeEvent event)
ISystemResourceChangeListener
systemResourceChanged in interface ISystemResourceChangeListenerISystemResourceChangeEventpublic void widgetDefaultSelected(SelectionEvent e)
widgetDefaultSelected in interface SelectionListenerpublic void widgetSelected(SelectionEvent e)
widgetSelected in interface SelectionListenerpublic void clearErrorMessage()
clearErrorMessage in interface ISystemMessageLinepublic void clearMessage()
clearMessage in interface ISystemMessageLinepublic String getErrorMessage()
getErrorMessage in interface ISystemMessageLinenull is returned.public String getMessage()
getMessage in interface ISystemMessageLinenull is returned.public void setErrorMessage(String message)
setErrorMessage in interface ISystemMessageLinepublic SystemMessage getSystemErrorMessage()
getSystemErrorMessage in interface ISystemMessageLinenull is returned.public void setErrorMessage(SystemMessage message)
setErrorMessage in interface ISystemMessageLinepublic void setErrorMessage(Throwable exc)
setErrorMessage in interface ISystemMessageLinepublic void setMessage(String message)
setMessage in interface ISystemMessageLinepublic void setMessage(SystemMessage message)
setMessage in interface ISystemMessageLine
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||