public class TdTemplateController extends Object implements TdTemplateControllerState
| Modifier and Type | Class and Description |
|---|---|
static class |
TdTemplateController.CREATION_STATE
The Enum CREATION_STATE.
|
| Modifier and Type | Field and Description |
|---|---|
protected TdTemplateControllerActions |
actionsController |
static String |
ALL_POST_ACTIONS_AND_LABELS_CREATED_WILL_BE_CANCELLED |
protected TdTemplatePrivateEventsBinder |
binder |
protected TemplateCreationCardLayout |
cardTemplate |
static String |
CONFIRM |
protected int |
height |
protected List<String> |
listLocales |
protected List<TdTTimePeriod> |
listPeriodTypes |
protected com.extjs.gxt.ui.client.widget.LayoutContainer |
mainPanel |
static int |
MAX_ZINDEX |
protected String |
messageBoxTitle |
protected com.extjs.gxt.ui.client.widget.toolbar.ToolBar |
submitTool |
protected TemplateFormSwitcherPanel |
switcher |
protected static TemplateGenerator |
tdGeneretor |
static TdTemplateServiceAsync |
tdTemplateServiceAsync |
protected TemplatePanelActionEdit |
templatePanelActionUpdater |
protected static TemplateRuleHandler |
templateRuleHandler |
protected int |
width |
protected com.extjs.gxt.ui.client.widget.Window |
window |
| Constructor and Description |
|---|
TdTemplateController() |
public static final String CONFIRM
public static final String ALL_POST_ACTIONS_AND_LABELS_CREATED_WILL_BE_CANCELLED
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 TdTemplatePrivateEventsBinder binder
protected List<TdTTimePeriod> listPeriodTypes
protected com.extjs.gxt.ui.client.widget.toolbar.ToolBar submitTool
public static final int MAX_ZINDEX
protected String messageBoxTitle
protected TemplateCreationCardLayout cardTemplate
protected TdTemplateControllerActions actionsController
protected TemplatePanelActionEdit templatePanelActionUpdater
protected void showTemplateViewToActions()
public static void bindCommonBus(com.google.web.bindery.event.shared.EventBus bus)
bus - public int getWindowZIndex()
public int getWindowPositionX()
public int getWindowPositionY()
protected static void bindCommonEvents()
public void submitTemplateDefinition()
submitTemplateDefinition in interface TdTemplateControllerStatepublic void createTemplate(List<TdColumnDefinition> columns, boolean save)
protected void showReportTemplateSaved(ClientReportTemplateSaved result, boolean saved, String messageBoxOkMsg)
protected void validateTemplate(List<TdColumnDefinition> columns, boolean save)
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()
public static TdColumnDefinition createTdColumnDefinitionFromView(ColumnDefinitionView cDefView)
protected void loadLocales()
public Map<String,String> getValueFormatsForPeriodTypeName(String periodTypeName)
periodTypeName - protected void initController()
public void doInitTemplate(TemplateSwitcherInteface switcherInterface)
doInitTemplate in interface TdTemplateControllerStateprotected void activeCard(TdTemplateController.CREATION_STATE state)
protected TemplateCreationCardLayout getCardLayout(TdTemplateController.CREATION_STATE state)
protected 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 templateRuleIndexer)
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()
public List<TdTTimePeriod> getListPeriodTypes()
public com.google.web.bindery.event.shared.EventBus getInternalBus()
public static TemplateRuleHandler getTemplateRuleHandler()
public static void setTemplateRuleHandler(TemplateRuleHandler templateRuleHandler)
templateRuleHandler - the templateRuleHandler to setCopyright © 2015. All Rights Reserved.