Minor updated
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-open-widget@84519 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7990b7a6a7
commit
4932e11380
|
@ -39,6 +39,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="Open";
|
||||
protected final String BUTTONFINISHLABEL="Finish";
|
||||
|
||||
|
||||
protected ArrayList<WizardCard> cardStack = new ArrayList<WizardCard>();
|
||||
|
||||
|
@ -100,14 +104,14 @@ 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.setVisible(false);
|
||||
backButton.setTabIndex(1001);
|
||||
toolbar.add(backButton);
|
||||
toolbar.add(new FillToolItem());
|
||||
|
||||
nextButton = new TextButton("Open");
|
||||
nextButton = new TextButton(BUTTONNEXTLABEL);
|
||||
nextButton.setEnabled(false);
|
||||
nextButton.setTabIndex(1000);
|
||||
toolbar.add(nextButton);
|
||||
|
@ -256,7 +260,7 @@ public class WizardWindow extends Window {
|
|||
WizardCard card = cardStack.get(newPos);
|
||||
cardContainer.setActiveWidget(card);
|
||||
doLayout();
|
||||
//if (card instanceof WizardCard) ((WizardCard)card).setup();
|
||||
|
||||
card.setup();
|
||||
}
|
||||
|
||||
|
@ -294,7 +298,7 @@ public class WizardWindow extends Window {
|
|||
public void setNextButtonToFinish()
|
||||
{
|
||||
finish=true;
|
||||
nextButton.setText("Finish");
|
||||
nextButton.setText(BUTTONFINISHLABEL);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue