in progress
This commit is contained in:
parent
79e51db104
commit
3a9ac6eecc
|
@ -13,7 +13,6 @@ import com.github.gwtbootstrap.client.ui.AccordionGroup;
|
||||||
import com.github.gwtbootstrap.client.ui.Alert;
|
import com.github.gwtbootstrap.client.ui.Alert;
|
||||||
import com.github.gwtbootstrap.client.ui.Button;
|
import com.github.gwtbootstrap.client.ui.Button;
|
||||||
import com.github.gwtbootstrap.client.ui.constants.AlertType;
|
import com.github.gwtbootstrap.client.ui.constants.AlertType;
|
||||||
import com.github.gwtbootstrap.client.ui.constants.ButtonType;
|
|
||||||
import com.google.gwt.core.client.GWT;
|
import com.google.gwt.core.client.GWT;
|
||||||
import com.google.gwt.event.dom.client.ClickEvent;
|
import com.google.gwt.event.dom.client.ClickEvent;
|
||||||
import com.google.gwt.event.dom.client.ClickHandler;
|
import com.google.gwt.event.dom.client.ClickHandler;
|
||||||
|
@ -97,10 +96,10 @@ public class SelectResourceByWEMainPanel extends Composite {
|
||||||
//is file
|
//is file
|
||||||
wsRootId= initialBean.getParent()!=null? initialBean.getParent().getOriginalIdInWorkspace():null;
|
wsRootId= initialBean.getParent()!=null? initialBean.getParent().getOriginalIdInWorkspace():null;
|
||||||
}
|
}
|
||||||
|
|
||||||
//loads the WE only if the root is not null
|
//loads the WE only if the root is not null
|
||||||
if(wsRootId!=null) {
|
if(wsRootId!=null) {
|
||||||
|
|
||||||
WorkspaceResourcesExplorerPanel workspaceExplorerPanel = new WorkspaceResourcesExplorerPanel(wsRootId,false,null, null,false,null,displayFields);
|
WorkspaceResourcesExplorerPanel workspaceExplorerPanel = new WorkspaceResourcesExplorerPanel(wsRootId,false,null, null,false,null,displayFields);
|
||||||
WorskpaceExplorerSelectNotificationListener wsResourceExplorerListener = new WorskpaceExplorerSelectNotificationListener() {
|
WorskpaceExplorerSelectNotificationListener wsResourceExplorerListener = new WorskpaceExplorerSelectNotificationListener() {
|
||||||
|
|
||||||
|
|
|
@ -21,17 +21,16 @@
|
||||||
<b:PageHeader subtext="Resources">Selected</b:PageHeader>
|
<b:PageHeader subtext="Resources">Selected</b:PageHeader>
|
||||||
<b:Alert ui:field="showAlert" visible="false"></b:Alert>
|
<b:Alert ui:field="showAlert" visible="false"></b:Alert>
|
||||||
<g:VerticalPanel ui:field="selectResourcesContainer"></g:VerticalPanel>
|
<g:VerticalPanel ui:field="selectResourcesContainer"></g:VerticalPanel>
|
||||||
</g:HTMLPanel>
|
|
||||||
<g:HTMLPanel ui:field="containerPickResources"
|
|
||||||
addStyleNames="{style.max-height-250}">
|
|
||||||
|
|
||||||
|
</g:HTMLPanel>
|
||||||
|
<g:HTMLPanel ui:field="containerPickResources">
|
||||||
<b:AccordionGroup ui:field="buttPickResources"
|
<b:AccordionGroup ui:field="buttPickResources"
|
||||||
heading="Pick Resources" defaultOpen="true">
|
heading="Pick Resources" defaultOpen="true">
|
||||||
<b:FluidRow>
|
<b:FluidRow addStyleNames="{style.max-height-250}">
|
||||||
<g:VerticalPanel ui:field="wsContainer">
|
<g:VerticalPanel ui:field="wsContainer">
|
||||||
</g:VerticalPanel>
|
</g:VerticalPanel>
|
||||||
<b:Button ui:field="buttSelectResource">Select</b:Button>
|
|
||||||
</b:FluidRow>
|
</b:FluidRow>
|
||||||
|
<b:Button ui:field="buttSelectResource">Select</b:Button>
|
||||||
</b:AccordionGroup>
|
</b:AccordionGroup>
|
||||||
|
|
||||||
</g:HTMLPanel>
|
</g:HTMLPanel>
|
||||||
|
|
Loading…
Reference in New Issue