RSE
Release 2.0

Deprecated API


Contents
Deprecated Interfaces
org.eclipse.rse.ui.propertypages.ISystemConnectionWizardPropertyPage
          this class will likely be removed in the future, because the underlying mechanism of contributing property pages to a wizard does not scale since it activates unrelated plug-ins. Custom wizard pages should be contributed through SubSystemConfigurationAdapter.getNewConnectionWizardPages(ISubSystemConfiguration, IWizard) instead. See also Eclipse Bugzilla bug 197129. 
 

Deprecated Classes
org.eclipse.rse.ui.widgets.InheritControl
            
org.eclipse.rse.files.ui.dialogs.SystemSelectRemoteFileOrFolderDialog
          should be using SystemRemoteResourceDialog now 
org.eclipse.rse.ui.wizards.SystemSubSystemsPropertiesWizardPage
          this class will likely be removed in the future, because the underlying mechanism of contributing property pages to a wizard does not scale since it activates unrelated plug-ins. Custom wizard pages should be contributed through SubSystemConfigurationAdapter.getNewConnectionWizardPages(ISubSystemConfiguration, IWizard) instead. See also Eclipse Bugzilla bug 197129. 
org.eclipse.rse.files.ui.resources.SystemTempFileListener.RefreshResourcesUIJob
          don't use this class, it's only here because to remove it would be an API change, and we can't do that until 3.0. Instead of using this, SynchResourcesJob should be used. 
 

Deprecated Fields
org.eclipse.rse.core.events.ISystemResourceChangeEvents.EVENT_COMMAND_FINISHED
          use EVENT_COMMAND_SHELL_FINISHED 
org.eclipse.rse.core.events.ISystemResourceChangeEvents.EVENT_COMPILE_COMMAND_RUN
            
org.eclipse.rse.core.events.ISystemResourceChangeEvents.EVENT_REFRESH_SELECTED
          obtain the selection yourself and do EVENT_REFRESH or EVENT_REFRESH_REMOTE 
org.eclipse.rse.core.events.ISystemResourceChangeEvents.EVENT_REFRESH_SELECTED_FILTER
          Refreshing a particular context(filter) only can lead to inconsistencies, so better obtain the selection yourself and do EVENT_REFRESH or EVENT_REFRESH_REMOTE 
org.eclipse.rse.core.events.ISystemResourceChangeEvents.EVENT_REFRESH_SELECTED_PARENT
          obtain the selection yourself and do EVENT_REFRESH or EVENT_REFRESH_REMOTE 
org.eclipse.rse.ui.view.AbstractSystemViewAdapter.nullObject
          Use AbstractSystemViewAdapter.checkForEmptyList(Object[], Object, boolean) instead. 
org.eclipse.rse.core.IRSESystemType.SYSTEMTYPE_AIX
          Use IRSESystemType.SYSTEMTYPE_AIX_ID. 
org.eclipse.rse.core.IRSESystemType.SYSTEMTYPE_ISERIES
          Use IRSESystemType.SYSTEMTYPE_ISERIES_ID. 
org.eclipse.rse.core.IRSESystemType.SYSTEMTYPE_LINUX
          Use IRSESystemType.SYSTEMTYPE_LINUX_ID. 
org.eclipse.rse.core.IRSESystemType.SYSTEMTYPE_LOCAL
          Use IRSESystemType.SYSTEMTYPE_LOCAL_ID. 
org.eclipse.rse.core.IRSESystemType.SYSTEMTYPE_PASE
          Use IRSESystemType.SYSTEMTYPE_PASE_ID. 
org.eclipse.rse.core.IRSESystemType.SYSTEMTYPE_POWER_LINUX
          Use IRSESystemType.SYSTEMTYPE_POWER_LINUX_ID. 
org.eclipse.rse.core.IRSESystemType.SYSTEMTYPE_UNIX
          Use IRSESystemType.SYSTEMTYPE_UNIX_ID. 
org.eclipse.rse.core.IRSESystemType.SYSTEMTYPE_WINDOWS
          Use IRSESystemType.SYSTEMTYPE_WINDOWS_ID. 
org.eclipse.rse.core.IRSESystemType.SYSTEMTYPE_ZSERIES
          Use IRSESystemType.SYSTEMTYPE_ZSERIES_ID. 
org.eclipse.rse.core.IRSESystemType.SYSTEMTYPE_ZSERIES_LINUX
          Use IRSESystemType.SYSTEMTYPE_ZSERIES_LINUX_ID. 
 

Deprecated Methods
org.eclipse.rse.ui.RSESystemTypeAdapter.acceptContextMenuActionContribution(IHost, Class)
          Override SystemViewConnectionAdapter.addActions(SystemMenuManager, org.eclipse.jface.viewers.IStructuredSelection, org.eclipse.swt.widgets.Shell, String) instead. In order to do so, AbstractRSESystemType.createNewHostInstance(org.eclipse.rse.core.model.ISystemProfile) needs to return a subclass of Host where the IAdaptable.getAdapter(Class) method is overriden to return a extended SystemViewConnectionAdapter subclass. 
org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileSubSystem.cancelSearch(IHostSearchResultConfiguration)
            
org.eclipse.rse.ui.view.AbstractSystemViewAdapter.checkForNull(Object[], boolean)
          Use AbstractSystemViewAdapter.checkForEmptyList(Object[], Object, boolean) instead. 
org.eclipse.rse.core.subsystems.SubSystem.connect()
            
org.eclipse.rse.core.subsystems.ISubSystem.connect()
          use ISubSystem.connect(IProgressMonitor, boolean) from background thread, or {@link #connect(boolean, IRSECallback) from UI thread. 
org.eclipse.rse.ui.SystemWidgetHelpers.createBrowseButton(Composite, Listener, String)
            
org.eclipse.rse.ui.view.AbstractSystemViewAdapter.doDrop(Object, Object, boolean, boolean, IProgressMonitor)
          use doDrop(Object from, Object to, boolean sameSystemType, boolean sameSystem, int srcType, IProgressMonitor monitor) instead 
org.eclipse.rse.core.subsystems.IRemoteSystemEnvVar.getAdditionalAttributes()
            
org.eclipse.rse.ui.view.AbstractSystemViewAdapter.getEmptyMessageObject()
          Use AbstractSystemViewAdapter.checkForEmptyList(Object[], Object, boolean) instead. 
org.eclipse.rse.core.IRSESystemType.getName()
          Use IRSESystemType.getId() for accessing the unique id or IRSESystemType.getLabel() for the UI label. 
org.eclipse.rse.connectorservice.dstore.DStoreConnectorService.getNoLaunchEnabled(SubSystem)
          Use instead AbstractConnectorService.isServerLaunchTypeEnabled(ISubSystem, ServerLaunchType) or SubSystemConfiguration.supportsServerLaunchType(ServerLaunchType) 
org.eclipse.rse.subsystems.files.core.servicesubsystem.AbstractRemoteFile.getParentNoRoot()
          - shouldn't need apis like this 
org.eclipse.rse.core.subsystems.SubSystem.getProperties(Object, String[])
          this shouldn't be used 
org.eclipse.rse.core.subsystems.ISubSystem.getProperties(Object, String[])
          this shouldn't be used 
org.eclipse.rse.core.subsystems.SubSystem.getProperty(Object, String)
          this shouldn't be used 
org.eclipse.rse.core.subsystems.ISubSystem.getProperty(Object, String)
          this shouldn't be used 
org.eclipse.rse.ui.view.AbstractSystemViewAdapter.getRemoteAdapter(Object)
          use SystemAdapterHelpers.getRemoteAdapter(o, getViewer()) instead 
org.eclipse.rse.core.subsystems.SubSystem.getRemoteAttribute(String)
            
org.eclipse.rse.connectorservice.dstore.DStoreConnectorService.getRexecLaunchEnabled(SubSystem)
          Use instead AbstractConnectorService.isServerLaunchTypeEnabled(ISubSystem, ServerLaunchType) or SubSystemConfiguration.supportsServerLaunchType(ServerLaunchType) 
org.eclipse.rse.subsystems.files.core.servicesubsystem.AbstractRemoteFile.getRoot()
          - shouldn't need apis like this 
org.eclipse.rse.core.subsystems.SubSystem.getRunnableContext()
          this is scheduled to be removed since we want to avoid UI components in SubSystem. 
org.eclipse.rse.core.model.ISystemViewInputProvider.getShell()
          use other methods for getting the active workbench shell, e.g. SystemBasePlugin.getActiveWorkbenchShell() 
org.eclipse.rse.ui.RSEUIPlugin.getShowPreferencePageActions()
          will be moved to using command/hander extension point 
org.eclipse.rse.core.model.ISystemRegistry.getSubSystemConfigurations()
          use ISystemRegistry.getSubSystemConfigurationProxies() and filter the list of needed subsystem configurations in order to activate only those that are really needed. 
org.eclipse.rse.ui.view.SubSystemConfigurationAdapter.getSubSystemPropertyPages(ISubSystemConfiguration)
          this method will likely be removed in the future, because the underlying mechanism of finding the registered property pages for a SubSystemConfiguration does not scale since it activates unrelated plug-ins. Existing Platform functionality for getting the list of property pages registered against a SubSystem should be used, once the SubSystem class is loaded -- but not by referencing the SubSystemConfiguration. See also Eclipse Bugzilla bug 197129. 
org.eclipse.rse.core.model.ISystemRegistry.getSubSystemsBySubSystemConfigurationCategory(String, IHost)
          use ISystemRegistry.getSubSystemConfigurationProxiesByCategory(String) and instantiate only those subsystem configurations from the proxy that are really needed. Then, use ISubSystemConfiguration.getSubSystems(boolean) with a parameter true. 
org.eclipse.rse.core.IRSECoreRegistry.getSystemType(String)
          Use IRSECoreRegistry.getSystemTypeById(String). 
org.eclipse.rse.ui.view.AbstractSystemViewAdapter.getSystemViewElementAdapter(Object)
          use SystemAdapterHelpers.getViewAdapter(o, getViewer()) instead 
org.eclipse.rse.core.subsystems.SubSystem.getVendorAttribute(String, String)
          use property sets directly now 
org.eclipse.rse.core.subsystems.ISubSystem.getVendorAttribute(String, String)
          Subsystems can now take named property sets. These should be used instead. See IPropertySet 
org.eclipse.rse.core.model.ISystemViewInputProvider.getViewer()
          use other methods for getting the active viewer. 
org.eclipse.rse.ui.validators.ValidatorUniqueString.isValid(String)
          You should be using ValidatorUniqueString.validate(String) and SystemMessage objects 
org.eclipse.rse.services.clientserver.PathUtility.normalizeUnix(String)
          this should not be used since \ is a valid part of UNIX file names. Also, a better normalizer would also consider swquences like a/../b and a/./b -- Try to work without this method. 
org.eclipse.rse.ui.dialogs.SystemPromptDialog.pack()
            
org.eclipse.rse.subsystems.shells.core.subsystems.RemoteCmdSubSystem.runCommand(String, Object)
            
org.eclipse.rse.subsystems.shells.core.subsystems.RemoteCmdSubSystem.runCommand(String, Object, boolean)
            
org.eclipse.rse.subsystems.shells.core.subsystems.RemoteCmdSubSystem.runShell(Object)
            
org.eclipse.rse.subsystems.shells.core.subsystems.RemoteCmdSubSystem.sendCommandToShell(String, Object)
          use RemoteCmdSubSystem.sendCommandToShell(String, Object, IProgressMonitor) 
org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteCmdSubSystem.sendCommandToShell(String, Object)
          use sendCommandToShell(IProgressMonitor, String input, Object commmandObject) 
org.eclipse.rse.core.subsystems.IRemoteSystemEnvVar.setAdditionalAttributes(String)
            
org.eclipse.rse.ui.SystemWidgetHelpers.setHelp(Control, IViewPart, Object)
            
org.eclipse.rse.core.subsystems.SubSystem.setProperties(Object, String[], String[])
          this shouldn't be used 
org.eclipse.rse.core.subsystems.ISubSystem.setProperties(Object, String[], String[])
          this shouldn't be used 
org.eclipse.rse.core.subsystems.SubSystem.setProperty(Object, String, String)
          this shouldn't be used 
org.eclipse.rse.core.subsystems.ISubSystem.setProperty(Object, String, String)
          this shouldn't be used 
org.eclipse.rse.core.subsystems.SubSystem.setRemoteAttribute(String, String)
            
org.eclipse.rse.core.subsystems.RemoteServerLauncher.setRestrictedType(String, String)
            
org.eclipse.rse.core.subsystems.SubSystem.setVendorAttribute(String, String, String)
          use property sets directly now 
org.eclipse.rse.core.subsystems.ISubSystem.setVendorAttribute(String, String, String)
          Subsystems can now take named property sets. These should be used instead. See IPropertySet 
 

Deprecated Constructors
org.eclipse.rse.ui.SystemBaseForm(ISystemMessageLine)
          You should now use the constructor that takes a shell. 
org.eclipse.rse.ui.actions.SystemBaseSubMenuAction(ResourceBundle, String, String, ImageDescriptor, Shell)
          use fields from resource class directly now instead of via ResourceBundle 
 


RSE
Release 2.0

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