rafactor for MultipleDNDUpload

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@120073 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2015-10-28 16:13:31 +00:00
parent 663fd83cd1
commit b8c8a9c542
3 changed files with 9 additions and 9 deletions

View File

@ -113,7 +113,7 @@ import org.gcube.portlets.user.workspace.shared.WorkspaceTrashOperation;
import org.gcube.portlets.user.workspace.shared.WorkspaceUserQuote; import org.gcube.portlets.user.workspace.shared.WorkspaceUserQuote;
import org.gcube.portlets.widgets.sessionchecker.client.CheckSession; import org.gcube.portlets.widgets.sessionchecker.client.CheckSession;
import org.gcube.portlets.widgets.workspaceuploader.client.WorkspaceUploadNotification.WorskpaceUploadNotificationListener; import org.gcube.portlets.widgets.workspaceuploader.client.WorkspaceUploadNotification.WorskpaceUploadNotificationListener;
import org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MutlipleDNDUpload; import org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MultipleDNDUpload;
import org.gcube.portlets.widgets.wsmail.client.forms.MailForm; import org.gcube.portlets.widgets.wsmail.client.forms.MailForm;
import com.extjs.gxt.ui.client.widget.LayoutContainer; import com.extjs.gxt.ui.client.widget.LayoutContainer;
@ -1193,7 +1193,7 @@ public class AppController implements SubscriberInterface {
this.wsPortlet = new WorskpacePortlet(this.appContrExplorer.getPanel(true, false, !isSearch), instanceWithGrouping); this.wsPortlet = new WorskpacePortlet(this.appContrExplorer.getPanel(true, false, !isSearch), instanceWithGrouping);
final MutlipleDNDUpload dnd = this.wsPortlet.getDND(); final MultipleDNDUpload dnd = this.wsPortlet.getDND();
WorskpaceUploadNotificationListener listener = new WorskpaceUploadNotificationListener() { WorskpaceUploadNotificationListener listener = new WorskpaceUploadNotificationListener() {

View File

@ -7,7 +7,7 @@ import org.gcube.portlets.user.workspace.client.view.panels.GxtCardLayoutResultP
import org.gcube.portlets.user.workspace.client.view.panels.GxtSeachAndFilterPanel; import org.gcube.portlets.user.workspace.client.view.panels.GxtSeachAndFilterPanel;
import org.gcube.portlets.user.workspace.client.view.toolbars.GxtBottomToolBarItem; import org.gcube.portlets.user.workspace.client.view.toolbars.GxtBottomToolBarItem;
import org.gcube.portlets.user.workspace.client.view.toolbars.GxtBreadcrumbPathPanel; import org.gcube.portlets.user.workspace.client.view.toolbars.GxtBreadcrumbPathPanel;
import org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MutlipleDNDUpload; import org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MultipleDNDUpload;
/** /**
@ -26,7 +26,7 @@ public class WorskpacePortlet {
private GxtGridFilterGroupPanel gridFilterGroupContainer; private GxtGridFilterGroupPanel gridFilterGroupContainer;
private GxtSeachAndFilterPanel searchAndFilterContainer; private GxtSeachAndFilterPanel searchAndFilterContainer;
private GxtCardLayoutResultPanel gxtCardLayoutResultPanel; private GxtCardLayoutResultPanel gxtCardLayoutResultPanel;
private MutlipleDNDUpload dnd; private MultipleDNDUpload dnd;
public WorskpacePortlet(boolean activeGroup) { public WorskpacePortlet(boolean activeGroup) {
@ -44,7 +44,7 @@ public class WorskpacePortlet {
public WorskpacePortlet(ExplorerPanel expPanel, boolean activeGroup) { public WorskpacePortlet(ExplorerPanel expPanel, boolean activeGroup) {
this(activeGroup); this(activeGroup);
this.explorerPanel = expPanel; this.explorerPanel = expPanel;
this.dnd = new MutlipleDNDUpload(); this.dnd = new MultipleDNDUpload();
this.borderLayoutContainer = new GxtBorderLayoutPanel(this.searchAndFilterContainer, this.explorerPanel, this.gxtCardLayoutResultPanel, this.toolBarItemDetails, this.dnd); this.borderLayoutContainer = new GxtBorderLayoutPanel(this.searchAndFilterContainer, this.explorerPanel, this.gxtCardLayoutResultPanel, this.toolBarItemDetails, this.dnd);
} }
@ -88,7 +88,7 @@ public class WorskpacePortlet {
/** /**
* @return the dnd * @return the dnd
*/ */
public MutlipleDNDUpload getDND() { public MultipleDNDUpload getDND() {
return dnd; return dnd;
} }
} }

View File

@ -4,7 +4,7 @@ import org.gcube.portlets.user.workspace.client.ConstantsPortlet;
import org.gcube.portlets.user.workspace.client.view.ExplorerPanel; import org.gcube.portlets.user.workspace.client.view.ExplorerPanel;
import org.gcube.portlets.user.workspace.client.view.toolbars.GxtBottomToolBarItem; import org.gcube.portlets.user.workspace.client.view.toolbars.GxtBottomToolBarItem;
import org.gcube.portlets.widgets.workspaceuploader.client.uploader.DialogUpload.UPLOAD_TYPE; import org.gcube.portlets.widgets.workspaceuploader.client.uploader.DialogUpload.UPLOAD_TYPE;
import org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MutlipleDNDUpload; import org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MultipleDNDUpload;
import com.extjs.gxt.ui.client.Style.LayoutRegion; import com.extjs.gxt.ui.client.Style.LayoutRegion;
import com.extjs.gxt.ui.client.Style.Scroll; import com.extjs.gxt.ui.client.Style.Scroll;
@ -34,14 +34,14 @@ public class GxtBorderLayoutPanel extends ContentPanel {
private ExplorerPanel expPanel = null; //TODO change position private ExplorerPanel expPanel = null; //TODO change position
private GxtSeachAndFilterPanel searchAndFilterContainer; private GxtSeachAndFilterPanel searchAndFilterContainer;
private GxtCardLayoutResultPanel gxtCardLayoutResultPanel; private GxtCardLayoutResultPanel gxtCardLayoutResultPanel;
private MutlipleDNDUpload dnd; private MultipleDNDUpload dnd;
public GxtBorderLayoutPanel( public GxtBorderLayoutPanel(
GxtSeachAndFilterPanel searchAndFilterContainer2, GxtSeachAndFilterPanel searchAndFilterContainer2,
ExplorerPanel explorerPanel, ExplorerPanel explorerPanel,
GxtCardLayoutResultPanel gxtCardLayoutResultPanel, GxtCardLayoutResultPanel gxtCardLayoutResultPanel,
GxtBottomToolBarItem detailsContainer2, MutlipleDNDUpload dnd) { GxtBottomToolBarItem detailsContainer2, MultipleDNDUpload dnd) {
this.searchAndFilterContainer = searchAndFilterContainer2; this.searchAndFilterContainer = searchAndFilterContainer2;
this.expPanel = explorerPanel; this.expPanel = explorerPanel;