updated pom and resources
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@69076 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
db3d2c5071
commit
c5c002c804
4
pom.xml
4
pom.xml
|
@ -76,13 +76,13 @@
|
|||
<groupId>org.gcube.portlets.user</groupId>
|
||||
<artifactId>home-library</artifactId>
|
||||
<version>[4.3.0-SNAPSHOT, 5.0.0-SNAPSHOT)</version>
|
||||
<!-- <scope>provided</scope>-->
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.gcube.portlets.user</groupId>
|
||||
<artifactId>home-library-jcr</artifactId>
|
||||
<version>[1.3.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
||||
<!-- <scope>provided</scope> -->
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-fileupload</groupId>
|
||||
|
|
|
@ -253,5 +253,8 @@ public interface Icons extends ClientBundle {
|
|||
|
||||
@Source("icons/info-icon.png")
|
||||
ImageResource info();
|
||||
|
||||
@Source("icons/mime/csv.gif")
|
||||
ImageResource csv();
|
||||
}
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ public class Resources {
|
|||
private static final String XML = "xml";
|
||||
private static final String JAVA = "java";
|
||||
private static final String HTML = "html";
|
||||
private static final String XHTLXML = "xhtml+xml";
|
||||
private static final String GIF = "gif";
|
||||
private static final String PNG = "png";
|
||||
private static final String JPEG = "jpeg";
|
||||
|
@ -32,6 +33,7 @@ public class Resources {
|
|||
private static final String SWF = "swf";
|
||||
private static final String FLV = "flv";
|
||||
private static final String AVI = "avi";
|
||||
private static final Object CSV = "csv";
|
||||
|
||||
public static AbstractImagePrototype getIconTable(){
|
||||
|
||||
|
@ -53,6 +55,12 @@ public class Resources {
|
|||
return AbstractImagePrototype.create(ICONS.sharedFolder());
|
||||
}
|
||||
|
||||
public static AbstractImagePrototype getIconCsv(){
|
||||
|
||||
return AbstractImagePrototype.create(ICONS.csv());
|
||||
}
|
||||
|
||||
|
||||
public static AbstractImagePrototype getCloseIcon(){
|
||||
|
||||
return AbstractImagePrototype.create(ICONS.close());
|
||||
|
@ -431,10 +439,14 @@ public class Resources {
|
|||
return Resources.getIconMovie();
|
||||
} else if (JPEG.equals(fileExtension) || JPG.equals(fileExtension)) {
|
||||
return Resources.getIconJpeg();
|
||||
} else if (XHTLXML.equals(fileExtension)) {
|
||||
return Resources.getIconXml();
|
||||
} else if (MSWORD.equals(fileExtension) || MSWORD.equals(fileExtension)) {
|
||||
return Resources.getIconDoc();
|
||||
} else if (XML.equals(fileExtension)) {
|
||||
return Resources.getIconXml();
|
||||
} else if (CSV.equals(fileExtension)) {
|
||||
return Resources.getIconCsv();
|
||||
} else if (JAVA.equals(fileExtension)) {
|
||||
return Resources.getIconJava();
|
||||
} else if (HTML.equals(fileExtension)) {
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 156 B |
|
@ -583,6 +583,8 @@ public class ContextMenuTree {
|
|||
contextMenu.getItemByItemId(ConstantsExplorer.UPA).setVisible(false); //set invisible upload archive
|
||||
contextMenu.getItemByItemId(ConstantsExplorer.CLK).setVisible(false); //set invisible add url
|
||||
contextMenu.getItemByItemId(ConstantsExplorer.RFH).setVisible(false); //set invisible refresh
|
||||
// contextMenu.getItemByItemId(ConstantsExplorer.SHR).setVisible(false); //set invisible share
|
||||
// contextMenu.getItemByItemId(ConstantsExplorer.USHR).setVisible(false); //set invisible unshare
|
||||
contextMenu.showAt(posX, posY);
|
||||
}
|
||||
// treePanel.fireEvent(Events.ContextMenu);
|
||||
|
|
|
@ -1518,6 +1518,7 @@ public class GWTWorkspaceBuilder {
|
|||
listContactsModel.add(new InfoContactModel("2", "Antonio.Test", "Antonio Gioia"));
|
||||
listContactsModel.add(new InfoContactModel("3", "Fabio.Test", "Fabio Sinibaldi"));
|
||||
listContactsModel.add(new InfoContactModel("4", Util.TEST_USER, Util.TEST_USER));
|
||||
listContactsModel.add(new InfoContactModel("5", "Massimiliano.Assante", "Massimiliano Assante"));
|
||||
|
||||
return listContactsModel;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue