public class TdTemplateController extends Object implements TdTemplateControllerState
| Modifier and Type | Field and Description |
|---|---|
protected int |
height |
protected List<String> |
listLocales |
protected List<String> |
listPeriodTypes |
protected com.extjs.gxt.ui.client.widget.LayoutContainer |
mainPanel |
static int |
MAX_ZINDEX |
protected String |
messageBoxMsg |
protected String |
messageBoxTitle |
protected com.extjs.gxt.ui.client.widget.toolbar.ToolBar |
submitTool |
protected TemplateFormSwitcherPanel |
switcher |
protected static TemplateGenerator |
tdGeneretor |
static TdTemplateServiceAsync |
tdTemplateServiceAsync |
protected static TemplateRuleHandler |
templateRuleHandler |
protected int |
width |
protected com.extjs.gxt.ui.client.widget.Window |
window |
| Constructor and Description |
|---|
TdTemplateController() |
| Modifier and Type | Method and Description |
|---|---|
static void |
bindCommonBus(com.google.web.bindery.event.shared.EventBus bus) |
protected static void |
bindCommonEvents() |
void |
createTemplate(List<TdColumnDefinition> columns) |
void |
displayError(String title,
String error) |
void |
doInitTemplate(TemplateSwitcherInteface switcherInterface) |
void |
doUpdateTemplate() |
List<String> |
getAllowedLocales() |
static com.google.web.bindery.event.shared.EventBus |
getCommonBus() |
protected DialogResult |
getDialog(com.google.gwt.user.client.ui.Image img,
String title,
String msg) |
static com.google.web.bindery.event.shared.EventBus |
getInternalBus() |
List<String> |
getListPeriodTypes() |
LocaleViewManager |
getLocaleViewManager() |
com.extjs.gxt.ui.client.widget.toolbar.ToolBar |
getSubmitTool() |
protected List<TdColumnDefinition> |
getTdColumnDefintions() |
static TemplateGenerator |
getTdGeneretor() |
TemplateRuleHandler |
getTemplateRuleUpdater() |
com.extjs.gxt.ui.client.widget.Window |
getWindowTemplatePanel()
Use for GXT 2.5
|
int |
getWindowZIndex() |
protected void |
go(com.google.gwt.user.client.ui.RootPanel rootPanel) |
protected void |
initController() |
protected void |
initLocaleManager(TemplateSwitcherInteface switcherInterface) |
protected void |
initToolbarSubmit() |
protected void |
loadLocales() |
void |
setExpressionDialogIndexesUpdate(TemplateRuleHandler indexes) |
protected void |
showReportTemplateSaved(ClientReportTemplateSaved result) |
protected void |
showViolations(List<TdColumnDefinition> columns) |
void |
submitTemplateDefinition() |
protected void |
validateTemplate(List<TdColumnDefinition> columns) |
protected TemplateFormSwitcherPanel switcher
protected final com.extjs.gxt.ui.client.widget.LayoutContainer mainPanel
protected int width
protected int height
protected static TemplateRuleHandler templateRuleHandler
public static final TdTemplateServiceAsync tdTemplateServiceAsync
protected static TemplateGenerator tdGeneretor
protected com.extjs.gxt.ui.client.widget.Window window
protected com.extjs.gxt.ui.client.widget.toolbar.ToolBar submitTool
public static final int MAX_ZINDEX
protected String messageBoxTitle
protected String messageBoxMsg
public static com.google.web.bindery.event.shared.EventBus getInternalBus()
public static void bindCommonBus(com.google.web.bindery.event.shared.EventBus bus)
bus - public int getWindowZIndex()
protected static void bindCommonEvents()
protected void initToolbarSubmit()
public void submitTemplateDefinition()
submitTemplateDefinition in interface TdTemplateControllerStatepublic void createTemplate(List<TdColumnDefinition> columns)
protected void showReportTemplateSaved(ClientReportTemplateSaved result)
protected void validateTemplate(List<TdColumnDefinition> columns)
protected void showViolations(List<TdColumnDefinition> columns)
protected DialogResult getDialog(com.google.gwt.user.client.ui.Image img, String title, String msg)
protected List<TdColumnDefinition> getTdColumnDefintions()
protected void loadLocales()
protected void initController()
public void doInitTemplate(TemplateSwitcherInteface switcherInterface)
doInitTemplate in interface TdTemplateControllerStateprotected void initLocaleManager(TemplateSwitcherInteface switcherInterface)
public com.extjs.gxt.ui.client.widget.Window getWindowTemplatePanel()
protected void go(com.google.gwt.user.client.ui.RootPanel rootPanel)
public static com.google.web.bindery.event.shared.EventBus getCommonBus()
public static TemplateGenerator getTdGeneretor()
public TemplateRuleHandler getTemplateRuleUpdater()
getTemplateRuleUpdater in interface TdTemplateControllerStatepublic void setExpressionDialogIndexesUpdate(TemplateRuleHandler indexes)
setExpressionDialogIndexesUpdate in interface TdTemplateControllerStatepublic void doUpdateTemplate()
doUpdateTemplate in interface TdTemplateControllerStatepublic com.extjs.gxt.ui.client.widget.toolbar.ToolBar getSubmitTool()
getSubmitTool in interface TdTemplateControllerStatepublic LocaleViewManager getLocaleViewManager()
Copyright © 2014. All Rights Reserved.