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 IMAGE_DOCUMENT: return WorkspaceLightTreeResources.INSTANCE.image_document();
case URL_DOCUMENT: return WorkspaceLightTreeResources.INSTANCE.url_document();
// case TIME_SERIES: return WorkspaceLightTreeResources.INSTANCE.timeseries();
// case AQUAMAPS_ITEM: return WorkspaceLightTreeResources.INSTANCE.aquamaps();
// case WORKFLOW_REPORT: return WorkspaceLightTreeResources.INSTANCE.workflow_report();
// case WORKFLOW_TEMPLATE: return WorkspaceLightTreeResources.INSTANCE.workflow_template();
case UNKNOWN_TYPE: return WorkspaceLightTreeResources.INSTANCE.unknownType();
case GCUBE_ITEM: return WorkspaceLightTreeResources.INSTANCE.gucbeItem();
case UNKNOWN_TYPE: return WorkspaceLightTreeResources.INSTANCE.unknown();
default: {
System.err.println("Unknown item type "+item.getType());
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;
/**
* @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 {
/**
* Name error.
*
* @return the string
*/
public String nameError();
}

View File

@ -9,88 +9,237 @@ import com.google.gwt.resources.client.DataResource;
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 static final WorkspaceLightTreeResources INSTANCE = GWT.create(WorkspaceLightTreeResources.class);
/**
* Root.
*
* @return the image resource
*/
@Source("root.png")
ImageResource root();
/**
* Folder.
*
* @return the image resource
*/
@Source("folder.png")
ImageResource folder();
/**
* Shared folder.
*
* @return the image resource
*/
@Source("shared_folder.png")
ImageResource sharedFolder();
/**
* External_image.
*
* @return the image resource
*/
@Source("external_image.gif")
ImageResource external_image();
/**
* External_pdf.
*
* @return the image resource
*/
@Source("external_pdf.gif")
ImageResource external_pdf();
/**
* External_file.
*
* @return the image resource
*/
@Source("external_file.png")
ImageResource external_file();
/**
* External_resource_link.
*
* @return the image resource
*/
@Source("external_resource_link.png")
ImageResource external_resource_link();
/**
* External_url.
*
* @return the image resource
*/
@Source("external_url.png")
ImageResource external_url();
/**
* Report_template.
*
* @return the image resource
*/
@Source("report_template.png")
ImageResource report_template();
/**
* Report.
*
* @return the image resource
*/
@Source("report.png")
ImageResource report();
/**
* Query.
*
* @return the image resource
*/
@Source("query.png")
ImageResource query();
/**
* Document.
*
* @return the image resource
*/
@Source("document.png")
ImageResource document();
/**
* Metadata.
*
* @return the image resource
*/
@Source("metadata.png")
ImageResource metadata();
/**
* Pdf_document.
*
* @return the image resource
*/
@Source("pdf_document.png")
ImageResource pdf_document();
/**
* Image_document.
*
* @return the image resource
*/
@Source("image_document.png")
ImageResource image_document();
/**
* Url_document.
*
* @return the image resource
*/
@Source("url_document.png")
ImageResource url_document();
/**
* Timeseries.
*
* @return the image resource
*/
@Source("timeseries.png")
ImageResource timeseries();
/**
* Aquamaps.
*
* @return the image resource
*/
@Source("aquamaps.png")
ImageResource aquamaps();
/**
* Workflow_report.
*
* @return the image resource
*/
@Source("workflow_report.png")
ImageResource workflow_report();
/**
* Workflow_template.
*
* @return the image resource
*/
@Source("workflow_template.png")
ImageResource workflow_template();
/**
* Unknown type.
*
* @return the image resource
*/
@Source("noimage.png")
ImageResource unknownType();
/**
* Loading.
*
* @return the image resource
*/
@Source("ajax-loader.gif")
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")
DataResource invalidName();
/**
* Css.
*
* @return the workspace light tree css
*/
@Source("WorkspacePortletLightTree.css")
WorkspaceLightTreeCss css();
/**
* Error.
*
* @return the image resource
*/
@Source("error.png")
ImageResource error();
/**
* Refresh.
*
* @return the image resource
*/
@Source("refresh.png")
ImageResource refresh();
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B