onModuleLoad()
.
*
*
- * ReportGen
class is the Entry point class, defines the main layout of the UI
+ * ReportGeneretor
class is the Entry point class, defines the main layout of the UI
*
* @author Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it
- *
- * @version June 2011 (3.0)
+
*/
public class ReportGenerator implements EntryPoint {
@@ -86,6 +86,8 @@ public class ReportGenerator implements EntryPoint {
private TitleBar titlebar;
+ private HorizontalPanel exportResultsPanel = new HorizontalPanel();
+
private WorkspacePanel workSpacePanel;
private VerticalPanel eastPanel = new VerticalPanel();
@@ -116,6 +118,7 @@ public class ReportGenerator implements EntryPoint {
presenter.setTitleBar(titlebar);
presenter.setWp(workSpacePanel);
presenter.setToolBoxPanel(toolBoxPanel);
+ presenter.setExportsPanel(exportResultsPanel);
mainLayout.add(titlebar);
mainLayout.add(header);
@@ -140,6 +143,7 @@ public class ReportGenerator implements EntryPoint {
divHidden.addStyleName("hasRichTextToolbar");
divHidden.addStyleName("setVisibilityOff");
+ eastPanel.add(exportResultsPanel);
eastPanel.add(workSpacePanel);
eastPanel.add(divHidden);
bottomScrollerPanel.add(eastPanel);
@@ -174,6 +178,7 @@ public class ReportGenerator implements EntryPoint {
});
//showGuidedTour() ;
+ //presenter.showExportSaveOptions("", "", TypeExporter.DOCX, null);
}
private void showGuidedTour() {
diff --git a/src/main/java/org/gcube/portlets/user/reportgenerator/client/ReportService.java b/src/main/java/org/gcube/portlets/user/reportgenerator/client/ReportService.java
index fdf91ff..4cb8f2f 100644
--- a/src/main/java/org/gcube/portlets/user/reportgenerator/client/ReportService.java
+++ b/src/main/java/org/gcube/portlets/user/reportgenerator/client/ReportService.java
@@ -1,19 +1,24 @@
package org.gcube.portlets.user.reportgenerator.client;
import org.gcube.portlets.d4sreporting.common.shared.Model;
-import org.gcube.portlets.d4sreporting.common.shared.Table;
import org.gcube.portlets.d4sreporting.common.shared.RepTimeSeries;
-import org.gcube.portlets.user.reportgenerator.client.model.ExportManifestationType;
+import org.gcube.portlets.d4sreporting.common.shared.Table;
+import org.gcube.portlets.user.exporter.shared.SaveReportFileException;
+import org.gcube.portlets.user.exporter.shared.SaveReportFileExistException;
+import org.gcube.portlets.user.exporter.shared.TypeExporter;
import org.gcube.portlets.user.reportgenerator.shared.SessionInfo;
import com.google.gwt.user.client.rpc.RemoteService;
+import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
/**
* Service interface for server communication
* @author Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it
- * @version november 2008 (0.1)
*/
-
+@RemoteServiceRelativePath("ReportServiceImpl")
public interface ReportService extends RemoteService{
+ String save(String filePath, String workspaceFolderId, String ItemName,
+ TypeExporter type, boolean overwrite)
+ throws SaveReportFileException, SaveReportFileExistException;
/**
* return the first ten records of the timeseries having id as param
* @param sTS .
diff --git a/src/main/java/org/gcube/portlets/user/reportgenerator/client/ReportServiceAsync.java b/src/main/java/org/gcube/portlets/user/reportgenerator/client/ReportServiceAsync.java
index acea9bd..b51b6fc 100644
--- a/src/main/java/org/gcube/portlets/user/reportgenerator/client/ReportServiceAsync.java
+++ b/src/main/java/org/gcube/portlets/user/reportgenerator/client/ReportServiceAsync.java
@@ -1,9 +1,9 @@
package org.gcube.portlets.user.reportgenerator.client;
import org.gcube.portlets.d4sreporting.common.shared.Model;
-import org.gcube.portlets.d4sreporting.common.shared.Table;
import org.gcube.portlets.d4sreporting.common.shared.RepTimeSeries;
-import org.gcube.portlets.user.reportgenerator.client.model.ExportManifestationType;
+import org.gcube.portlets.d4sreporting.common.shared.Table;
+import org.gcube.portlets.user.exporter.shared.TypeExporter;
import org.gcube.portlets.user.reportgenerator.shared.SessionInfo;
import com.google.gwt.user.client.rpc.AsyncCallback;
@@ -11,7 +11,6 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
* * Service interface for server Async communication
* @author Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it
*
- * @version november 2011 (3.0)
*/
public interface ReportServiceAsync {
@@ -74,4 +73,6 @@ public interface ReportServiceAsync {
void readImportedModel(String tempPath,
AsyncCallback
+
+ Exporting Completed Succesfully
+ |
+ ||
+ |
+
+ |
+
+ |
+