Class AbstractReportPreviewView
java.lang.Object
net.datenwerke.rs.core.client.reportexecutor.ui.ReportExecutorMainPanelView
net.datenwerke.rs.core.client.reportexecutor.ui.preview.AbstractReportPreviewView
- All Implemented Interfaces:
EventHandlerAware,MainPanelAwareView,SelectionAwareView
- Direct Known Subclasses:
GridEditorReportPreviewView,ImageReportPreviewView,JsViewerReportPreviewView,JxlsReportPreviewView,NativeReportPreviewView,SaikuReportPreviewView,SaikuTableReportPreviewView,ScriptReportPreviewView,TableReportPreviewView
public abstract class AbstractReportPreviewView
extends ReportExecutorMainPanelView
implements SelectionAwareView, MainPanelAwareView, EventHandlerAware
This is the common baseclass for all ReportOutputUIs i.e. the preview Tabs
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractReportPreviewView(ReportExecutorDao rexService, HookHandlerService hookHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidabstract Widgetabstract RequestintImageResourcegetIcon()ReportDtoComponentbooleanbooleanvoidmakeAwareOfEventHandler(ExecutorEventHandler eventHandler) voidmakeAwareOfMainPanel(com.sencha.gxt.widget.core.client.Component mainPanel) voidvoidvoidreload()voidsetDelayModalWindowOnExecution(int delayModalWindowOnExecution) voidsetDuringReportExecution(boolean duringReportExecution) voidsetReport(ReportDto reportDto) Sets the report to be displayedvoidsetReportExecutionFailed(boolean reportExecutionFailed) Methods inherited from class net.datenwerke.rs.core.client.reportexecutor.ui.ReportExecutorMainPanelView
allowsDropOf, cleanup, getExecuteReportToken, objectDropped, setExecuteReportToken, validateView, wantsToBeDefault
-
Field Details
-
VIEW_ID
- See Also:
-
-
Constructor Details
-
Method Details
-
getViewId
- Specified by:
getViewIdin classReportExecutorMainPanelView
-
execute
-
getComponentHeader
- Specified by:
getComponentHeaderin classReportExecutorMainPanelView
-
setReport
public void setReport(ReportDto reportDto) Sets the report to be displayed- Parameters:
reportDto-
-
getReport
public ReportDto getReport()- Returns:
- the currently displayed report
-
makeAwareOfSelection
public void makeAwareOfSelection()- Specified by:
makeAwareOfSelectionin interfaceSelectionAwareView
-
makeAwareOfSelectionNoPreview
public void makeAwareOfSelectionNoPreview()- Specified by:
makeAwareOfSelectionNoPreviewin interfaceSelectionAwareView
-
reload
public void reload() -
makeAwareOfMainPanel
public void makeAwareOfMainPanel(com.sencha.gxt.widget.core.client.Component mainPanel) - Specified by:
makeAwareOfMainPanelin interfaceMainPanelAwareView
-
getViewComponent
public Component getViewComponent()- Specified by:
getViewComponentin classReportExecutorMainPanelView
-
doGetViewComponent
public abstract Widget doGetViewComponent() -
getIcon
public ImageResource getIcon()- Overrides:
getIconin classReportExecutorMainPanelView
-
makeAwareOfEventHandler
- Specified by:
makeAwareOfEventHandlerin interfaceEventHandlerAware
-
isReportExecutionFailed
public boolean isReportExecutionFailed() -
setReportExecutionFailed
public void setReportExecutionFailed(boolean reportExecutionFailed) -
isDuringReportExecution
public boolean isDuringReportExecution() -
setDuringReportExecution
public void setDuringReportExecution(boolean duringReportExecution) -
callbackOnExecutionDone
-
setDelayModalWindowOnExecution
public void setDelayModalWindowOnExecution(int delayModalWindowOnExecution) -
getDelayModalWindowOnExecution
public int getDelayModalWindowOnExecution()
-