|
Administration Tools | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.service.updatesite.BrowseUpdateSiteWizardTreatment
public class BrowseUpdateSiteWizardTreatment
All treatments necessary to the WizardPage BrowseUpdateSiteWizardPage
Constructor Summary | |
---|---|
BrowseUpdateSiteWizardTreatment(UpdateSiteWizard wizard)
Constructor |
Method Summary | |
---|---|
void |
addPluginFeature(java.lang.String nameSelected,
org.eclipse.swt.widgets.Table tableTarget)
Button Action : Add the repository seleceted in the tableSource (Tool administrator) to the tableDestination (Update Site) |
void |
browseToolAdministratorClick(org.eclipse.swt.widgets.Text text,
org.eclipse.swt.widgets.Table table)
Button Action : Browse Directory for the Tool Administrator |
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 |
browseUpdateSiteJarFile(org.eclipse.swt.widgets.Text text,
org.eclipse.swt.widgets.Table table)
Button Action : Browse Directory for the Update Site (jar File) |
void |
browseUpdateSiteSSH(org.eclipse.swt.widgets.Text text,
org.eclipse.swt.widgets.Table table)
Button Action : Browse the Update Site from a SSH server |
boolean |
checkInitialRepository(java.lang.String originalPath)
The goal of this method is to check the presence of the initial structure, i.e : - directory 'features' must existed but can be empty - directory 'plugins' must existed but can be empty If nothing exists, the method creates a new update site with the two empty directories. |
void |
deletePluginFeature(java.lang.String nameSelected,
org.eclipse.swt.widgets.Table tableUS)
Button Action : Delete the repository seleceted in the tableSource (UpdateSite) |
void |
displayMap(java.util.Map map,
org.eclipse.swt.widgets.Table table)
Display the content Map "map" in the table "table" |
void |
filterMap(org.eclipse.swt.widgets.Table table)
Filter the map of the TA path's files Choose only the feature not included in other features |
java.util.Map |
getMapContentRepositoryPluginFeatureTA()
|
java.util.Map |
getMapContentRepositoryPluginFeatureUS()
|
void |
infosFeature(java.lang.String featurePath)
Display informations about feature |
java.util.Map |
initializeMap(java.lang.String repositoryPath)
Initialize a map with the given directory |
java.util.Map |
initializeMapWithJarFile(java.lang.String repositoryPath)
Return the corresponding Map of all 'jar' File from the path repository or file |
void |
noFilterMap(org.eclipse.swt.widgets.Table table)
Initalize the TA map with all files without filter and display it in the table |
java.lang.String |
searchSource(java.lang.String nameSelected,
boolean searchTA)
Search the path source of the selected item in different map (updateSite, add, delete) |
void |
setMapContentRepositoryPluginFeatureTA(java.util.Map mapContentRepositoryPluginFeatureTA)
|
void |
setMapContentRepositoryPluginFeatureUS(java.util.Map mapContentRepositoryPluginFeatureUS)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BrowseUpdateSiteWizardTreatment(UpdateSiteWizard wizard)
wizard
- the parent wizardMethod Detail |
---|
public java.util.Map getMapContentRepositoryPluginFeatureTA()
public void setMapContentRepositoryPluginFeatureTA(java.util.Map mapContentRepositoryPluginFeatureTA)
mapContentRepositoryPluginFeatureTA
- The
mapContentRepositoryPluginFeatureTA to set.public java.util.Map getMapContentRepositoryPluginFeatureUS()
public void setMapContentRepositoryPluginFeatureUS(java.util.Map mapContentRepositoryPluginFeatureUS)
mapContentRepositoryPluginFeatureUS
- The mapContentRepositoryPluginFeatureUS to set.public java.util.Map initializeMap(java.lang.String repositoryPath)
repositoryPath
-
public void displayMap(java.util.Map map, org.eclipse.swt.widgets.Table table)
map
- : key=name; value=SourceDestinationtable
- : location where the map is displaypublic java.util.Map initializeMapWithJarFile(java.lang.String repositoryPath)
repositoryPath
-
public void browseToolAdministratorClick(org.eclipse.swt.widgets.Text text, org.eclipse.swt.widgets.Table table)
text
- : location where the path will be read and writetable
- : location where the content of the repository appearpublic void browseUpdateSiteJarFile(org.eclipse.swt.widgets.Text text, org.eclipse.swt.widgets.Table table)
text
- : location where the path will be read and writetable
- : location where the content of the 'jar' file appearpublic void browseUpdateSiteFTP(org.eclipse.swt.widgets.Text text, org.eclipse.swt.widgets.Table table)
text
- : location where the path will be read and writetable
- : location where the content of the repository appearpublic boolean checkInitialRepository(java.lang.String originalPath)
originalPath
- of the repository
public void browseUpdateSiteSSH(org.eclipse.swt.widgets.Text text, org.eclipse.swt.widgets.Table table)
text
- : location where the path will be read and writetable
- : location where the content of the repository appearpublic void addPluginFeature(java.lang.String nameSelected, org.eclipse.swt.widgets.Table tableTarget)
tableSource
- : Tool Administrator TabletableTarget
- : Update Site Tablepublic void deletePluginFeature(java.lang.String nameSelected, org.eclipse.swt.widgets.Table tableUS)
tableSource
- : Update Site Tablepublic java.lang.String searchSource(java.lang.String nameSelected, boolean searchTA)
nameSelected
- searchTA
-
public void infosFeature(java.lang.String featurePath)
featurePath
- public void filterMap(org.eclipse.swt.widgets.Table table)
table
- public void noFilterMap(org.eclipse.swt.widgets.Table table)
table
-
|
Administration Tools | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.