public class TdTemplateControllerActions extends Object
| Constructor and Description |
|---|
TdTemplateControllerActions(TdTemplateController baseController,
TemplatePanelActionEdit tPanelActionUpdater)
Instantiates a new td template controller actions.
|
| Modifier and Type | Method and Description |
|---|---|
static org.gcube.portlets.user.tdtemplateoperation.shared.TdColumnData |
convertColumnToTdColumnData(TdColumnDefinition cdef)
Convert column to td column data.
|
List<org.gcube.portlets.user.tdtemplateoperation.shared.action.TabularDataAction> |
getActions()
Gets the actions.
|
List<org.gcube.portlets.user.tdtemplateoperation.shared.action.TabularDataAction> |
getCompletedAction()
Gets the completed action.
|
com.google.web.bindery.event.shared.SimpleEventBus |
getEventBus()
Gets the event bus.
|
TdTemplateController |
getTemplateController()
Gets the template controller.
|
void |
refreshLastOperationLabel(String text,
String subText)
Refresh last operation label.
|
void |
refreshSuggestion(String title,
String text)
Refresh suggestion.
|
protected void |
removeLastAction()
Removes the last action.
|
void |
reset()
Reset.
|
protected void |
setActions(List<org.gcube.portlets.user.tdtemplateoperation.shared.action.TabularDataAction> actions) |
protected void |
showAggregateByTime(List<org.gcube.portlets.user.tdtemplateoperation.shared.TdColumnData> listTimeCL,
String columnName,
List<org.gcube.portlets.user.tdtemplateoperation.shared.TdColumnData> listOthers)
Show aggregate by time.
|
boolean |
undoLatestActions()
Undo latest actions.
|
public TdTemplateControllerActions(TdTemplateController baseController, TemplatePanelActionEdit tPanelActionUpdater)
baseController - the base controllertPanelActionUpdater - the t panel action updaterpublic TdTemplateController getTemplateController()
public static org.gcube.portlets.user.tdtemplateoperation.shared.TdColumnData convertColumnToTdColumnData(TdColumnDefinition cdef)
cdef - the cdefpublic List<org.gcube.portlets.user.tdtemplateoperation.shared.action.TabularDataAction> getCompletedAction()
protected void setActions(List<org.gcube.portlets.user.tdtemplateoperation.shared.action.TabularDataAction> actions)
public void refreshSuggestion(String title, String text)
title - the titletext - the textpublic void refreshLastOperationLabel(String text, String subText)
text - the textsubText - the sub textpublic boolean undoLatestActions()
public List<org.gcube.portlets.user.tdtemplateoperation.shared.action.TabularDataAction> getActions()
public com.google.web.bindery.event.shared.SimpleEventBus getEventBus()
protected void showAggregateByTime(List<org.gcube.portlets.user.tdtemplateoperation.shared.TdColumnData> listTimeCL, String columnName, List<org.gcube.portlets.user.tdtemplateoperation.shared.TdColumnData> listOthers)
listTimeCL - the list time clcolumnName - the column namelistOthers - the list othersprotected void removeLastAction()
public void reset()
Copyright © 2015. All Rights Reserved.