This commit is contained in:
Lucio Lelii 2009-11-16 16:09:54 +00:00
parent d98a2c02b5
commit d5d4d8ea72
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Resource>
<ID></ID>
<Type>VREModeler</Type>
<Type>Service</Type>
<Profile>
<Description>VREModeler Service</Description>
<Class>VREManagement</Class>
@ -11,7 +11,7 @@
<Main>
<Description>Allows user to create new VRE</Description>
<Name>VREModeler-service</Name>
<Version>1.01.02</Version>
<Version>1.01.04</Version>
<Dependencies>
<Dependency>
<Service>
@ -328,7 +328,7 @@
<Software>
<Description>Allows user to create new VRE</Description>
<Name>VREModeler-stubs</Name>
<Version>1.0.0</Version>
<Version>1.1.0</Version>
<Files><File>org.gcube.vremanagement.vremodeler.stubs.jar</File></Files>
</Software>
</Packages>

View File

@ -38,6 +38,7 @@ public class LayoutCreation {
public LayoutCreation(String vreId, String vreName){
this.vreName= vreName;
try{
this.resource= GHNContext.getImplementation(GCUBEGenericResource.class);
}catch(Exception e){e.printStackTrace();}
@ -52,7 +53,7 @@ public class LayoutCreation {
this.publish(defaultLayoutResourceList.get(0).getBody());
else{
logger.debug("no DefaultLayout resource found, creating the VRE with an empty one");
this.publish("<tabbed-pane can-modify=\"false\" label=\"\" required-role=\"\" style=\"menu\" visible=\"true\" width=\"\"><tab align=\"left\" can-modify=\"false\" label=\"\" order=\"50\" outline=\"true\" required-role=\"VRE-Manager\" style=\"\" visible=\"true\" width=\"\"><title lang=\"en\">VREManagement</title><tabbed-pane can-modify=\"false\" label=\"\" required-role=\"\" style=\"sub-menu\" visible=\"true\" width=\"\"><tab align=\"left\" can-modify=\"false\" label=\"\" order=\"50\" outline=\"true\" required-role=\"VRE-Manager\" style=\"\" visible=\"true\" width=\"\"><title lang=\"en\">LayoutCreator</title><table can-modify=\"false\" label=\"\" required-role=\"\" style=\"\" visible=\"true\" width=\"\"><row can-modify=\"false\" label=\"\" required-role=\"\" style=\"\" visible=\"true\" width=\"\"><column can-modify=\"false\" label=\"\" required-role=\"\" style=\"\" visible=\"true\" width=\"100%\"><frame can-modify=\"false\" inner-padding=\"\" label=\"LayoutcreatorPortlet\" outer-padding=\"\" required-role=\"VRE-Manager\" style=\"\" transparent=\"true\" visible=\"true\" width=\"\"><portlet-class>layoutcreator#LayoutcreatorPortlet</portlet-class></frame></column></row></table></tab></tabbed-pane></tab></tabbed-pane>");
this.publish("<tabbed-pane can-modify=\"false\" label=\"\" required-role=\"\" style=\"menu\" visible=\"true\" width=\"\"><tab align=\"left\" can-modify=\"false\" gCube-editable=\"false\" label=\"\" order=\"50\" outline=\"true\" required-role=\"VRE-Manager\" style=\"\" visible=\"true\" width=\"\"><title lang=\"en\">VREManagement</title><tabbed-pane can-modify=\"false\" label=\"\" required-role=\"\" style=\"sub-menu\" visible=\"true\" width=\"\"><tab align=\"left\" can-modify=\"false\" gCube-editable=\"false\" label=\"\" order=\"50\" outline=\"true\" required-role=\"VRE-Manager\" style=\"\" visible=\"true\" width=\"\"><title lang=\"en\">LayoutCreator</title><table can-modify=\"false\" label=\"\" required-role=\"\" style=\"\" visible=\"true\" width=\"\"><row can-modify=\"false\" gCube-editable=\"false\" label=\"\" required-role=\"\" style=\"\" visible=\"true\" width=\"\"><column can-modify=\"false\" gCube-editable=\"false\" label=\"\" required-role=\"\" style=\"\" visible=\"true\" width=\"100%\"><frame can-modify=\"false\" gCube-editable=\"false\" inner-padding=\"\" label=\"LayoutcreatorPortlet\" outer-padding=\"\" required-role=\"VRE-Manager\" style=\"\" transparent=\"true\" visible=\"true\" width=\"\"><portlet-class>layoutcreator#LayoutcreatorPortlet</portlet-class></frame></column></row></table></tab></tabbed-pane></tab></tabbed-pane>");
}
return resource;