Remote Systems
v6.4.1

com.ibm.etools.systems.files.importexport.jar
Class CreateRemoteJarActionDelegate

java.lang.Object
  extended bycom.ibm.etools.systems.files.importexport.jar.RemoteJarExportActionDelegate
      extended bycom.ibm.etools.systems.files.importexport.jar.CreateRemoteJarActionDelegate

public class CreateRemoteJarActionDelegate
extends com.ibm.etools.systems.files.importexport.jar.RemoteJarExportActionDelegate

This class is an action delegate that creates a remote jar.


Field Summary
protected  IStructuredSelection fSelection
           
 
Constructor Summary
CreateRemoteJarActionDelegate()
           
 
Method Summary
protected  void addToStatus(MultiStatus multiStatus, RemoteJarExportData jarPackage, String defaultMessage, CoreException ex)
           
protected  IFile getDescriptionFile(IStructuredSelection selection)
          Returns the description file for the first description file in the selection.
protected  IFile[] getDescriptionFiles(IStructuredSelection selection)
          Returns a description file for each description file in the selection.
protected  IStructuredSelection getSelection()
           
protected  Shell getShell()
          Returns the active shell.
protected  IWorkbench getWorkbench()
           
protected  RemoteJarExportData readJarPackage(IFile description, MultiStatus readStatus)
          Reads the JAR package spec from file.
 void run(IAction action)
           
 void selectionChanged(IAction action, ISelection selection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fSelection

protected IStructuredSelection fSelection
Constructor Detail

CreateRemoteJarActionDelegate

public CreateRemoteJarActionDelegate()
Method Detail

run

public void run(IAction action)

readJarPackage

protected RemoteJarExportData readJarPackage(IFile description,
                                             MultiStatus readStatus)
Reads the JAR package spec from file.


addToStatus

protected void addToStatus(MultiStatus multiStatus,
                           RemoteJarExportData jarPackage,
                           String defaultMessage,
                           CoreException ex)

getShell

protected Shell getShell()
Returns the active shell.


selectionChanged

public void selectionChanged(IAction action,
                             ISelection selection)
See Also:
IActionDelegate

getDescriptionFile

protected IFile getDescriptionFile(IStructuredSelection selection)
Returns the description file for the first description file in the selection. Use this method if this action is only active if one single file is selected.


getDescriptionFiles

protected IFile[] getDescriptionFiles(IStructuredSelection selection)
Returns a description file for each description file in the selection. Use this method if this action allows multiple selection.


getWorkbench

protected IWorkbench getWorkbench()

getSelection

protected IStructuredSelection getSelection()

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.