2013-02-06 15:40:17 +01:00
|
|
|
package org.gcube.portlets.user.workspace.client.resources;
|
|
|
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.interfaces.GXTFolderItemTypeEnum;
|
|
|
|
|
|
|
|
import com.google.gwt.core.client.GWT;
|
|
|
|
import com.google.gwt.resources.client.ImageResource;
|
|
|
|
import com.google.gwt.user.client.ui.AbstractImagePrototype;
|
|
|
|
|
|
|
|
/**
|
2015-07-14 15:10:42 +02:00
|
|
|
* The Class Resources.
|
2013-02-06 15:40:17 +01:00
|
|
|
*
|
2015-07-14 15:10:42 +02:00
|
|
|
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
|
2013-02-06 15:40:17 +01:00
|
|
|
*/
|
|
|
|
public class Resources {
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2013-02-06 15:40:17 +01:00
|
|
|
public static final Icons ICONS = GWT.create(Icons.class);
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2013-02-06 15:40:17 +01:00
|
|
|
private static final String XML = "xml";
|
|
|
|
private static final String JAVA = "java";
|
|
|
|
private static final String HTML = "html";
|
2013-02-11 10:38:16 +01:00
|
|
|
private static final String XHTLXML = "xhtml+xml";
|
2013-02-06 15:40:17 +01:00
|
|
|
private static final String GIF = "gif";
|
|
|
|
private static final String PNG = "png";
|
|
|
|
private static final String JPEG = "jpeg";
|
|
|
|
private static final String JPG = "jpg";
|
|
|
|
private static final String PDF = "pdf";
|
|
|
|
private static final String TIFF = "tiff";
|
|
|
|
private static final String SVG = "svg";
|
|
|
|
private static final String MSWORD = "msword";
|
2013-03-25 11:14:26 +01:00
|
|
|
private static final String DOC = "doc";
|
|
|
|
private static final String DOCX = "vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
|
|
private static final String EXCEL = "vnd.ms-excel";
|
2013-02-06 15:40:17 +01:00
|
|
|
private static final String TXT = "plain";
|
|
|
|
private static final String MPEG = "mpeg";
|
|
|
|
private static final String SWF = "swf";
|
|
|
|
private static final String FLV = "flv";
|
2013-02-11 10:38:16 +01:00
|
|
|
private static final String AVI = "avi";
|
2016-02-24 11:00:19 +01:00
|
|
|
private static final String CSV = "csv";
|
2013-03-25 11:14:26 +01:00
|
|
|
private static final String PPT = "vnd.ms-powerpoint";
|
|
|
|
private static final String PPTX = "vnd.openxmlformats-officedocument.presentationml.presentation";
|
2016-02-24 11:00:19 +01:00
|
|
|
private static final String XSLX = "vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
|
|
private static final String ODP = "vnd.oasis.opendocument.presentation";
|
|
|
|
private static final String ODT = "vnd.oasis.opendocument.text";
|
|
|
|
private static final String ODS = "vnd.oasis.opendocument.spreadsheet";
|
|
|
|
private static final String OTT = "vnd.oasis.opendocument.text-template";
|
|
|
|
private static final String ODG = "application/vnd.oasis.opendocument.graphics";
|
2015-07-14 15:10:42 +02:00
|
|
|
private static final String XTEX = "x-tex";
|
|
|
|
private static final String ZIP = "zip";
|
2015-07-14 15:45:34 +02:00
|
|
|
private static final String SEVEN_ZIP = "x-7z-compressed";
|
2015-07-14 15:10:42 +02:00
|
|
|
private static final String POSTSCRIPT = "postscript";
|
|
|
|
private static final String DVI = "x-dvi";
|
|
|
|
private static final String X_SH = "x-sh";
|
|
|
|
private static final String X_SHELLSCRIPT = "x-shellscript";
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:45:34 +02:00
|
|
|
private static final String X_BZIP = "x-bzip";
|
|
|
|
private static final String RAR = "x-rar-compressed";
|
|
|
|
private static final String GZIP = "gzip";
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:45:34 +02:00
|
|
|
private static final String WAR ="x-tika-java-web-archive";
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the cloud drive icon.
|
|
|
|
*
|
|
|
|
* @return the cloud drive icon
|
|
|
|
*/
|
2014-10-28 17:12:40 +01:00
|
|
|
public static AbstractImagePrototype getCloudDriveIcon(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.cloudDrive());
|
2014-10-28 17:12:40 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon x tex.
|
|
|
|
*
|
|
|
|
* @return the icon x tex
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconXTex(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.tex());
|
2015-07-14 15:10:42 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2016-07-04 10:42:03 +02:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the data catalogue publish.
|
|
|
|
*
|
|
|
|
* @return the data catalogue publish
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconDataCataloguePublish(){
|
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.datacataloguepublish());
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon postscript.
|
|
|
|
*
|
|
|
|
* @return the icon postscript
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconPostscript(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.postscript());
|
2015-07-14 15:10:42 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon dvi.
|
|
|
|
*
|
|
|
|
* @return the icon dvi
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconDvi(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.dvi());
|
2015-07-14 15:10:42 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-11-06 15:23:56 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the icon information.
|
|
|
|
*
|
|
|
|
* @return the icon information
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconInformation(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.information());
|
2015-11-06 15:23:56 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2016-09-15 16:42:20 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the icon folder shared public.
|
|
|
|
*
|
|
|
|
* @return the icon folder shared public
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconFolderSharedPublic(){
|
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.folderSharedPublic());
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-11-06 15:23:56 +01:00
|
|
|
/**
|
|
|
|
* Gets the icon information.
|
|
|
|
*
|
|
|
|
* @return the icon information
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconAbout(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.about());
|
2015-11-06 15:23:56 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon shell.
|
|
|
|
*
|
|
|
|
* @return the icon shell
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconShell(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.shell());
|
2015-07-14 15:10:42 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon zip.
|
|
|
|
*
|
|
|
|
* @return the icon zip
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconZip(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.zip());
|
2015-07-14 15:10:42 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon odp.
|
|
|
|
*
|
|
|
|
* @return the icon odp
|
|
|
|
*/
|
2015-07-14 12:34:25 +02:00
|
|
|
public static AbstractImagePrototype getIconOdp(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.odp());
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the icon odp.
|
|
|
|
*
|
|
|
|
* @return the icon odp
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconOds(){
|
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.ods());
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the icon odp.
|
|
|
|
*
|
|
|
|
* @return the icon odp
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconOdg(){
|
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.odg());
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-09-13 16:52:28 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon folder link.
|
|
|
|
*
|
|
|
|
* @return the icon folder link
|
|
|
|
*/
|
2016-09-15 16:42:20 +02:00
|
|
|
public static AbstractImagePrototype getIconFolderPublic(){
|
2016-09-13 16:52:28 +02:00
|
|
|
|
2016-09-15 16:42:20 +02:00
|
|
|
return AbstractImagePrototype.create(ICONS.folderPublic());
|
2016-09-13 16:52:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-02-24 11:00:19 +01:00
|
|
|
/**
|
|
|
|
* Gets the icon odp.
|
|
|
|
*
|
|
|
|
* @return the icon odp
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconOtt(){
|
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.ott());
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the icon odp.
|
|
|
|
*
|
|
|
|
* @return the icon odp
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconOdt(){
|
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.odt());
|
2015-07-14 12:34:25 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon table.
|
|
|
|
*
|
|
|
|
* @return the icon table
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconTable(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.table());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon recycle.
|
|
|
|
*
|
|
|
|
* @return the icon recycle
|
|
|
|
*/
|
2014-05-13 17:46:06 +02:00
|
|
|
public static AbstractImagePrototype getIconRecycle(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.recycle());
|
2014-05-13 17:46:06 +02:00
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon undo.
|
|
|
|
*
|
|
|
|
* @return the icon undo
|
|
|
|
*/
|
2014-05-13 17:46:06 +02:00
|
|
|
public static AbstractImagePrototype getIconUndo(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.undo());
|
2014-05-13 17:46:06 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:45:34 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the icon archive.
|
|
|
|
*
|
|
|
|
* @return the icon archive
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconArchive(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.archive());
|
2015-07-14 15:45:34 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon link.
|
|
|
|
*
|
|
|
|
* @return the icon link
|
|
|
|
*/
|
2014-09-03 15:52:14 +02:00
|
|
|
public static AbstractImagePrototype getIconLink(){
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.extLink());
|
2014-09-03 15:52:14 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon share link.
|
|
|
|
*
|
|
|
|
* @return the icon share link
|
|
|
|
*/
|
2013-06-07 14:07:37 +02:00
|
|
|
public static AbstractImagePrototype getIconShareLink(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.shareLink());
|
2013-06-07 14:07:37 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the trash full.
|
|
|
|
*
|
|
|
|
* @return the trash full
|
|
|
|
*/
|
2014-05-13 17:46:06 +02:00
|
|
|
public static AbstractImagePrototype getTrashFull(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.trash_full());
|
2014-05-13 17:46:06 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the trash empty.
|
|
|
|
*
|
|
|
|
* @return the trash empty
|
|
|
|
*/
|
2014-05-13 17:46:06 +02:00
|
|
|
public static AbstractImagePrototype getTrashEmpty(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.trash_empty());
|
2014-01-13 17:11:09 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon create new.
|
|
|
|
*
|
|
|
|
* @return the icon create new
|
|
|
|
*/
|
2013-05-27 18:25:10 +02:00
|
|
|
public static AbstractImagePrototype getIconCreateNew(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.createNew());
|
2013-05-27 18:25:10 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon vre folder.
|
|
|
|
*
|
|
|
|
* @return the icon vre folder
|
|
|
|
*/
|
2014-02-13 16:12:37 +01:00
|
|
|
public static AbstractImagePrototype getIconVREFolder(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.vreFolder());
|
2014-02-13 16:12:37 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon ppt.
|
|
|
|
*
|
|
|
|
* @return the icon ppt
|
|
|
|
*/
|
2013-03-25 11:14:26 +01:00
|
|
|
public static AbstractImagePrototype getIconPpt(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.ppt());
|
2013-03-25 11:14:26 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon excel.
|
|
|
|
*
|
|
|
|
* @return the icon excel
|
|
|
|
*/
|
2013-03-25 11:14:26 +01:00
|
|
|
public static AbstractImagePrototype getIconExcel(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.excel());
|
2013-03-25 11:14:26 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon users.
|
|
|
|
*
|
|
|
|
* @return the icon users
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconUsers(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.users());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon gcube item.
|
|
|
|
*
|
|
|
|
* @return the icon gcube item
|
|
|
|
*/
|
2015-07-03 14:50:07 +02:00
|
|
|
public static AbstractImagePrototype getIconGcubeItem(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.gcubeItem());
|
2015-07-03 14:50:07 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon share user.
|
|
|
|
*
|
|
|
|
* @return the icon share user
|
|
|
|
*/
|
2014-03-10 17:33:33 +01:00
|
|
|
public static AbstractImagePrototype getIconShareUser(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.user());
|
2014-03-10 17:33:33 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon share group.
|
|
|
|
*
|
|
|
|
* @return the icon share group
|
|
|
|
*/
|
2014-03-10 17:33:33 +01:00
|
|
|
public static AbstractImagePrototype getIconShareGroup(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.groupusers());
|
2014-03-10 17:33:33 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon special folder.
|
|
|
|
*
|
|
|
|
* @return the icon special folder
|
|
|
|
*/
|
2014-03-05 17:45:33 +01:00
|
|
|
public static AbstractImagePrototype getIconSpecialFolder(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.specialFolder());
|
2014-03-05 17:45:33 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon administrator.
|
|
|
|
*
|
|
|
|
* @return the icon administrator
|
|
|
|
*/
|
2014-02-18 17:15:20 +01:00
|
|
|
public static AbstractImagePrototype getIconAdministrator(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.administrator());
|
2014-02-18 17:15:20 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon cut.
|
|
|
|
*
|
|
|
|
* @return the icon cut
|
|
|
|
*/
|
2013-05-24 18:18:14 +02:00
|
|
|
public static AbstractImagePrototype getIconCut(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.cut());
|
2013-05-24 18:18:14 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon info.
|
|
|
|
*
|
|
|
|
* @return the icon info
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconInfo(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.info());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon shared folder.
|
|
|
|
*
|
|
|
|
* @return the icon shared folder
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconSharedFolder(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.sharedFolder());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon csv.
|
|
|
|
*
|
|
|
|
* @return the icon csv
|
|
|
|
*/
|
2013-02-11 10:38:16 +01:00
|
|
|
public static AbstractImagePrototype getIconCsv(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.csv());
|
2013-02-11 10:38:16 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon read.
|
|
|
|
*
|
|
|
|
* @return the icon read
|
|
|
|
*/
|
2013-05-23 19:03:43 +02:00
|
|
|
public static AbstractImagePrototype getIconRead(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.read());
|
2013-05-23 19:03:43 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon not read.
|
|
|
|
*
|
|
|
|
* @return the icon not read
|
|
|
|
*/
|
2013-05-23 19:03:43 +02:00
|
|
|
public static AbstractImagePrototype getIconNotRead(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.notread());
|
2013-05-23 19:03:43 +02:00
|
|
|
}
|
2013-02-11 10:38:16 +01:00
|
|
|
|
2013-02-06 15:40:17 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the close icon.
|
|
|
|
*
|
|
|
|
* @return the close icon
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getCloseIcon(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.close());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon gif.
|
|
|
|
*
|
|
|
|
* @return the icon gif
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconGif(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.gif());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon jpeg.
|
|
|
|
*
|
|
|
|
* @return the icon jpeg
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconJpeg(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.jpeg());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon svg.
|
|
|
|
*
|
|
|
|
* @return the icon svg
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconSvg(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.svg());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon png.
|
|
|
|
*
|
|
|
|
* @return the icon png
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconPng(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.png());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon tiff.
|
|
|
|
*
|
|
|
|
* @return the icon tiff
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconTiff(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.tiff());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon pdf.
|
|
|
|
*
|
|
|
|
* @return the icon pdf
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconPdf(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.pdf());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon xml.
|
|
|
|
*
|
|
|
|
* @return the icon xml
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconXml(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.xml());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon html.
|
|
|
|
*
|
|
|
|
* @return the icon html
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconHtml(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.html());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon java.
|
|
|
|
*
|
|
|
|
* @return the icon java
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconJava(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.java());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon doc.
|
|
|
|
*
|
|
|
|
* @return the icon doc
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconDoc(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.doc());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon txt.
|
|
|
|
*
|
|
|
|
* @return the icon txt
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconTxt(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.txt());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon movie.
|
|
|
|
*
|
|
|
|
* @return the icon movie
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconMovie(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.movie());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon add folder.
|
|
|
|
*
|
|
|
|
* @return the icon add folder
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconAddFolder(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.addFolder());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon add folder32.
|
|
|
|
*
|
|
|
|
* @return the icon add folder32
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconAddFolder32(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.addFolder32());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon rename item.
|
|
|
|
*
|
|
|
|
* @return the icon rename item
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconRenameItem(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.renameItem());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon rename item32.
|
|
|
|
*
|
|
|
|
* @return the icon rename item32
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconRenameItem32(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.renameItem32());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon file upload.
|
|
|
|
*
|
|
|
|
* @return the icon file upload
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconFileUpload(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.uploadFile());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon file upload32.
|
|
|
|
*
|
|
|
|
* @return the icon file upload32
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconFileUpload32(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.uploadFile32());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon delete folder.
|
|
|
|
*
|
|
|
|
* @return the icon delete folder
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconDeleteFolder(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.deleteFolder());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon delete item.
|
|
|
|
*
|
|
|
|
* @return the icon delete item
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconDeleteItem(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.deleteItem());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon delete item32.
|
|
|
|
*
|
|
|
|
* @return the icon delete item32
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconDeleteItem32(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.deleteItem32());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon folder.
|
|
|
|
*
|
|
|
|
* @return the icon folder
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconFolder(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.folder());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon audio.
|
|
|
|
*
|
|
|
|
* @return the icon audio
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconAudio(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.audio());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon archive upload.
|
|
|
|
*
|
|
|
|
* @return the icon archive upload
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconArchiveUpload(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.archiveUpload());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon biodiversity.
|
|
|
|
*
|
|
|
|
* @return the icon biodiversity
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconBiodiversity(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.biodiversity());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon images.
|
|
|
|
*
|
|
|
|
* @return the icon images
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconImages(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.images());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon documents.
|
|
|
|
*
|
|
|
|
* @return the icon documents
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconDocuments(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.documents());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon pencil.
|
|
|
|
*
|
|
|
|
* @return the icon pencil
|
|
|
|
*/
|
2015-06-12 12:24:01 +02:00
|
|
|
public static AbstractImagePrototype getIconPencil(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.pencil());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon edit.
|
|
|
|
*
|
|
|
|
* @return the icon edit
|
|
|
|
*/
|
2015-06-12 15:07:02 +02:00
|
|
|
public static AbstractImagePrototype getIconEdit(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.edit());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon history.
|
|
|
|
*
|
|
|
|
* @return the icon history
|
|
|
|
*/
|
2013-05-23 19:03:43 +02:00
|
|
|
public static AbstractImagePrototype getIconHistory(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.history());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon search.
|
|
|
|
*
|
|
|
|
* @return the icon search
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconSearch() {
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.search());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-10-12 15:30:59 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the icon search ws.
|
|
|
|
*
|
|
|
|
* @return the icon search ws
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconSearchWs() {
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.search2());
|
2015-10-12 15:30:59 +02:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon links.
|
|
|
|
*
|
|
|
|
* @return the icon links
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconLinks(){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
|
|
|
return AbstractImagePrototype.create(ICONS.links());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon report.
|
|
|
|
*
|
|
|
|
* @return the icon report
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconReport(){
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.report());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon grid view.
|
|
|
|
*
|
|
|
|
* @return the icon grid view
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconGridView(){
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.gridView());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon report template.
|
|
|
|
*
|
|
|
|
* @return the icon report template
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
private static AbstractImagePrototype getIconReportTemplate() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.reportTemplate());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon time series.
|
|
|
|
*
|
|
|
|
* @return the icon time series
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconTimeSeries(){
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.timeSeries());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon download.
|
|
|
|
*
|
|
|
|
* @return the icon download
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconDownload(){
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.download());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon cancel.
|
|
|
|
*
|
|
|
|
* @return the icon cancel
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconCancel(){
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.cancel());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon toggle list.
|
|
|
|
*
|
|
|
|
* @return the icon toggle list
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconToggleList() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.toggleList());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon toggle group.
|
|
|
|
*
|
|
|
|
* @return the icon toggle group
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconToggleGroup() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.toggleGroup());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon toggle icon.
|
|
|
|
*
|
|
|
|
* @return the icon toggle icon
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconToggleIcon() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.toggleIcon());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon save.
|
|
|
|
*
|
|
|
|
* @return the icon save
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconSave() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.save());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon star.
|
|
|
|
*
|
|
|
|
* @return the icon star
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconStar() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.star());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon preview.
|
|
|
|
*
|
|
|
|
* @return the icon preview
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconPreview() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.preview());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon show.
|
|
|
|
*
|
|
|
|
* @return the icon show
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconShow() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.show());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon open url.
|
|
|
|
*
|
|
|
|
* @return the icon open url
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconOpenUrl() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.openUrl());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon add url.
|
|
|
|
*
|
|
|
|
* @return the icon add url
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconAddUrl() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.addUrl());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon send to.
|
|
|
|
*
|
|
|
|
* @return the icon send to
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconSendTo() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.sendTo());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon check user.
|
|
|
|
*
|
|
|
|
* @return the icon check user
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconCheckUser() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.checkUser());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon messages received.
|
|
|
|
*
|
|
|
|
* @return the icon messages received
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconMessagesReceived() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.inboxReceived());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon messages sent.
|
|
|
|
*
|
|
|
|
* @return the icon messages sent
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconMessagesSent() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.inboxSent());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon email.
|
|
|
|
*
|
|
|
|
* @return the icon email
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconEmail() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.email());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon open email.
|
|
|
|
*
|
|
|
|
* @return the icon open email
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconOpenEmail() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.openEmail());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2015-11-03 16:37:59 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the icon hand.
|
|
|
|
*
|
|
|
|
* @return the icon hand
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconHand() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.hand());
|
2015-11-03 16:37:59 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon save attachments.
|
|
|
|
*
|
|
|
|
* @return the icon save attachments
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconSaveAttachments() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.saveAttachs());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon download emails.
|
|
|
|
*
|
|
|
|
* @return the icon download emails
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconDownloadEmails() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.downloadEmail());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon email read.
|
|
|
|
*
|
|
|
|
* @return the icon email read
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconEmailRead() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.emailRead());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon email not read.
|
|
|
|
*
|
|
|
|
* @return the icon email not read
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconEmailNotRead() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.emailNotRead());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon delete message.
|
|
|
|
*
|
|
|
|
* @return the icon delete message
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconDeleteMessage() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return AbstractImagePrototype.create(ICONS.emailDelete());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon email forward.
|
|
|
|
*
|
|
|
|
* @return the icon email forward
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconEmailForward() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.emailForward());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon copy.
|
|
|
|
*
|
|
|
|
* @return the icon copy
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconCopy() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.copy());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon paste.
|
|
|
|
*
|
|
|
|
* @return the icon paste
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconPaste() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.paste());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon refresh.
|
|
|
|
*
|
|
|
|
* @return the icon refresh
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconRefresh() {
|
2013-09-06 15:23:14 +02:00
|
|
|
return AbstractImagePrototype.create(ICONS.refreshFolder());
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon bulk update.
|
|
|
|
*
|
|
|
|
* @return the icon bulk update
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconBulkUpdate() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.loading2());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon loading.
|
|
|
|
*
|
|
|
|
* @return the icon loading
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconLoading() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.loading());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon loading off.
|
|
|
|
*
|
|
|
|
* @return the icon loading off
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconLoadingOff() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.loadingOff());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon loading2.
|
|
|
|
*
|
|
|
|
* @return the icon loading2
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconLoading2() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.loading2());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon delete2.
|
|
|
|
*
|
|
|
|
* @return the icon delete2
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconDelete2() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.delete2());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon url web dav.
|
|
|
|
*
|
|
|
|
* @return the icon url web dav
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconUrlWebDav() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.urlWebDav());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon remove filter.
|
|
|
|
*
|
|
|
|
* @return the icon remove filter
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconRemoveFilter() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.removeFilter());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon new mail.
|
|
|
|
*
|
|
|
|
* @return the icon new mail
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconNewMail() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.createNewMail());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon reply mail.
|
|
|
|
*
|
|
|
|
* @return the icon reply mail
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconReplyMail() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.replyMail());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon public link.
|
|
|
|
*
|
|
|
|
* @return the icon public link
|
|
|
|
*/
|
2013-07-09 14:48:34 +02:00
|
|
|
public static AbstractImagePrototype getIconPublicLink() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.publicLink());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon reply all mail.
|
|
|
|
*
|
|
|
|
* @return the icon reply all mail
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconReplyAllMail() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.replyAllMail());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon workflow report.
|
|
|
|
*
|
|
|
|
* @return the icon workflow report
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconWorkflowReport() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.workflowReport());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon workflow template.
|
|
|
|
*
|
|
|
|
* @return the icon workflow template
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconWorkflowTemplate() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.workflowTemplate());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon web dav.
|
|
|
|
*
|
|
|
|
* @return the icon web dav
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconWebDav() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.webDav());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon resource link.
|
|
|
|
*
|
|
|
|
* @return the icon resource link
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconResourceLink() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.resourceLink());
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon share folder.
|
|
|
|
*
|
|
|
|
* @return the icon share folder
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconShareFolder() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.shareFolder());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon un share folder.
|
|
|
|
*
|
|
|
|
* @return the icon un share folder
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconUnShareFolder() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.unShareFolder());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon un share user.
|
|
|
|
*
|
|
|
|
* @return the icon un share user
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconUnShareUser() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.unShareUser());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon write own.
|
|
|
|
*
|
|
|
|
* @return the icon write own
|
|
|
|
*/
|
2014-02-12 19:46:39 +01:00
|
|
|
public static AbstractImagePrototype getIconWriteOwn() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.writeown());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon write all.
|
|
|
|
*
|
|
|
|
* @return the icon write all
|
|
|
|
*/
|
2014-02-12 19:46:39 +01:00
|
|
|
public static AbstractImagePrototype getIconWriteAll() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.writeall());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon read only.
|
|
|
|
*
|
|
|
|
* @return the icon read only
|
|
|
|
*/
|
2014-02-12 19:46:39 +01:00
|
|
|
public static AbstractImagePrototype getIconReadOnly() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.readonly());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the all left.
|
|
|
|
*
|
|
|
|
* @return the all left
|
|
|
|
*/
|
2014-07-01 15:48:12 +02:00
|
|
|
public static AbstractImagePrototype getAllLeft() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.allLeft());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the all right.
|
|
|
|
*
|
|
|
|
* @return the all right
|
|
|
|
*/
|
2014-07-01 15:48:12 +02:00
|
|
|
public static AbstractImagePrototype getAllRight() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.allRight());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the selected left.
|
|
|
|
*
|
|
|
|
* @return the selected left
|
|
|
|
*/
|
2014-07-01 15:48:12 +02:00
|
|
|
public static AbstractImagePrototype getSelectedLeft() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.selectedLeft());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the selected right.
|
|
|
|
*
|
|
|
|
* @return the selected right
|
|
|
|
*/
|
2014-07-01 15:48:12 +02:00
|
|
|
public static AbstractImagePrototype getSelectedRight() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.selectedRight());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon permissions.
|
|
|
|
*
|
|
|
|
* @return the icon permissions
|
|
|
|
*/
|
2015-01-28 12:42:48 +01:00
|
|
|
public static AbstractImagePrototype getIconPermissions() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.permissions());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2016-09-15 18:07:32 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon folder public remove.
|
|
|
|
*
|
|
|
|
* @return the icon folder public remove
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconFolderPublicRemove() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.folderPublicRemove());
|
|
|
|
}
|
|
|
|
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2014-07-08 18:41:53 +02:00
|
|
|
/**
|
2015-07-14 15:10:42 +02:00
|
|
|
* Gets the icon add administrator.
|
|
|
|
*
|
|
|
|
* @return the icon add administrator
|
2014-07-08 18:41:53 +02:00
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconAddAdministrator() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.addAdmin());
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2014-09-23 16:15:36 +02:00
|
|
|
/**
|
2015-07-14 15:10:42 +02:00
|
|
|
* Gets the icon manage administrator.
|
|
|
|
*
|
|
|
|
* @return the icon manage administrator
|
2014-09-23 16:15:36 +02:00
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconManageAdministrator() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.manageAdmin());
|
|
|
|
}
|
2013-02-06 15:40:17 +01:00
|
|
|
|
2017-02-20 14:57:07 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the icon versioning.
|
|
|
|
*
|
|
|
|
* @return the icon versioning
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconVersioning() {
|
|
|
|
return AbstractImagePrototype.create(ICONS.versioning());
|
|
|
|
}
|
|
|
|
|
2013-02-06 15:40:17 +01:00
|
|
|
//ImageResources
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the image path separator.
|
|
|
|
*
|
|
|
|
* @return the image path separator
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static ImageResource getImagePathSeparator(){
|
|
|
|
return ICONS.separatorPath();
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the image loading.
|
|
|
|
*
|
|
|
|
* @return the image loading
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static ImageResource getImageLoading() {
|
|
|
|
return ICONS.loading();
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the image hard disk.
|
|
|
|
*
|
|
|
|
* @return the image hard disk
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static ImageResource getImageHardDisk(){
|
|
|
|
return ICONS.hardDisk();
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the image search.
|
|
|
|
*
|
|
|
|
* @return the image search
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static ImageResource getImageSearch(){
|
|
|
|
return ICONS.search();
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the image folder.
|
|
|
|
*
|
|
|
|
* @return the image folder
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static ImageResource getImageFolder(){
|
|
|
|
return ICONS.folder();
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the image cancel.
|
|
|
|
*
|
|
|
|
* @return the image cancel
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static ImageResource getImageCancel() {
|
|
|
|
return ICONS.cancel();
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the image delete.
|
|
|
|
*
|
|
|
|
* @return the image delete
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static ImageResource getImageDelete() {
|
|
|
|
return ICONS.delete2();
|
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2017-02-20 14:57:07 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the image attachs.
|
|
|
|
*
|
|
|
|
* @return the image attachs
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static ImageResource getImageAttachs() {
|
2016-02-24 11:00:19 +01:00
|
|
|
return ICONS.attach();
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2015-07-14 15:45:34 +02:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon by media type name.
|
|
|
|
*
|
2015-07-14 15:45:34 +02:00
|
|
|
* @param name the name
|
2015-07-14 15:10:42 +02:00
|
|
|
* @param mediaTypeName the media type name
|
|
|
|
* @return the icon by media type name
|
|
|
|
*/
|
2015-07-14 15:45:34 +02:00
|
|
|
public static AbstractImagePrototype getIconByMediaTypeName(String name, String mediaTypeName) {
|
2013-02-06 15:40:17 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
if (MPEG.equals(mediaTypeName) || SWF.equals(mediaTypeName) || FLV.equals(mediaTypeName) || AVI.equals(mediaTypeName)) {
|
2013-02-06 15:40:17 +01:00
|
|
|
return Resources.getIconMovie();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if (JPEG.equals(mediaTypeName) || JPG.equals(mediaTypeName)) {
|
2013-02-06 15:40:17 +01:00
|
|
|
return Resources.getIconJpeg();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if (XHTLXML.equals(mediaTypeName)) {
|
2013-02-11 10:38:16 +01:00
|
|
|
return Resources.getIconXml();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if (mediaTypeName.contains(MSWORD) || DOC.equals(mediaTypeName) || mediaTypeName.contains(DOCX)) {
|
2013-02-06 15:40:17 +01:00
|
|
|
return Resources.getIconDoc();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if (XML.equals(mediaTypeName)) {
|
2013-02-06 15:40:17 +01:00
|
|
|
return Resources.getIconXml();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if (CSV.equals(mediaTypeName)) {
|
2013-02-11 10:38:16 +01:00
|
|
|
return Resources.getIconCsv();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if (JAVA.equals(mediaTypeName)) {
|
2013-02-06 15:40:17 +01:00
|
|
|
return Resources.getIconJava();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if (HTML.equals(mediaTypeName)) {
|
2013-02-06 15:40:17 +01:00
|
|
|
return Resources.getIconHtml();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if (PNG.equals(mediaTypeName)) {
|
2013-02-06 15:40:17 +01:00
|
|
|
return Resources.getIconPng();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if (PDF.equals(mediaTypeName)) {
|
2013-02-06 15:40:17 +01:00
|
|
|
return Resources.getIconPdf();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if (TIFF.equals(mediaTypeName)) {
|
2013-02-06 15:40:17 +01:00
|
|
|
return Resources.getIconTiff();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if (SVG.equals(mediaTypeName)) {
|
2013-02-06 15:40:17 +01:00
|
|
|
return Resources.getIconSvg();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if (GIF.equals(mediaTypeName)) {
|
2013-02-06 15:40:17 +01:00
|
|
|
return Resources.getIconGif();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if (TXT.equals(mediaTypeName)) {
|
2013-02-06 15:40:17 +01:00
|
|
|
return Resources.getIconTxt();
|
2015-07-14 15:10:42 +02:00
|
|
|
}else if (mediaTypeName.contains(PPT) || mediaTypeName.equals(PPTX)) {
|
2013-03-25 11:14:26 +01:00
|
|
|
return Resources.getIconPpt();
|
2015-07-14 15:10:42 +02:00
|
|
|
} else if(mediaTypeName.contains(ODP)){
|
2015-07-14 12:34:25 +02:00
|
|
|
return Resources.getIconOdp();
|
2016-02-24 11:00:19 +01:00
|
|
|
} else if(mediaTypeName.contains(ODS)){
|
|
|
|
return Resources.getIconOds();
|
|
|
|
} else if(mediaTypeName.contains(ODG)){
|
|
|
|
return Resources.getIconOdg();
|
|
|
|
} else if(mediaTypeName.contains(OTT)){
|
|
|
|
return Resources.getIconOtt();
|
|
|
|
}else if(mediaTypeName.contains(ODT)){
|
|
|
|
return Resources.getIconOdt();
|
2015-07-14 15:10:42 +02:00
|
|
|
}else if (mediaTypeName.contains(EXCEL) || mediaTypeName.contains(XSLX)) {
|
2013-03-25 11:14:26 +01:00
|
|
|
return Resources.getIconExcel();
|
2015-07-14 15:45:34 +02:00
|
|
|
}else if (mediaTypeName.contains(ZIP) || mediaTypeName.contains(SEVEN_ZIP)) {
|
|
|
|
int fe = name.lastIndexOf(".");
|
|
|
|
String fileExtension = name.substring(fe+1, name.length());
|
|
|
|
if(fileExtension.compareTo("jar")==0)
|
|
|
|
return Resources.getIconJava();
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
return Resources.getIconZip();
|
|
|
|
}else if (mediaTypeName.contains(DVI)) {
|
|
|
|
return Resources.getIconDvi();
|
|
|
|
}else if (mediaTypeName.contains(X_SH) || mediaTypeName.contains(X_SHELLSCRIPT)) {
|
|
|
|
return Resources.getIconShell();
|
|
|
|
}else if (mediaTypeName.contains(XTEX)) {
|
|
|
|
return Resources.getIconXTex();
|
|
|
|
}else if (mediaTypeName.contains(POSTSCRIPT)) {
|
|
|
|
return Resources.getIconPostscript();
|
2015-07-14 15:45:34 +02:00
|
|
|
}else if (mediaTypeName.contains(RAR) || mediaTypeName.contains(GZIP) || mediaTypeName.contains(X_BZIP)) {
|
|
|
|
return Resources.getIconArchive();
|
|
|
|
}else if (mediaTypeName.contains(WAR)) {
|
|
|
|
return Resources.getIconJava();
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
|
|
|
return Resources.getIconTable();
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon by folder item type.
|
|
|
|
*
|
|
|
|
* @param itemType the item type
|
|
|
|
* @return the icon by folder item type
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
public static AbstractImagePrototype getIconByFolderItemType(GXTFolderItemTypeEnum itemType){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2013-02-06 15:40:17 +01:00
|
|
|
if(itemType!=null){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2013-02-06 15:40:17 +01:00
|
|
|
if(itemType.equals(GXTFolderItemTypeEnum.ANNOTATION)){
|
|
|
|
return Resources.getIconTxt();
|
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.DOCUMENT)){
|
|
|
|
return Resources.getIconTxt();
|
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.EXTERNAL_FILE)){
|
|
|
|
return Resources.getIconTable();
|
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.EXTERNAL_IMAGE)){
|
|
|
|
return Resources.getIconJpeg();
|
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.EXTERNAL_PDF_FILE)){
|
|
|
|
return Resources.getIconPdf();
|
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.EXTERNAL_URL)){
|
2014-09-03 15:52:14 +02:00
|
|
|
return Resources.getIconLink();
|
2013-02-06 15:40:17 +01:00
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.IMAGE_DOCUMENT)){
|
|
|
|
return Resources.getIconPng();
|
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.METADATA)){
|
|
|
|
return Resources.getIconSvg();
|
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.PDF_DOCUMENT)){
|
|
|
|
return Resources.getIconPdf();
|
2015-07-03 14:50:07 +02:00
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.GCUBE_ITEM)){
|
|
|
|
return Resources.getIconGcubeItem();
|
2013-02-06 15:40:17 +01:00
|
|
|
// }else if(itemType.equals(GXTFolderItemTypeEnum.QUERY)){
|
|
|
|
// return Resources.getIconTable();
|
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.TIME_SERIES)){
|
|
|
|
return Resources.getIconTimeSeries();
|
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.REPORT)){
|
|
|
|
return Resources.getIconReport();
|
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.REPORT_TEMPLATE)){
|
|
|
|
return Resources.getIconReportTemplate();
|
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.URL_DOCUMENT)){
|
2014-09-03 15:52:14 +02:00
|
|
|
return Resources.getIconLink();
|
2013-02-06 15:40:17 +01:00
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.WORKFLOW_REPORT)){
|
|
|
|
return Resources.getIconWorkflowReport();
|
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.WORKFLOW_TEMPLATE)){
|
|
|
|
return Resources.getIconWorkflowTemplate();
|
|
|
|
}else if(itemType.equals(GXTFolderItemTypeEnum.EXTERNAL_RESOURCE_LINK)){
|
|
|
|
return Resources.getIconResourceLink();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return Resources.getIconTable();
|
|
|
|
}
|
|
|
|
|
2015-07-14 15:45:34 +02:00
|
|
|
|
2015-07-14 15:10:42 +02:00
|
|
|
/**
|
|
|
|
* Gets the icon by type.
|
|
|
|
*
|
2015-07-14 15:45:34 +02:00
|
|
|
* @param name the name
|
2015-07-14 15:10:42 +02:00
|
|
|
* @param type the type
|
|
|
|
* @return the icon by type
|
|
|
|
*/
|
2015-07-14 15:45:34 +02:00
|
|
|
public static AbstractImagePrototype getIconByType(String name, String type){
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2016-09-15 16:42:20 +02:00
|
|
|
/*if(type.equals(GXTFolderItemTypeEnum.FOLDER.toString()))
|
2013-02-06 15:40:17 +01:00
|
|
|
return Resources.getIconFolder();
|
2016-09-15 16:42:20 +02:00
|
|
|
else if(type.equals(GXTFolderItemTypeEnum.FOLDER_PUBLIC.toString()))
|
|
|
|
return Resources.getIconFolderPublic();
|
|
|
|
else if(type.equals(GXTFolderItemTypeEnum.FOLDER_SHARED.toString()))
|
|
|
|
return Resources.getIconSharedFolder();
|
|
|
|
else if(type.equals(GXTFolderItemTypeEnum.FOLDER_SHARED_PUBLIC.toString()))
|
|
|
|
return Resources.getIconFolderSharedPublic();*/
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-12-14 16:56:40 +01:00
|
|
|
//RECOVERING "media type name" from type / media type name [+suffix]
|
2013-02-06 15:40:17 +01:00
|
|
|
int sl = type.indexOf("/");
|
2015-07-14 15:10:42 +02:00
|
|
|
String mediaTypeName = type.substring(sl+1, type.length());
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2015-07-14 15:45:34 +02:00
|
|
|
return Resources.getIconByMediaTypeName(name, mediaTypeName);
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-02-24 11:00:19 +01:00
|
|
|
|
2016-09-15 16:42:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the icon by folder enum.
|
|
|
|
*
|
|
|
|
* @param name the name
|
|
|
|
* @param type the type
|
|
|
|
* @return the icon by folder enum
|
|
|
|
*/
|
|
|
|
public static AbstractImagePrototype getIconByFolderEnum(String name, String type){
|
|
|
|
|
|
|
|
if(type.equals(GXTFolderItemTypeEnum.FOLDER.toString()))
|
|
|
|
return Resources.getIconFolder();
|
|
|
|
else if(type.equals(GXTFolderItemTypeEnum.FOLDER_PUBLIC.toString()))
|
|
|
|
return Resources.getIconFolderPublic();
|
|
|
|
else if(type.equals(GXTFolderItemTypeEnum.FOLDER_SHARED.toString()))
|
|
|
|
return Resources.getIconSharedFolder();
|
|
|
|
else if(type.equals(GXTFolderItemTypeEnum.FOLDER_SHARED_PUBLIC.toString()))
|
|
|
|
return Resources.getIconFolderSharedPublic();
|
|
|
|
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|