fixed double call createlayouts
updated distro git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@120243 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
af2e6d0d4a
commit
22a05a4472
|
@ -6,6 +6,7 @@
|
|||
<Change>[Bug #531] Fixed issue on create folder</Change>
|
||||
<Change>[Feature #429] Realized. Integrated with workspace-uploader</Change>
|
||||
<Change>[Bug #1270] Fixed. Workspace improvements: many rpc calls after an delete multiple</Change>
|
||||
<Change>[Feature #1280] Workspace GUI: quote and available feature improvements</Change>
|
||||
</Changeset>
|
||||
<Changeset component="org.gcube.portlets-user.workspace-portlet.6-8-0"
|
||||
date="2015-07-06">
|
||||
|
|
|
@ -17,6 +17,7 @@ import com.extjs.gxt.ui.client.widget.ContentPanel;
|
|||
import com.extjs.gxt.ui.client.widget.layout.BorderLayout;
|
||||
import com.extjs.gxt.ui.client.widget.layout.BorderLayoutData;
|
||||
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
|
||||
import com.google.gwt.core.shared.GWT;
|
||||
import com.google.gwt.user.client.Random;
|
||||
|
||||
|
||||
|
@ -79,10 +80,10 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
|||
east.setVisible(false);
|
||||
// south.setVisible(false);
|
||||
|
||||
this.createLayouts();
|
||||
// this.createLayouts();
|
||||
}
|
||||
|
||||
public void createLayouts(){
|
||||
private void createLayouts(){
|
||||
|
||||
final BorderLayout borderLayout = new BorderLayout();
|
||||
setLayout(borderLayout);
|
||||
|
@ -162,6 +163,7 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
|||
// center.add(this.toolbarContainer);
|
||||
|
||||
center.setId("Center Panel "+Random.nextInt());
|
||||
// GWT.log("center: "+center.getId());
|
||||
dnd.addUniqueContainer(this.gxtCardLayoutResultPanel);
|
||||
center.add(dnd);
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@ import com.extjs.gxt.ui.client.widget.LayoutContainer;
|
|||
import com.extjs.gxt.ui.client.widget.layout.CardLayout;
|
||||
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
|
||||
import com.google.gwt.user.client.Element;
|
||||
import com.google.gwt.user.client.Random;
|
||||
|
||||
/**
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
|
||||
|
@ -51,14 +50,14 @@ public class GxtCardLayoutResultPanel extends LayoutContainer{
|
|||
super.onRender(parent, pos);
|
||||
setLayout(new FitLayout());
|
||||
|
||||
setId("GxtCardLayoutResultPanel "+Random.nextInt());
|
||||
// setId("GxtCardLayoutResultPanel");
|
||||
setHeight("auto");
|
||||
|
||||
ContentPanel cp = new ContentPanel();
|
||||
cp.setHeaderVisible(false);
|
||||
cp.setLayout(cardLayout);
|
||||
cp.setHeight("auto");
|
||||
cp.setId("GxtCardLayoutResultPanel Content Panel "+Random.nextInt());
|
||||
// cp.setId("GxtCardLayoutResultPanel Content Panel "+Random.nextInt());
|
||||
cp.add(itemPanel);
|
||||
cp.setHeight("auto");
|
||||
|
||||
|
|
Loading…
Reference in New Issue