Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-wizard-widget@114871 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
93448968e6
commit
6724355974
|
@ -48,6 +48,7 @@ public class WizardWindow extends Window {
|
|||
protected String BUTTONBACKLABEL = "Back";
|
||||
protected String BUTTONNEXTLABEL = "Next";
|
||||
protected String BUTTONFINISHLABEL = "Finish";
|
||||
protected String title;
|
||||
|
||||
protected ArrayList<WizardCard> cardStack = new ArrayList<WizardCard>();
|
||||
|
||||
|
@ -75,6 +76,7 @@ public class WizardWindow extends Window {
|
|||
|
||||
protected FillToolItem fillSpacingCardMoveToolBar;
|
||||
|
||||
|
||||
/**
|
||||
* Create a new Wizard Window with the specified title.
|
||||
*
|
||||
|
@ -88,19 +90,11 @@ public class WizardWindow extends Window {
|
|||
|
||||
public WizardWindow(String title, EventBus eventBus) {
|
||||
super();
|
||||
this.title=title;
|
||||
this.eventBus = eventBus;
|
||||
Log.info(title);
|
||||
// setModal(true);
|
||||
setResizable(WIZARRESIZABLE);
|
||||
setCollapsible(WIZARDCOLLAPSIBLE);
|
||||
setWidth(WIZARDWIDTH);
|
||||
setHeight(WIZARDHEIGHT);
|
||||
|
||||
initWindow();
|
||||
|
||||
listeners = new ArrayList<WizardListener>();
|
||||
|
||||
setHeadingText(title);
|
||||
this.originalTitle = title;
|
||||
|
||||
VerticalLayoutContainer container = new VerticalLayoutContainer();
|
||||
|
||||
cardContainer = new CardLayoutContainer();
|
||||
|
@ -160,6 +154,17 @@ public class WizardWindow extends Window {
|
|||
setWidget(container);
|
||||
}
|
||||
|
||||
protected void initWindow() {
|
||||
Log.info(title);
|
||||
// setModal(true);
|
||||
setResizable(WIZARRESIZABLE);
|
||||
setCollapsible(WIZARDCOLLAPSIBLE);
|
||||
setWidth(WIZARDWIDTH);
|
||||
setHeight(WIZARDHEIGHT);
|
||||
setHeadingText(title);
|
||||
this.originalTitle = title;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue