2015-05-19 18:54:51 +02:00
|
|
|
package org.gcube.portlets.user.td.rulewidget.client.multicolumn;
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-25 19:02:41 +02:00
|
|
|
import org.gcube.portlets.user.td.rulewidget.client.resources.ResourceBundle;
|
2015-05-19 18:54:51 +02:00
|
|
|
import org.gcube.portlets.user.td.wizardwidget.client.WizardWindow;
|
|
|
|
|
|
|
|
import com.allen_sauer.gwt.log.client.Log;
|
|
|
|
import com.google.web.bindery.event.shared.EventBus;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author giancarlo
|
|
|
|
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
|
|
*
|
|
|
|
*/
|
2015-05-26 14:43:00 +02:00
|
|
|
public class RuleOnTableNewWizard extends WizardWindow {
|
2015-05-25 19:02:41 +02:00
|
|
|
private static final String WIZARDWIDTH = "950px";
|
|
|
|
private static final String WIZARDHEIGHT = "512px";
|
2015-05-19 18:54:51 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @param title
|
|
|
|
* @param eventBus
|
|
|
|
*/
|
2015-05-26 14:43:00 +02:00
|
|
|
public RuleOnTableNewWizard(EventBus eventBus) {
|
|
|
|
super("New Rule On Table",eventBus);
|
|
|
|
Log.debug("RuleOnTableNewWizard");
|
2015-05-25 19:02:41 +02:00
|
|
|
setWidth(WIZARDWIDTH);
|
|
|
|
setHeight(WIZARDHEIGHT);
|
|
|
|
getHeader().setIcon(ResourceBundle.INSTANCE.ruleTableAdd());
|
2015-05-19 18:54:51 +02:00
|
|
|
create();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void create() {
|
2015-05-26 14:43:00 +02:00
|
|
|
RuleOnTableNewDefinitionCard createRuleOnTableDefinitionCard=new RuleOnTableNewDefinitionCard();
|
2015-05-19 18:54:51 +02:00
|
|
|
addCard(createRuleOnTableDefinitionCard);
|
|
|
|
createRuleOnTableDefinitionCard.setup();
|
|
|
|
show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|