Administration Tools

org.topcased.service.updatesiteproject
Class BrowseUpdateSiteProjectTreatment

java.lang.Object
  extended by org.topcased.service.updatesiteproject.BrowseUpdateSiteProjectTreatment

public class BrowseUpdateSiteProjectTreatment
extends java.lang.Object

This class includes all the treatments necessary to the BrowseUpdateSiteProjectPage


Constructor Summary
BrowseUpdateSiteProjectTreatment(UpdateSiteProjectWizard wizard)
          Constructor
 
Method Summary
 void addFeatureOnProject(java.lang.String nameSelected, org.eclipse.swt.widgets.Table table)
          Add the Jar feature in the target directory table
 void browseProjectFile(org.eclipse.swt.widgets.Text text)
          Button Action : Browse Directory for the project
 void browseUpdateSiteFTP(org.eclipse.swt.widgets.Text text, org.eclipse.swt.widgets.Table table)
          Button Action : Browse the Update Site from a FTP server
 void browseUpdateSiteSSH(org.eclipse.swt.widgets.Text text, org.eclipse.swt.widgets.Table table)
          Button Action : Browse the Update Site from a SSH server
 void browseUpdateSiteWithJarFile(org.eclipse.swt.widgets.Text text, org.eclipse.swt.widgets.Table table)
          Button Action : Browse Directory for the Update Site (jar File)
 void deleteFeatureFromProject(java.lang.String nameSelected, org.eclipse.swt.widgets.Table table_PA)
          Delete Jar feature from the table table_PA
 void displayMap(java.util.Map map, org.eclipse.swt.widgets.Table table)
          Display the content Map "map" in the table "table"
 void getFeatureInformation(java.lang.String realfeaturePath, java.lang.String tempFeaturePath)
          Display information about a given feature
 java.util.Map getMapTD()
           
 java.util.Map getMapUS()
           
 java.util.Map initializeMapFTP(org.eclipse.ftp.internal.FTPClient clientFTP)
          Initialize a Map from a FTP server
 java.util.Map initializeMapWithJarFile(java.lang.String repositoryPath)
          Return the corresponding Map of all 'jar' File from the path repository or file
 java.lang.String searchSource(java.lang.String nameSelected, boolean search)
          Search the source path of the selected item in different existing map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowseUpdateSiteProjectTreatment

public BrowseUpdateSiteProjectTreatment(UpdateSiteProjectWizard wizard)
Constructor

Parameters:
wizard - the parent wizard
Method Detail

getMapUS

public java.util.Map getMapUS()

getMapTD

public java.util.Map getMapTD()

addFeatureOnProject

public void addFeatureOnProject(java.lang.String nameSelected,
                                org.eclipse.swt.widgets.Table table)
Add the Jar feature in the target directory table

Parameters:
nameSelected -

deleteFeatureFromProject

public void deleteFeatureFromProject(java.lang.String nameSelected,
                                     org.eclipse.swt.widgets.Table table_PA)
Delete Jar feature from the table table_PA

Parameters:
nameSelected -

browseProjectFile

public void browseProjectFile(org.eclipse.swt.widgets.Text text)
Button Action : Browse Directory for the project

Parameters:
text - : location where the path will be read and write

browseUpdateSiteWithJarFile

public void browseUpdateSiteWithJarFile(org.eclipse.swt.widgets.Text text,
                                        org.eclipse.swt.widgets.Table table)
Button Action : Browse Directory for the Update Site (jar File)

Parameters:
text - : location where the path will be read and write
table - : location where the content of the 'jar' file appear

initializeMapWithJarFile

public java.util.Map initializeMapWithJarFile(java.lang.String repositoryPath)
Return the corresponding Map of all 'jar' File from the path repository or file

Parameters:
repositoryPath -
Returns:
Map : key=name, value=SourceDestination

displayMap

public void displayMap(java.util.Map map,
                       org.eclipse.swt.widgets.Table table)
Display the content Map "map" in the table "table"

Parameters:
map - : key=name; value=SourceDestination
table - : location where the map is display

browseUpdateSiteFTP

public void browseUpdateSiteFTP(org.eclipse.swt.widgets.Text text,
                                org.eclipse.swt.widgets.Table table)
Button Action : Browse the Update Site from a FTP server

Parameters:
text - : location where the path will be read and write
table - : location where the content of the repository appear

initializeMapFTP

public java.util.Map initializeMapFTP(org.eclipse.ftp.internal.FTPClient clientFTP)
Initialize a Map from a FTP server

Parameters:
clientFTP - the FTP client
Returns:
the Map containing the feature of the Update Site path "/features"

browseUpdateSiteSSH

public void browseUpdateSiteSSH(org.eclipse.swt.widgets.Text text,
                                org.eclipse.swt.widgets.Table table)
Button Action : Browse the Update Site from a SSH server

Parameters:
text - : location where the path will be read and write
table - : location where the content of the repository appear

searchSource

public java.lang.String searchSource(java.lang.String nameSelected,
                                     boolean search)
Search the source path of the selected item in different existing map

Parameters:
nameSelected -
search -
Returns:
absolute path

getFeatureInformation

public void getFeatureInformation(java.lang.String realfeaturePath,
                                  java.lang.String tempFeaturePath)
Display information about a given feature

Parameters:
realfeaturePath - The real path of the feature
tempFeaturePath - The temporary path where the feature can be accessed

Administration Tools

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.