Minor updated

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-csv-import-widget@84518 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-10-29 09:24:21 +00:00
parent 449f2d3919
commit a532d786b1
1 changed files with 7 additions and 3 deletions

View File

@ -37,6 +37,10 @@ public class WizardWindow extends Window {
protected final String WIZARDHEIGHT = "480px";
protected final boolean WIZARRESIZABLE = false;
protected final boolean WIZARDCOLLAPSIBLE = true;
protected final String BUTTONBACKLABEL="Back";
protected final String BUTTONNEXTLABEL="Next";
protected final String BUTTONFINISHLABEL="Finish";
protected ArrayList<WizardCard> cardStack = new ArrayList<WizardCard>();
@ -89,13 +93,13 @@ public class WizardWindow extends Window {
ToolBar toolbar = new ToolBar();
toolbar.addStyleName(ThemeStyles.getStyle().borderTop());
backButton = new TextButton("Back");
backButton = new TextButton(BUTTONBACKLABEL);
backButton.setEnabled(false);
backButton.setTabIndex(1001);
toolbar.add(backButton);
toolbar.add(new FillToolItem());
nextButton = new TextButton("Next");
nextButton = new TextButton(BUTTONNEXTLABEL);
nextButton.setTabIndex(1000);
toolbar.add(nextButton);
@ -257,7 +261,7 @@ public class WizardWindow extends Window {
* to it.
*/
public void setNextButtonToFinish() {
nextButton.setText("Finish");
nextButton.setText(BUTTONFINISHLABEL);
nextButtonAction = new Command() {
public void execute() {