Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.ui.model
Interface ISystemRegistryUI

All Superinterfaces:
ISystemShellProvider

public interface ISystemRegistryUI
extends ISystemShellProvider

Registry and control center for RSE UI related operations.


Method Summary
 void clearRunnableContext ()
          Clear the current active runnable context to be used for a progress monitor.
 void expandHost ( IHost conn)
          Select and expand the given connection in the RSE, if the RSE is the active perspective.
 void expandSubSystem ( ISubSystem subsystem)
          Select and expand the given subsystem in the RSE, if the RSE is the active perspective.
 boolean getQualifiedHostNames ()
          Are connection names to be qualified by profile name?
  IRunnableContext getRunnableContext ()
          Return the current registered runnable context, or null if none registered.
  Clipboard getSystemClipboard ()
          Returns the clipboard used for copy actions
  List getSystemClipboardObjects (int srcType)
          Returns the list of objects on the system clipboard
 void postEvent ( ISystemResourceChangeEvent event)
          Notify all listeners of a change to a system resource such as a connection.
 void postEvent ( ISystemResourceChangeListener listener, ISystemResourceChangeEvent event)
          Notify a specific listener of a change to a system resource such as a connection.
 void setQualifiedHostNames (boolean set)
          Set if connection names are to be qualified by profile name
 void setRunnableContext ( Shell shell, IRunnableContext context)
          Set the current active runnable context to be used for a progress monitor by the subsystem methods that go to the host.
 void setShowFilterPools (boolean show)
          Reflect the user changing the preference for showing filter pools.
 void setShowNewHostPrompt (boolean show)
          Reflect the user changing the preference for showing new connection prompt
 void showRSEPerspective ()
          Show the RSE perspective if it is not already showing
 
Methods inherited from interface org.eclipse.rse.ui.model. ISystemShellProvider
getShell
 

Method Detail

showRSEPerspective

void showRSEPerspective()
Show the RSE perspective if it is not already showing


expandHost

void expandHost(
IHost conn)
Select and expand the given connection in the RSE, if the RSE is the active perspective.

Parameters:
conn - the host connection to expand

expandSubSystem

void expandSubSystem(
ISubSystem subsystem)
Select and expand the given subsystem in the RSE, if the RSE is the active perspective.

Parameters:
subsystem - the subsystem to expand

getSystemClipboard


Clipboard getSystemClipboard()
Returns the clipboard used for copy actions


getSystemClipboardObjects


List getSystemClipboardObjects(int srcType)
Returns the list of objects on the system clipboard

Parameters:
srcType - the transfer type
Returns:
the list of clipboard objects

getQualifiedHostNames

boolean getQualifiedHostNames()
Are connection names to be qualified by profile name?

Since:
3.0

setQualifiedHostNames

void setQualifiedHostNames(boolean set)
Set if connection names are to be qualified by profile name

Since:
3.0

setShowFilterPools

void setShowFilterPools(boolean show)
Reflect the user changing the preference for showing filter pools.

Since:
3.0

setShowNewHostPrompt

void setShowNewHostPrompt(boolean show)
Reflect the user changing the preference for showing new connection prompt

Since:
3.0

setRunnableContext

void setRunnableContext(
Shell shell,
                        
IRunnableContext context)
Set the current active runnable context to be used for a progress monitor by the subsystem methods that go to the host. Called by wizards and dialogs that have a built-in progress monitor and hence removes the need to popup an intrusive pm dialog.

You must call clearRunnableContext when your dialog/wizard is disposed!

Parameters:
shell - The shell of the wizard/dialog. This is recorded so it can be tested if it is disposed before attempting to use the context
context - The dialog/wizard/view that implements IRunnableContext

clearRunnableContext

void clearRunnableContext()
Clear the current active runnable context to be used for a progress monitor. Be sure to call this from you dispose method.


getRunnableContext


IRunnableContext getRunnableContext()
Return the current registered runnable context, or null if none registered. Use this for long running operations instead of an intrusive progress monitor dialog as it is more user friendly. Many dialogs/wizards have these built in so it behooves us to use it.


postEvent

void postEvent(
ISystemResourceChangeEvent event)
Notify all listeners of a change to a system resource such as a connection. You would not normally call this as the methods in this class call it when appropriate.

This version calls fireEvent at the next reasonable opportunity, leveraging SWT's Display.asyncExec() method.


postEvent

void postEvent(
ISystemResourceChangeListener listener,
               
ISystemResourceChangeEvent event)
Notify a specific listener of a change to a system resource such as a connection.

This version calls fireEvent at the next reasonable opportunity, leveraging SWT's Display.asyncExec() method.


RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire