Remote Systems
v6.4.1

com.ibm.etools.systems.launch
Class UniversalLaunchUtil

java.lang.Object
  extended bycom.ibm.etools.systems.launch.UniversalLaunchUtil

public class UniversalLaunchUtil
extends Object


Constructor Summary
UniversalLaunchUtil()
           
 
Method Summary
static String createSourcePath(String workingDirectory, String systemConnectionProfileName, String systemConnectionAliasName)
          Create source path string from path without connection name.
static IRemoteFile getRealParentRemoteFile(IRemoteFile remoteFile)
           
static ISystemRemoteElementAdapter getRSESelection(IStructuredSelection selection)
          Get an ISystemRemoteElementAdapter from RSE selecction.
static SystemConnection getSystemConnection(String systemConnectionProfileName, String systemConnectionAliasName)
           
static void installSeparator(Composite parent, int verticalSpacing)
          Place separator on a composite
static void installSeparator(Composite parent, int style, int verticalSpacing)
          Place separator on a composite
static boolean isLocalWindows()
           
static boolean isLocalWindows(SystemConnection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniversalLaunchUtil

public UniversalLaunchUtil()
Method Detail

getSystemConnection

public static SystemConnection getSystemConnection(String systemConnectionProfileName,
                                                   String systemConnectionAliasName)
Parameters:
systemConnectionProfileName -
systemConnectionAliasName -
Returns:

isLocalWindows

public static boolean isLocalWindows(SystemConnection connection)

isLocalWindows

public static boolean isLocalWindows()

createSourcePath

public static String createSourcePath(String workingDirectory,
                                      String systemConnectionProfileName,
                                      String systemConnectionAliasName)
Create source path string from path without connection name. Must use the same rule for creating as that in RemoteFileImpl.getAbsolutePathPlusConnection.

Parameters:
workingDirectory -
systemConnectionProfileName -
systemConnectionAliasName -
Returns:

getRealParentRemoteFile

public static IRemoteFile getRealParentRemoteFile(IRemoteFile remoteFile)
Returns:

getRSESelection

public static ISystemRemoteElementAdapter getRSESelection(IStructuredSelection selection)
Get an ISystemRemoteElementAdapter from RSE selecction.

Returns:
instance of ISystemRemoteElementAdapter if this is the selection from RSE

installSeparator

public static void installSeparator(Composite parent,
                                    int verticalSpacing)
Place separator on a composite

Parameters:
parent -
verticalSpacing -

installSeparator

public static void installSeparator(Composite parent,
                                    int style,
                                    int verticalSpacing)
Place separator on a composite

Parameters:
parent -
verticalSpacing -

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.