256: Workspace explorer

Task-Url: https://support.d4science.org/issues/256

Updated icons

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@117082 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2015-07-08 10:44:50 +00:00
parent bd1cb4a5aa
commit f106ff59dc
5 changed files with 160 additions and 8 deletions

View File

@ -85,12 +85,8 @@ public class Util {
case PDF_DOCUMENT: return WorkspaceLightTreeResources.INSTANCE.pdf_document(); case PDF_DOCUMENT: return WorkspaceLightTreeResources.INSTANCE.pdf_document();
case IMAGE_DOCUMENT: return WorkspaceLightTreeResources.INSTANCE.image_document(); case IMAGE_DOCUMENT: return WorkspaceLightTreeResources.INSTANCE.image_document();
case URL_DOCUMENT: return WorkspaceLightTreeResources.INSTANCE.url_document(); case URL_DOCUMENT: return WorkspaceLightTreeResources.INSTANCE.url_document();
// case TIME_SERIES: return WorkspaceLightTreeResources.INSTANCE.timeseries(); case GCUBE_ITEM: return WorkspaceLightTreeResources.INSTANCE.gucbeItem();
// case AQUAMAPS_ITEM: return WorkspaceLightTreeResources.INSTANCE.aquamaps(); case UNKNOWN_TYPE: return WorkspaceLightTreeResources.INSTANCE.unknown();
// case WORKFLOW_REPORT: return WorkspaceLightTreeResources.INSTANCE.workflow_report();
// case WORKFLOW_TEMPLATE: return WorkspaceLightTreeResources.INSTANCE.workflow_template();
case UNKNOWN_TYPE: return WorkspaceLightTreeResources.INSTANCE.unknownType();
default: { default: {
System.err.println("Unknown item type "+item.getType()); System.err.println("Unknown item type "+item.getType());
return WorkspaceLightTreeResources.INSTANCE.unknownType(); return WorkspaceLightTreeResources.INSTANCE.unknownType();

View File

@ -6,11 +6,18 @@ package org.gcube.portlets.widgets.wsexplorer.client.resources.old;
import com.google.gwt.resources.client.CssResource; import com.google.gwt.resources.client.CssResource;
/** /**
* @author Federico De Faveri defaveri@isti.cnr.it * The Interface WorkspaceLightTreeCss.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
* Jul 8, 2015
*/ */
public interface WorkspaceLightTreeCss extends CssResource { public interface WorkspaceLightTreeCss extends CssResource {
/**
* Name error.
*
* @return the string
*/
public String nameError(); public String nameError();
} }

View File

@ -9,88 +9,237 @@ import com.google.gwt.resources.client.DataResource;
import com.google.gwt.resources.client.ImageResource; import com.google.gwt.resources.client.ImageResource;
/** /**
* @author Federico De Faveri defaveri@isti.cnr.it * The Interface WorkspaceLightTreeResources.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
* Jul 8, 2015
*/ */
public interface WorkspaceLightTreeResources extends ClientBundle { public interface WorkspaceLightTreeResources extends ClientBundle {
public static final WorkspaceLightTreeResources INSTANCE = GWT.create(WorkspaceLightTreeResources.class); public static final WorkspaceLightTreeResources INSTANCE = GWT.create(WorkspaceLightTreeResources.class);
/**
* Root.
*
* @return the image resource
*/
@Source("root.png") @Source("root.png")
ImageResource root(); ImageResource root();
/**
* Folder.
*
* @return the image resource
*/
@Source("folder.png") @Source("folder.png")
ImageResource folder(); ImageResource folder();
/**
* Shared folder.
*
* @return the image resource
*/
@Source("shared_folder.png") @Source("shared_folder.png")
ImageResource sharedFolder(); ImageResource sharedFolder();
/**
* External_image.
*
* @return the image resource
*/
@Source("external_image.gif") @Source("external_image.gif")
ImageResource external_image(); ImageResource external_image();
/**
* External_pdf.
*
* @return the image resource
*/
@Source("external_pdf.gif") @Source("external_pdf.gif")
ImageResource external_pdf(); ImageResource external_pdf();
/**
* External_file.
*
* @return the image resource
*/
@Source("external_file.png") @Source("external_file.png")
ImageResource external_file(); ImageResource external_file();
/**
* External_resource_link.
*
* @return the image resource
*/
@Source("external_resource_link.png") @Source("external_resource_link.png")
ImageResource external_resource_link(); ImageResource external_resource_link();
/**
* External_url.
*
* @return the image resource
*/
@Source("external_url.png") @Source("external_url.png")
ImageResource external_url(); ImageResource external_url();
/**
* Report_template.
*
* @return the image resource
*/
@Source("report_template.png") @Source("report_template.png")
ImageResource report_template(); ImageResource report_template();
/**
* Report.
*
* @return the image resource
*/
@Source("report.png") @Source("report.png")
ImageResource report(); ImageResource report();
/**
* Query.
*
* @return the image resource
*/
@Source("query.png") @Source("query.png")
ImageResource query(); ImageResource query();
/**
* Document.
*
* @return the image resource
*/
@Source("document.png") @Source("document.png")
ImageResource document(); ImageResource document();
/**
* Metadata.
*
* @return the image resource
*/
@Source("metadata.png") @Source("metadata.png")
ImageResource metadata(); ImageResource metadata();
/**
* Pdf_document.
*
* @return the image resource
*/
@Source("pdf_document.png") @Source("pdf_document.png")
ImageResource pdf_document(); ImageResource pdf_document();
/**
* Image_document.
*
* @return the image resource
*/
@Source("image_document.png") @Source("image_document.png")
ImageResource image_document(); ImageResource image_document();
/**
* Url_document.
*
* @return the image resource
*/
@Source("url_document.png") @Source("url_document.png")
ImageResource url_document(); ImageResource url_document();
/**
* Timeseries.
*
* @return the image resource
*/
@Source("timeseries.png") @Source("timeseries.png")
ImageResource timeseries(); ImageResource timeseries();
/**
* Aquamaps.
*
* @return the image resource
*/
@Source("aquamaps.png") @Source("aquamaps.png")
ImageResource aquamaps(); ImageResource aquamaps();
/**
* Workflow_report.
*
* @return the image resource
*/
@Source("workflow_report.png") @Source("workflow_report.png")
ImageResource workflow_report(); ImageResource workflow_report();
/**
* Workflow_template.
*
* @return the image resource
*/
@Source("workflow_template.png") @Source("workflow_template.png")
ImageResource workflow_template(); ImageResource workflow_template();
/**
* Unknown type.
*
* @return the image resource
*/
@Source("noimage.png") @Source("noimage.png")
ImageResource unknownType(); ImageResource unknownType();
/**
* Loading.
*
* @return the image resource
*/
@Source("ajax-loader.gif") @Source("ajax-loader.gif")
ImageResource loading(); ImageResource loading();
/**
* Gucbe item.
*
* @return the image resource
*/
@Source("gucbeItem.png")
ImageResource gucbeItem();
/**
* Unknown.
*
* @return the image resource
*/
@Source("icon-unknown.gif")
ImageResource unknown();
/**
* Invalid name.
*
* @return the data resource
*/
@Source("invalid_name.gif") @Source("invalid_name.gif")
DataResource invalidName(); DataResource invalidName();
/**
* Css.
*
* @return the workspace light tree css
*/
@Source("WorkspacePortletLightTree.css") @Source("WorkspacePortletLightTree.css")
WorkspaceLightTreeCss css(); WorkspaceLightTreeCss css();
/**
* Error.
*
* @return the image resource
*/
@Source("error.png") @Source("error.png")
ImageResource error(); ImageResource error();
/**
* Refresh.
*
* @return the image resource
*/
@Source("refresh.png") @Source("refresh.png")
ImageResource refresh(); ImageResource refresh();
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B