public link, icon changed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@78976 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c99c9ea7ac
commit
07d7627438
Binary file not shown.
Before Width: | Height: | Size: 913 B After Width: | Height: | Size: 1.7 KiB |
|
@ -112,7 +112,7 @@ public class ContextMenuTree {
|
|||
MenuItem openReportTemplate = new MenuItem();
|
||||
openReportTemplate.setId(WorkspaceOperation.OPEN_REPORT_TEMPLATE.getId());
|
||||
openReportTemplate.setText(ConstantsExplorer.MESSAGE_OPEN_REPORT_TEMPLATE);
|
||||
openReportTemplate.setIcon(Resources.getIconOpenUrl());
|
||||
openReportTemplate.setIcon(Resources.getIconShow());
|
||||
|
||||
openReportTemplate.addSelectionListener(new SelectionListener<MenuEvent>() {
|
||||
public void componentSelected(MenuEvent ce) {
|
||||
|
@ -132,7 +132,7 @@ public class ContextMenuTree {
|
|||
MenuItem openReport = new MenuItem();
|
||||
openReport.setId(WorkspaceOperation.OPEN_REPORT.getId());
|
||||
openReport.setText(ConstantsExplorer.MESSAGE_OPEN_REPORT);
|
||||
openReport.setIcon(Resources.getIconOpenUrl());
|
||||
openReport.setIcon(Resources.getIconShow());
|
||||
|
||||
openReport.addSelectionListener(new SelectionListener<MenuEvent>() {
|
||||
public void componentSelected(MenuEvent ce) {
|
||||
|
|
|
@ -28,7 +28,7 @@ public class DialogPublicLink extends Dialog {
|
|||
|
||||
public DialogPublicLink(String headingTxt, final String itemId) {
|
||||
setButtonAlign(HorizontalAlignment.CENTER);
|
||||
setIcon(Resources.getIconShareLink());
|
||||
setIcon(Resources.getIconPublicLink());
|
||||
vp.setHorizontalAlign(HorizontalAlignment.CENTER);
|
||||
vp.setVerticalAlign(VerticalAlignment.MIDDLE);
|
||||
vp.getElement().getStyle().setPadding(1, Unit.PX);
|
||||
|
|
|
@ -1724,9 +1724,9 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
|
|||
|
||||
workspaceLogger.trace("shareFolder "+ folder.getIdentifier()
|
||||
+ " name: "+ folder.getName()
|
||||
+ " parent name: " + folder.getParentFileModel().getName()
|
||||
// + " parent name: " + folder.getParentFileModel().getName()
|
||||
+ " listContacts size: " + listContacts.size());
|
||||
|
||||
|
||||
// //DEBUG
|
||||
//System.out.println("shareFolder "+ folder.getIdentifier() + " name: "+ folder.getName() + " parent name: " + folder.getParentFileModel().getName() + " listContacts size: " + listContacts.size());
|
||||
|
||||
|
@ -2275,11 +2275,11 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
|
|||
else
|
||||
throw new Exception("Sorry, The Uri resolver service is temporarily unavailable. Please try again later");
|
||||
|
||||
}else{
|
||||
workspaceLogger.warn("ItemId: "+ itemId +" is not a folder item, sent exception Public Link unavailable");
|
||||
throw new Exception("Sorry, The Public Link for selected file is unavailable");
|
||||
}
|
||||
|
||||
workspaceLogger.warn("ItemId: "+ itemId +" is not a folder item, return empty public link");
|
||||
return "";
|
||||
|
||||
|
||||
}catch (Exception e) {
|
||||
workspaceLogger.error("Error getPublicLinkForFolderItemId for item: "+itemId);
|
||||
throw new Exception(e.getMessage());
|
||||
|
|
Loading…
Reference in New Issue