|
Administration Tools | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.service.updatesite.CreateSiteUpdateSiteWizardTreatment
public class CreateSiteUpdateSiteWizardTreatment
All treatments necessary to the WizardPage CreateSiteUpdateSiteWizardPage
Constructor Summary | |
---|---|
CreateSiteUpdateSiteWizardTreatment(UpdateSiteWizard wiz)
Construtor |
Method Summary | |
---|---|
boolean |
addCategory(java.lang.String name,
java.lang.String label,
java.lang.String desc,
org.eclipse.swt.widgets.Tree tree)
Add the given category to the map of category and to the tree ONLY if the name of the category don't exist already |
boolean |
addCategory(java.lang.String name,
java.lang.String label,
org.eclipse.swt.widgets.Tree tree)
Add the given category to the map of category and to the tree ONLY if the name of the category don't exist already |
boolean |
categoryExists(java.lang.String name)
|
void |
createSiteXML()
Creates the file site.xml based on the features' map and categories' map |
void |
displayIHMSiteXml(org.eclipse.swt.widgets.Text url_text,
org.eclipse.swt.widgets.Text description_text,
org.eclipse.swt.widgets.Table tableArchive)
Display the IHM of the construction of site.xml file |
void |
displayMapArchive(org.eclipse.swt.widgets.Table tableArchive)
Diplay the map archive in the table of archive mapping |
java.lang.String |
getArch(java.lang.String featureName)
Return attribute arch to a feature |
java.lang.String |
getDesc(java.lang.String categoryName)
Return attribute description to a category |
java.lang.String |
getLabel(java.lang.String categoryName)
Return attribute label to a category |
java.lang.String |
getName(java.lang.String categoryName)
Return attribute name to a category |
java.lang.String |
getNL(java.lang.String featureName)
Return attribute ws to a feature |
java.lang.String |
getOS(java.lang.String featureName)
Return attribute os to a feature |
boolean |
getPatch(java.lang.String featureName)
Return boolean attribute patch of a feature |
java.lang.String |
getURL(java.lang.String featureName)
|
java.lang.String |
getWS(java.lang.String featureName)
Set attribute ws to a feature |
void |
handleAddArchiveMapping(org.eclipse.swt.widgets.Table tableArchive)
Add informations (pathArchiveMapping, urlArchiveMapping) in the Map archiveMapping |
void |
handleDeleteArchiveMapping(java.lang.String selectionName)
Delete an archive mapping Delete the selection from the Map archiveMapping (key=path ; value=url) |
void |
handleDescription(org.eclipse.swt.widgets.Text descriptionText)
Take information about url description |
void |
handlePathMapping(org.eclipse.swt.widgets.Text urlMapping_text)
Take information about archive mapping path |
void |
handleUrlDescription(org.eclipse.swt.widgets.Text urlText)
Take information about url |
void |
handleUrlMapping(org.eclipse.swt.widgets.Text urlMapping_text)
Take information about archive mapping url |
void |
initializeTree(org.eclipse.swt.widgets.Tree tree)
Initialize the given tree with the map of the features of the site Add the choosen features to the site |
void |
readSiteXMLFile()
Reads and initializeas maps if the file site.xml exists already |
void |
setArch(java.lang.String featureName,
java.lang.String Arch)
Set attribute arch to a feature |
void |
setCategoryToFeature(java.lang.String featureName,
java.lang.String categoryName)
Set the attribute category to a feature |
void |
setDesc(java.lang.String categoryName,
java.lang.String desc)
Set attribute description to a category |
void |
setLabel(java.lang.String categoryName,
java.lang.String label)
Set attribute label to a category |
void |
setName(java.lang.String oldName,
java.lang.String newName,
org.eclipse.swt.widgets.TreeItem treeItem)
Set attribute name to a category and update the given tree with this new name |
void |
setNl(java.lang.String featureName,
java.lang.String Nl)
Set attribute nl to a feature |
void |
setOS(java.lang.String featureName,
java.lang.String libOS)
Set attribute os to a feature |
void |
setPatch(java.lang.String featureName,
boolean patch)
Set boolean attribute patch to a feature |
void |
setWin(java.lang.String featureName,
java.lang.String win)
Set attribute win to a feature |
void |
subCategory(org.eclipse.swt.widgets.TreeItem item)
Dispose the category to the map of category and to the treeItem Take all the features included in the category a the end of the parent of item |
void |
updateTree(org.eclipse.swt.widgets.Tree tree)
Draw the tree with the features of the site and with the categories |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CreateSiteUpdateSiteWizardTreatment(UpdateSiteWizard wiz)
wizard
- the parent wizardMethod Detail |
---|
public void initializeTree(org.eclipse.swt.widgets.Tree tree)
tree
- public void updateTree(org.eclipse.swt.widgets.Tree tree)
tree
- public java.lang.String getURL(java.lang.String featureName)
featureName
-
public void setPatch(java.lang.String featureName, boolean patch)
featureName
- patch
- public boolean getPatch(java.lang.String featureName)
featureName
-
public void setOS(java.lang.String featureName, java.lang.String libOS)
featureName
- libOS
- public java.lang.String getOS(java.lang.String featureName)
featureName
-
public java.lang.String getWS(java.lang.String featureName)
featureName
-
public java.lang.String getNL(java.lang.String featureName)
featureName
-
public java.lang.String getArch(java.lang.String featureName)
featureName
-
public void setWin(java.lang.String featureName, java.lang.String win)
featureName
- win
- public void setNl(java.lang.String featureName, java.lang.String Nl)
featureName
- Nl
- public void setArch(java.lang.String featureName, java.lang.String Arch)
featureName
- Arch
- public java.lang.String getName(java.lang.String categoryName)
categoryName
-
public java.lang.String getLabel(java.lang.String categoryName)
categoryName
-
public java.lang.String getDesc(java.lang.String categoryName)
categoryName
-
public void setName(java.lang.String oldName, java.lang.String newName, org.eclipse.swt.widgets.TreeItem treeItem)
categoryName
- name
- treeItem
- public void setLabel(java.lang.String categoryName, java.lang.String label)
categoryName
- label
- public void setDesc(java.lang.String categoryName, java.lang.String desc)
categoryName
- desc
- public boolean addCategory(java.lang.String name, java.lang.String label, org.eclipse.swt.widgets.Tree tree)
name
- of the categorylabel
- of the categorytree
-
public boolean addCategory(java.lang.String name, java.lang.String label, java.lang.String desc, org.eclipse.swt.widgets.Tree tree)
name
- of the categorylabel
- of the categorydesc
- description of the categorytree
-
public void subCategory(org.eclipse.swt.widgets.TreeItem item)
item
- public boolean categoryExists(java.lang.String name)
name
-
public void setCategoryToFeature(java.lang.String featureName, java.lang.String categoryName)
featureName
- categoryName
- public void displayIHMSiteXml(org.eclipse.swt.widgets.Text url_text, org.eclipse.swt.widgets.Text description_text, org.eclipse.swt.widgets.Table tableArchive)
url_text
- description_text
- tableArchive
- public void handleUrlDescription(org.eclipse.swt.widgets.Text urlText)
urlText
- public void handleDescription(org.eclipse.swt.widgets.Text descriptionText)
descriptionText
- public void handleUrlMapping(org.eclipse.swt.widgets.Text urlMapping_text)
urlMapping_text
- public void handlePathMapping(org.eclipse.swt.widgets.Text urlMapping_text)
urlMapping_text
- public void handleAddArchiveMapping(org.eclipse.swt.widgets.Table tableArchive)
tableArhive
- public void handleDeleteArchiveMapping(java.lang.String selectionName)
selectionName
- public void displayMapArchive(org.eclipse.swt.widgets.Table tableArchive)
tableArhive
- public void readSiteXMLFile()
public void createSiteXML()
|
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.