added default consturctor for backward comaptibility
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@134682 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ffe3daa1ec
commit
6d9f995a01
|
@ -67,6 +67,14 @@ public class MultipleDNDUpload extends LayoutPanel implements HasWorskpaceUpload
|
|||
private String dropTargetInnerID = DROP_TARGET_INNER_CLASS +"-"+ randomID;
|
||||
private String dropTargetUniqueChildID = DROP_TARGET_UNIQUE_CHILD_ID +"-"+ randomID;
|
||||
|
||||
public MultipleDNDUpload() {
|
||||
this.getElement().setId(dropTargetID);
|
||||
String dnd = "<div id='"+this.dropTargetOuterID+"' class='"+DROP_TARGET_OUTER_CLASS+"'><div id='"+this.dropTargetInnerID+"' class='"+DROP_TARGET_INNER_CLASS+"'></div></div>";
|
||||
GWT.log(dnd);
|
||||
HTML html = new HTML(dnd);
|
||||
this.add(html);
|
||||
scopeGroupId = GCubeClientContext.getCurrentContextId();
|
||||
}
|
||||
/**
|
||||
* Instantiates a new multiple dnd upload.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue