comments red
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/reports@69342 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
98fb9756dc
commit
3cd598aeac
|
@ -1,10 +1,12 @@
|
|||
package org.gcube.portlets.user.reportgenerator.client.dialog;
|
||||
|
||||
import org.gcube.portlets.d4sreporting.common.client.ImageConstants;
|
||||
import org.gcube.portlets.d4sreporting.common.client.uicomponents.resources.Images;
|
||||
import org.gcube.portlets.user.reportgenerator.client.events.AddCommentEvent;
|
||||
import org.gcube.portlets.user.reportgenerator.client.events.RemovedUserCommentEvent;
|
||||
import org.gcube.portlets.user.reportgenerator.client.targets.ReportTextArea;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.event.dom.client.ClickEvent;
|
||||
import com.google.gwt.event.dom.client.ClickHandler;
|
||||
import com.google.gwt.event.shared.HandlerManager;
|
||||
|
@ -21,7 +23,7 @@ public class CommentDialog extends DialogBox {
|
|||
VerticalPanel mainPanel = new VerticalPanel();
|
||||
AbsolutePanel header = new AbsolutePanel();
|
||||
TextArea area;
|
||||
|
||||
Images images = GWT.create(Images.class);
|
||||
public CommentDialog(final HandlerManager eventBus, final ReportTextArea source, final String username, final String previousComment, int areaHeight) {
|
||||
super(true);
|
||||
setStyleName("comment-popup");
|
||||
|
@ -39,7 +41,7 @@ public class CommentDialog extends DialogBox {
|
|||
setSize(PANEL_WIDTH+"px", "100px");
|
||||
header.setPixelSize(PANEL_WIDTH, 15);
|
||||
final Image enterImage = new Image(ImageConstants.IMAGE_ARROW_ENTER);
|
||||
final Image closeImage = new Image(ImageConstants.IMAGE_CLOSE_15x15);
|
||||
final Image closeImage = new Image(images.close());
|
||||
final Image binImage = new Image(ImageConstants.IMAGE_BIN);
|
||||
closeImage.setStyleName("selectable");
|
||||
binImage.setStyleName("selectable");
|
||||
|
|
|
@ -276,7 +276,7 @@ public class TemplateModel {
|
|||
this.templateName = toLoad.getTemplateName();
|
||||
this.pageWidth = toLoad.getPageWidth();
|
||||
this.pageHeight = toLoad.getPageHeight();
|
||||
this.currentPage = 1;
|
||||
this.currentPage = toLoad.getCurrPage();
|
||||
this.totalPages = toLoad.getTotalPages();
|
||||
this.marginLeft = toLoad.getMarginLeft();
|
||||
this.marginRight = toLoad.getMarginRight();
|
||||
|
|
|
@ -1093,7 +1093,7 @@ public class ReportServiceImpl extends RemoteServiceServlet implements ReportSe
|
|||
return d4Session.getAttribute(CURRENT_REPORT_ID_ATTRIBUTE).toString();
|
||||
}
|
||||
/**
|
||||
* used to save the report in the same basket *
|
||||
* used to save the report in the same folder *
|
||||
*/
|
||||
public void saveReport() {
|
||||
Workspace root = null;
|
||||
|
@ -1135,7 +1135,7 @@ public class ReportServiceImpl extends RemoteServiceServlet implements ReportSe
|
|||
|
||||
|
||||
/**
|
||||
* @param basketidToSaveIn .
|
||||
* @param save a report in another folder .
|
||||
*
|
||||
*/
|
||||
public void saveReport(String folderid, String newname) {
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Reference in New Issue