ref 13226:StorageHub - Update workspace-sharing-widget to SH

https://support.d4science.org/issues/13226

Updated to StorageHub

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@177240 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2019-02-22 13:40:20 +00:00
parent a1734b6431
commit 6cb6d82820
187 changed files with 282 additions and 396 deletions

View File

@ -191,7 +191,7 @@ import com.google.gwt.user.client.ui.HasWidgets;
/** /**
* The Class AppControllerExplorer. * The Class AppControllerExplorer.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it May 15, 2017 * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it May 15, 2017
*/ */
public class AppControllerExplorer implements EventHandler, TreeAppControllerInterface { public class AppControllerExplorer implements EventHandler, TreeAppControllerInterface {

View File

@ -12,7 +12,7 @@ import com.google.gwt.i18n.client.NumberFormat;
/** /**
* The Class ConstantsExplorer. * The Class ConstantsExplorer.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
*/ */
public class ConstantsExplorer { public class ConstantsExplorer {
public static final String CLARIN_SWITCHBOARD_ENDPOINT_FALLBACK = "https://weblicht.sfs.uni-tuebingen.de/clrs/#/d4science/"; public static final String CLARIN_SWITCHBOARD_ENDPOINT_FALLBACK = "https://weblicht.sfs.uni-tuebingen.de/clrs/#/d4science/";
@ -127,7 +127,7 @@ public class ConstantsExplorer {
/** /**
* The Enum WS_UPLOAD_TYPE. * The Enum WS_UPLOAD_TYPE.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 29, 2016 * Sep 29, 2016
*/ */
public static enum WS_UPLOAD_TYPE {File, Archive}; public static enum WS_UPLOAD_TYPE {File, Archive};
@ -227,7 +227,7 @@ public static enum WS_UPLOAD_TYPE {File, Archive};
/** /**
* The Enum WsPortletInitOperation. * The Enum WsPortletInitOperation.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 29, 2016 * Sep 29, 2016
*/ */
public static enum WsPortletInitOperation {sharelink, gotofolder}; //INIT OPERATIONS public static enum WsPortletInitOperation {sharelink, gotofolder}; //INIT OPERATIONS
@ -237,7 +237,7 @@ public static enum WS_UPLOAD_TYPE {File, Archive};
/** /**
* The Enum ViewSwitchType. * The Enum ViewSwitchType.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 29, 2016 * Sep 29, 2016
*/ */
public enum ViewSwitchType {Tree, SmartFolder, Messages}; public enum ViewSwitchType {Tree, SmartFolder, Messages};

View File

@ -9,7 +9,7 @@ import com.google.gwt.core.client.GWT;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Entry point classes define <code>onModuleLoad()</code>. * Entry point classes define <code>onModuleLoad()</code>.
*/ */
public class TreeAsync implements EntryPoint { public class TreeAsync implements EntryPoint {

View File

@ -6,7 +6,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* May 23, 2013 * May 23, 2013
* *
*/ */

View File

@ -4,13 +4,11 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* May 23, 2013 * May 23, 2013
* *
*/ */
public interface AccountingHistoryEventHandler extends EventHandler { public interface AccountingHistoryEventHandler extends EventHandler {
/**
* @param accountingHistoryEvent
*/
void onAccountingHistoryShow(AccountingHistoryEvent accountingHistoryEvent); void onAccountingHistoryShow(AccountingHistoryEvent accountingHistoryEvent);
} }

View File

@ -6,7 +6,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* May 23, 2013 * May 23, 2013
* *
*/ */

View File

@ -4,13 +4,11 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* May 23, 2013 * May 23, 2013
* *
*/ */
public interface AccountingReadersEventHandler extends EventHandler { public interface AccountingReadersEventHandler extends EventHandler {
/**
* @param accountingReadersEvent
*/
void onAccountingReadersShow(AccountingReadersEvent accountingReadersEvent); void onAccountingReadersShow(AccountingReadersEvent accountingReadersEvent);
} }

View File

@ -8,7 +8,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Jul 8, 2014 * Jul 8, 2014
* *
*/ */

View File

@ -4,14 +4,12 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Jul 8, 2014 * Jul 8, 2014
* *
*/ */
public interface AddAdministratorEventHandler extends EventHandler { public interface AddAdministratorEventHandler extends EventHandler {
/**
* @param addAdministratorEvent
*/
void onAddAdministrator(AddAdministratorEvent addAdministratorEvent); void onAddAdministrator(AddAdministratorEvent addAdministratorEvent);
} }

View File

@ -5,7 +5,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class AddSmartFolderEvent. * The Class AddSmartFolderEvent.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Oct 9, 2015 * Oct 9, 2015
*/ */
public class AddSmartFolderEvent extends GwtEvent<AddSmartFolderEventHandler>{ public class AddSmartFolderEvent extends GwtEvent<AddSmartFolderEventHandler>{

View File

@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* The Interface CheckItemLockedBySyncEventHandler. * The Interface CheckItemLockedBySyncEventHandler.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Mar 28, 2018 * Mar 28, 2018
*/ */
public interface CheckItemLockedBySyncEventHandler extends EventHandler { public interface CheckItemLockedBySyncEventHandler extends EventHandler {

View File

@ -9,16 +9,14 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class CompletedFileUploadEvent. * The Class CompletedFileUploadEvent.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it Oct 6, 2015 * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it Oct 6, 2015
*/ */
public class CompletedFileUploadEvent extends public class CompletedFileUploadEvent extends GwtEvent<CompletedFileUploadEventHandler> implements GuiEventInterface {
GwtEvent<CompletedFileUploadEventHandler> implements GuiEventInterface {
public static Type<CompletedFileUploadEventHandler> TYPE = new Type<CompletedFileUploadEventHandler>(); public static Type<CompletedFileUploadEventHandler> TYPE = new Type<CompletedFileUploadEventHandler>();
private String itemIdentifier; private String itemIdentifier;
private String parentId; private String parentId;
/** The upload type. */
private WS_UPLOAD_TYPE uploadType; private WS_UPLOAD_TYPE uploadType;
private boolean isOverwrite; private boolean isOverwrite;
@ -32,9 +30,10 @@ public class CompletedFileUploadEvent extends
* @param uploadType * @param uploadType
* the upload type * the upload type
* @param isOverwrite * @param isOverwrite
* overwrite
*/ */
public CompletedFileUploadEvent(String parentId, String itemIdentifier, public CompletedFileUploadEvent(String parentId, String itemIdentifier, WS_UPLOAD_TYPE uploadType,
WS_UPLOAD_TYPE uploadType, boolean isOverwrite) { boolean isOverwrite) {
this.parentId = parentId; this.parentId = parentId;
this.itemIdentifier = itemIdentifier; this.itemIdentifier = itemIdentifier;
this.uploadType = uploadType; this.uploadType = uploadType;

View File

@ -11,7 +11,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class CopyItemsEvent. * The Class CopyItemsEvent.
* *
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapaATisti.cnr.it) * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Oct 10, 2018 * Oct 10, 2018
*/ */
public class CopyItemsEvent extends GwtEvent<CopyItemsEventHandler> implements GuiEventInterface{ public class CopyItemsEvent extends GwtEvent<CopyItemsEventHandler> implements GuiEventInterface{

View File

@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* The Interface CopyItemsEventHandler. * The Interface CopyItemsEventHandler.
* *
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapaATisti.cnr.it) * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Oct 10, 2018 * Oct 10, 2018
*/ */
public interface CopyItemsEventHandler extends EventHandler { public interface CopyItemsEventHandler extends EventHandler {

View File

@ -25,12 +25,7 @@ public class CreateSharedFolderEvent extends GwtEvent<CreateSharedFolderEventHan
handler.onCreateSharedFolder(this); handler.onCreateSharedFolder(this);
} }
/**
*
* @param fileSourceModel
* @param parentFileModel
* @param isNewFolder
*/
public CreateSharedFolderEvent(FileModel fileSourceModel, FileModel parentFileModel, boolean isNewFolder) { public CreateSharedFolderEvent(FileModel fileSourceModel, FileModel parentFileModel, boolean isNewFolder) {
this.fileSourceModel = fileSourceModel; this.fileSourceModel = fileSourceModel;
this.parentFileModel = parentFileModel; this.parentFileModel = parentFileModel;

View File

@ -7,7 +7,7 @@ import org.gcube.portlets.user.workspace.client.model.FileModel;
import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.event.shared.GwtEvent;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class CreateUrlEvent extends GwtEvent<CreateUrlEventHandler> implements GuiEventInterface{ public class CreateUrlEvent extends GwtEvent<CreateUrlEventHandler> implements GuiEventInterface{

View File

@ -3,7 +3,7 @@ package org.gcube.portlets.user.workspace.client.event;
import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.event.shared.GwtEvent;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class DeleteBulkEvent extends GwtEvent<DeleteBulkEventHandler> { public class DeleteBulkEvent extends GwtEvent<DeleteBulkEventHandler> {

View File

@ -6,7 +6,7 @@ import org.gcube.portlets.user.workspace.client.interfaces.GuiEventInterface;
import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.event.shared.GwtEvent;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class DeleteSmartFolderEvent extends GwtEvent<DeleteSmartFolderEventHandler> implements GuiEventInterface{ public class DeleteSmartFolderEvent extends GwtEvent<DeleteSmartFolderEventHandler> implements GuiEventInterface{

View File

@ -6,7 +6,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* May 23, 2013 * May 23, 2013
* *
*/ */

View File

@ -4,13 +4,11 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Jan 27, 2015 * Jan 27, 2015
* *
*/ */
public interface EditUserPermissionEventHandler extends EventHandler { public interface EditUserPermissionEventHandler extends EventHandler {
/**
* @param editUserPermissionEvent
*/
void onEditUserPermission(EditUserPermissionEvent editUserPermissionEvent); void onEditUserPermission(EditUserPermissionEvent editUserPermissionEvent);
} }

View File

@ -8,7 +8,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class ExecuteDataMinerTaskEvent. * The Class ExecuteDataMinerTaskEvent.
* *
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapaATisti.cnr.it) * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* May 25, 2018 * May 25, 2018
*/ */
public class ExecuteDataMinerTaskEvent extends public class ExecuteDataMinerTaskEvent extends

View File

@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* The Interface ExecuteDataMinerTaskEventHandler. * The Interface ExecuteDataMinerTaskEventHandler.
* *
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapaATisti.cnr.it) * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* May 25, 2018 * May 25, 2018
*/ */
public interface ExecuteDataMinerTaskEventHandler extends EventHandler { public interface ExecuteDataMinerTaskEventHandler extends EventHandler {

View File

@ -7,7 +7,7 @@ import org.gcube.portlets.user.workspace.client.model.FolderModel;
import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.event.shared.GwtEvent;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class ExpandFolderEvent extends GwtEvent<ExpandFolderEventHandler> implements GuiEventInterface{ public class ExpandFolderEvent extends GwtEvent<ExpandFolderEventHandler> implements GuiEventInterface{

View File

@ -10,7 +10,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class FileUploadEvent. * The Class FileUploadEvent.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Oct 6, 2015 * Oct 6, 2015
*/ */
public class FileUploadEvent extends GwtEvent<FileUploadEventHandler> implements GuiEventInterface{ public class FileUploadEvent extends GwtEvent<FileUploadEventHandler> implements GuiEventInterface{

View File

@ -8,7 +8,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class GetFolderLinkEvent. * The Class GetFolderLinkEvent.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it Sep 13, 2016 * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it Sep 13, 2016
*/ */
public class GetFolderLinkEvent extends GwtEvent<GetFolderLinkEventHandler> { public class GetFolderLinkEvent extends GwtEvent<GetFolderLinkEventHandler> {
@ -22,6 +22,8 @@ public class GetFolderLinkEvent extends GwtEvent<GetFolderLinkEventHandler> {
* *
* @param target * @param target
* the target * the target
* @param setPublic
* set public
*/ */
public GetFolderLinkEvent(FileModel target, boolean setPublic) { public GetFolderLinkEvent(FileModel target, boolean setPublic) {

View File

@ -6,15 +6,11 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* The Interface GetFolderLinkEventHandler. * The Interface GetFolderLinkEventHandler.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 13, 2016 * Sep 13, 2016
*/ */
public interface GetFolderLinkEventHandler extends EventHandler { public interface GetFolderLinkEventHandler extends EventHandler {
/**
* On get folder link.
*
* @param getFolderLinkEvent the get folder link event
*/
void onGetFolderLink(GetFolderLinkEvent getFolderLinkEvent); void onGetFolderLink(GetFolderLinkEvent getFolderLinkEvent);
} }

View File

@ -6,7 +6,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class GetInfoEvent extends GwtEvent<GetInfoEventHandler> { public class GetInfoEvent extends GwtEvent<GetInfoEventHandler> {

View File

@ -4,7 +4,7 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public interface GetInfoEventHandler extends EventHandler { public interface GetInfoEventHandler extends EventHandler {

View File

@ -8,7 +8,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class GetPublicLinkEvent. * The Class GetPublicLinkEvent.
* *
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapaATisti.cnr.it) * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Jan 8, 2019 * Jan 8, 2019
*/ */
public class GetPublicLinkEvent extends GwtEvent<GetPublicLinkEventHandler> { public class GetPublicLinkEvent extends GwtEvent<GetPublicLinkEventHandler> {

View File

@ -4,12 +4,10 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public interface GetPublicLinkEventHandler extends EventHandler { public interface GetPublicLinkEventHandler extends EventHandler {
/**
* @param getPublicLinkEvent
*/
void onGetPublicLink(GetPublicLinkEvent getPublicLinkEvent); void onGetPublicLink(GetPublicLinkEvent getPublicLinkEvent);
} }

View File

@ -6,7 +6,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class GetShareLinkEvent extends GwtEvent<GetSharedLinkEventHandler> { public class GetShareLinkEvent extends GwtEvent<GetSharedLinkEventHandler> {

View File

@ -4,12 +4,10 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public interface GetSharedLinkEventHandler extends EventHandler { public interface GetSharedLinkEventHandler extends EventHandler {
/**
* @param getLinkEvent
*/
void onGetLink(GetShareLinkEvent getLinkEvent); void onGetLink(GetShareLinkEvent getLinkEvent);
} }

View File

@ -10,7 +10,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class MoveItemsEvent. * The Class MoveItemsEvent.
* *
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapaATisti.cnr.it) * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Oct 4, 2018 * Oct 4, 2018
*/ */
public class LoadFolderEvent extends GwtEvent<LoadFolderEventHandler> implements GuiEventInterface{ public class LoadFolderEvent extends GwtEvent<LoadFolderEventHandler> implements GuiEventInterface{

View File

@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* The Interface LoadFolderEventHandler. * The Interface LoadFolderEventHandler.
* *
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapaATisti.cnr.it) * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Oct 9, 2018 * Oct 9, 2018
*/ */
public interface LoadFolderEventHandler extends EventHandler { public interface LoadFolderEventHandler extends EventHandler {

View File

@ -12,7 +12,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class MoveItemsEvent. * The Class MoveItemsEvent.
* *
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapaATisti.cnr.it) * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Oct 4, 2018 * Oct 4, 2018
*/ */
public class MoveItemsEvent extends GwtEvent<MoveItemsEventHandler> implements GuiEventInterface{ public class MoveItemsEvent extends GwtEvent<MoveItemsEventHandler> implements GuiEventInterface{

View File

@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* The Interface MoveItemsEventHandler. * The Interface MoveItemsEventHandler.
* *
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapaATisti.cnr.it) * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Oct 4, 2018 * Oct 4, 2018
*/ */
public interface MoveItemsEventHandler extends EventHandler { public interface MoveItemsEventHandler extends EventHandler {

View File

@ -11,7 +11,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class OpenContextMenuTreeEvent. * The Class OpenContextMenuTreeEvent.
* *
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapaATisti.cnr.it) * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Oct 8, 2018 * Oct 8, 2018
*/ */
public class OpenContextMenuTreeEvent extends GwtEvent<OpenContextMenuTreeEventHandler> { public class OpenContextMenuTreeEvent extends GwtEvent<OpenContextMenuTreeEventHandler> {

View File

@ -5,7 +5,7 @@ import org.gcube.portlets.user.workspace.client.model.FileModel;
import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.event.shared.GwtEvent;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class OpenReportsEvent extends GwtEvent<OpenReportsEventHandler> { public class OpenReportsEvent extends GwtEvent<OpenReportsEventHandler> {

View File

@ -5,7 +5,7 @@ import org.gcube.portlets.user.workspace.client.model.FileModel;
import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.event.shared.GwtEvent;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class OpenUrlEvent extends GwtEvent<OpenUrlEventHandler> { public class OpenUrlEvent extends GwtEvent<OpenUrlEventHandler> {

View File

@ -2,9 +2,9 @@ package org.gcube.portlets.user.workspace.client.event;
import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class PublishOnDataCatalogueEvent * The Class PublishOnDataCatalogueEvent
*
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it) * @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
*/ */
public class PublishOnDataCatalogueEvent extends GwtEvent<PublishOnDataCatalogueEventHandler> { public class PublishOnDataCatalogueEvent extends GwtEvent<PublishOnDataCatalogueEventHandler> {
@ -12,9 +12,11 @@ public class PublishOnDataCatalogueEvent extends GwtEvent<PublishOnDataCatalogue
private String folderId; private String folderId;
/** /**
* Instantiates a new insert metadata event. * Instantiates a new insert metadata event.
*
* @param folderId
* folder id
*/ */
public PublishOnDataCatalogueEvent(String folderId) { public PublishOnDataCatalogueEvent(String folderId) {
this.folderId = folderId; this.folderId = folderId;
@ -27,7 +29,9 @@ public class PublishOnDataCatalogueEvent extends GwtEvent<PublishOnDataCatalogue
return folderId; return folderId;
} }
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see com.google.gwt.event.shared.GwtEvent#getAssociatedType() * @see com.google.gwt.event.shared.GwtEvent#getAssociatedType()
*/ */
@Override @Override
@ -35,8 +39,12 @@ public class PublishOnDataCatalogueEvent extends GwtEvent<PublishOnDataCatalogue
return TYPE; return TYPE;
} }
/* (non-Javadoc) /*
* @see com.google.gwt.event.shared.GwtEvent#dispatch(com.google.gwt.event.shared.EventHandler) * (non-Javadoc)
*
* @see
* com.google.gwt.event.shared.GwtEvent#dispatch(com.google.gwt.event.shared
* .EventHandler)
*/ */
@Override @Override
protected void dispatch(PublishOnDataCatalogueEventHandler handler) { protected void dispatch(PublishOnDataCatalogueEventHandler handler) {

View File

@ -7,7 +7,7 @@ import org.gcube.portlets.user.workspace.client.model.FileModel;
import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.event.shared.GwtEvent;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class RenameItemEvent extends GwtEvent<RenameItemEventHandler> implements GuiEventInterface { public class RenameItemEvent extends GwtEvent<RenameItemEventHandler> implements GuiEventInterface {

View File

@ -7,7 +7,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 4, 2013 * Sep 4, 2013
* *
*/ */

View File

@ -4,14 +4,11 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 4, 2013 * Sep 4, 2013
* *
*/ */
public interface SessionExpiredEventHandler extends EventHandler { public interface SessionExpiredEventHandler extends EventHandler {
/**
* @param sessionExpiredEvent
*/
void onSessionExpired(SessionExpiredEvent sessionExpiredEvent); void onSessionExpired(SessionExpiredEvent sessionExpiredEvent);
} }

View File

@ -9,7 +9,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class SmartFolderSelectedEvent. * The Class SmartFolderSelectedEvent.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
*/ */
public class SmartFolderSelectedEvent extends GwtEvent<SmartFolderSelectedEventHandler> implements GuiEventInterface{ public class SmartFolderSelectedEvent extends GwtEvent<SmartFolderSelectedEventHandler> implements GuiEventInterface{
public static Type<SmartFolderSelectedEventHandler> TYPE = new Type<SmartFolderSelectedEventHandler>(); public static Type<SmartFolderSelectedEventHandler> TYPE = new Type<SmartFolderSelectedEventHandler>();
@ -31,12 +31,7 @@ public class SmartFolderSelectedEvent extends GwtEvent<SmartFolderSelectedEventH
this.category = category; this.category = category;
} }
/**
* A custom Smart Folder created by user
* @param identifier
* @param name
* @param object
*/
public SmartFolderSelectedEvent(String identifier, String name, String query) { public SmartFolderSelectedEvent(String identifier, String name, String query) {
this.smartFolderCustomId = identifier; this.smartFolderCustomId = identifier;
this.smartFolderCustomName = name; this.smartFolderCustomName = name;

View File

@ -9,7 +9,7 @@ import org.gcube.portlets.user.workspace.client.model.FileModel;
import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.event.shared.GwtEvent;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class SubTreeLoadedEvent extends GwtEvent<SubTreeLoadedEventHandler> implements GuiEventInterface{ public class SubTreeLoadedEvent extends GwtEvent<SubTreeLoadedEventHandler> implements GuiEventInterface{

View File

@ -9,7 +9,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class SyncWithThreddsCatalogueEvent. * The Class SyncWithThreddsCatalogueEvent.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Mar 1, 2018 * Mar 1, 2018
*/ */
public class SyncWithThreddsCatalogueEvent extends GwtEvent<SyncWithThreddsCatalogueEventHandler> { public class SyncWithThreddsCatalogueEvent extends GwtEvent<SyncWithThreddsCatalogueEventHandler> {

View File

@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* The Interface SyncWithThreddsCatalogueEventHandler. * The Interface SyncWithThreddsCatalogueEventHandler.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Mar 1, 2018 * Mar 1, 2018
*/ */
public interface SyncWithThreddsCatalogueEventHandler extends EventHandler { public interface SyncWithThreddsCatalogueEventHandler extends EventHandler {

View File

@ -11,7 +11,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* May 23, 2013 * May 23, 2013
* *
*/ */

View File

@ -4,13 +4,11 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* May 23, 2013 * May 23, 2013
* *
*/ */
public interface TrashEventHandler extends EventHandler { public interface TrashEventHandler extends EventHandler {
/**
* @param accountingHistoryEvent
*/
void onTrashEvent(TrashEvent trashEvent); void onTrashEvent(TrashEvent trashEvent);
} }

View File

@ -19,9 +19,7 @@ public class UnShareFolderEvent extends GwtEvent<UnShareFolderEventHandler>{
handler.onUnShareFolder(this); handler.onUnShareFolder(this);
} }
/**
* @param fileSourceModel
*/
public UnShareFolderEvent(FileModel fileSourceModel) { public UnShareFolderEvent(FileModel fileSourceModel) {
this.targetFileModel = fileSourceModel; this.targetFileModel = fileSourceModel;
} }

View File

@ -3,7 +3,7 @@ package org.gcube.portlets.user.workspace.client.event;
import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.event.shared.GwtEvent;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class UpdadeTreePanelLevelEvent extends GwtEvent<UpdadeTreePanelLevelEventHandler>{ public class UpdadeTreePanelLevelEvent extends GwtEvent<UpdadeTreePanelLevelEventHandler>{

View File

@ -7,7 +7,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Oct 30, 2014 * Oct 30, 2014
* *
*/ */

View File

@ -4,14 +4,11 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Oct 30, 2014 * Oct 30, 2014
* *
*/ */
public interface UpdateWorkspaceSizeEventHandler extends EventHandler { public interface UpdateWorkspaceSizeEventHandler extends EventHandler {
/**
* @param updateWorkspaceSizeEvent
*/
void onUpdateWorkspaceSize(UpdateWorkspaceSizeEvent updateWorkspaceSizeEvent); void onUpdateWorkspaceSize(UpdateWorkspaceSizeEvent updateWorkspaceSizeEvent);
} }

View File

@ -7,7 +7,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Mar 14, 2014 * Mar 14, 2014
* *
*/ */

View File

@ -4,14 +4,12 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Mar 18, 2014 * Mar 18, 2014
* *
*/ */
public interface UpdatedVREPermissionEventHandler extends EventHandler { public interface UpdatedVREPermissionEventHandler extends EventHandler {
/**
* @param updatedVREPermissionEvent
*/
void onUpdateVREPermissions(UpdatedVREPermissionEvent updatedVREPermissionEvent); void onUpdateVREPermissions(UpdatedVREPermissionEvent updatedVREPermissionEvent);
} }

View File

@ -6,7 +6,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Mar 14, 2014 * Mar 14, 2014
* *
*/ */

View File

@ -4,7 +4,7 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public interface VRESettingPermissionEventHandler extends EventHandler { public interface VRESettingPermissionEventHandler extends EventHandler {

View File

@ -11,7 +11,7 @@ import com.google.gwt.event.shared.GwtEvent;
/** /**
* The Class FileVersioningEvent. * The Class FileVersioningEvent.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Feb 20, 2017 * Feb 20, 2017
*/ */
public class VersioningHistoryShowEvent extends GwtEvent<VersioningHistoryShowEventHandler> implements GuiEventInterface{ public class VersioningHistoryShowEvent extends GwtEvent<VersioningHistoryShowEventHandler> implements GuiEventInterface{

View File

@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
/** /**
* The Interface FileVersioningEventHandler. * The Interface FileVersioningEventHandler.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Feb 20, 2017 * Feb 20, 2017
*/ */
public interface VersioningHistoryShowEventHandler extends EventHandler { public interface VersioningHistoryShowEventHandler extends EventHandler {

View File

@ -1,7 +1,7 @@
package org.gcube.portlets.user.workspace.client.interfaces; package org.gcube.portlets.user.workspace.client.interfaces;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public enum EventsTypeEnum public enum EventsTypeEnum

View File

@ -4,7 +4,7 @@ package org.gcube.portlets.user.workspace.client.interfaces;
/** /**
* The Enum GXTCategoryItemInterface. * The Enum GXTCategoryItemInterface.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 29, 2016 * Sep 29, 2016
*/ */
public enum GXTCategorySmartFolder { public enum GXTCategorySmartFolder {

View File

@ -3,7 +3,7 @@ package org.gcube.portlets.user.workspace.client.interfaces;
import java.io.Serializable; import java.io.Serializable;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public enum GXTFolderItemTypeEnum implements Serializable { public enum GXTFolderItemTypeEnum implements Serializable {

View File

@ -3,7 +3,7 @@ package org.gcube.portlets.user.workspace.client.interfaces;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */

View File

@ -14,7 +14,7 @@ import org.gcube.portlets.user.workspace.shared.WorkspaceTrashOperation;
/** /**
* The Interface SubscriberInterface. * The Interface SubscriberInterface.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Oct 6, 2015 * Oct 6, 2015
*/ */
public interface SubscriberInterface { public interface SubscriberInterface {

View File

@ -5,7 +5,7 @@ import java.util.List;
import org.gcube.portlets.user.workspace.client.model.FileModel; import org.gcube.portlets.user.workspace.client.model.FileModel;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
//Implements this interface to upgrade the state of the store that was loaded in Async Tree //Implements this interface to upgrade the state of the store that was loaded in Async Tree

View File

@ -6,7 +6,7 @@ import org.gcube.portlets.widgets.workspacesharingwidget.shared.InfoContactModel
import com.google.gwt.user.client.ui.Image; import com.google.gwt.user.client.ui.Image;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class ExtendedInfoContactModel extends InfoContactModel { public class ExtendedInfoContactModel extends InfoContactModel {

View File

@ -6,7 +6,7 @@ import org.gcube.portlets.widgets.workspacesharingwidget.shared.InfoContactModel
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
@Deprecated @Deprecated

View File

@ -6,7 +6,7 @@ import java.util.Date;
/** /**
* The Class FileGridModel. * The Class FileGridModel.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 15, 2016 * Sep 15, 2016
*/ */
public class FileGridModel extends FileModel { public class FileGridModel extends FileModel {

View File

@ -19,7 +19,7 @@ import com.google.gwt.user.client.ui.Image;
/** /**
* The Class FileModel. * The Class FileModel.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 15, 2016 * Sep 15, 2016
*/ */
public class FileModel extends BaseModelData implements Serializable { public class FileModel extends BaseModelData implements Serializable {

View File

@ -6,7 +6,7 @@ import org.gcube.portlets.widgets.workspacesharingwidget.shared.InfoContactModel
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* May 12, 2014 * May 12, 2014
* *
*/ */

View File

@ -6,7 +6,7 @@ import java.util.Date;
/** /**
* The Class FileVersionModel. * The Class FileVersionModel.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Feb 20, 2017 * Feb 20, 2017
*/ */
public class FileVersionModel extends FileModel { public class FileVersionModel extends FileModel {

View File

@ -6,7 +6,7 @@ import java.util.Date;
/** /**
* The Class FolderGridModel. * The Class FolderGridModel.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 15, 2016 * Sep 15, 2016
*/ */
public class FolderGridModel extends FileGridModel { public class FolderGridModel extends FileGridModel {

View File

@ -4,7 +4,7 @@ package org.gcube.portlets.user.workspace.client.model;
/** /**
* The Class FolderModel. * The Class FolderModel.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 15, 2016 * Sep 15, 2016
*/ */
public class FolderModel extends FileModel { public class FolderModel extends FileModel {

View File

@ -9,7 +9,7 @@ import com.google.gwt.user.client.rpc.IsSerializable;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 27, 2017 * Sep 27, 2017
*/ */
public class GcubeVRE extends BaseModelData implements IsSerializable{ public class GcubeVRE extends BaseModelData implements IsSerializable{

View File

@ -10,7 +10,7 @@ import org.gcube.portlets.widgets.workspacesharingwidget.shared.InfoContactModel
import com.extjs.gxt.ui.client.data.BaseModelData; import com.extjs.gxt.ui.client.data.BaseModelData;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class MessageModel extends BaseModelData implements Serializable { public class MessageModel extends BaseModelData implements Serializable {

View File

@ -5,7 +5,7 @@ import java.io.Serializable;
import com.extjs.gxt.ui.client.data.BaseModelData; import com.extjs.gxt.ui.client.data.BaseModelData;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class ScopeModel extends BaseModelData implements Serializable { public class ScopeModel extends BaseModelData implements Serializable {

View File

@ -8,7 +8,7 @@ import com.extjs.gxt.ui.client.data.BaseModelData;
/** /**
* The Class SmartFolderModel. * The Class SmartFolderModel.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 29, 2016 * Sep 29, 2016
*/ */
public class SmartFolderModel extends BaseModelData implements Serializable { public class SmartFolderModel extends BaseModelData implements Serializable {

View File

@ -7,7 +7,7 @@ import com.extjs.gxt.ui.client.data.BaseModelData;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class SubTree extends BaseModelData implements Serializable { public class SubTree extends BaseModelData implements Serializable {

View File

@ -10,7 +10,7 @@ import com.google.gwt.user.client.ui.AbstractImagePrototype;
/** /**
* The Class Resources. * The Class Resources.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
*/ */
public class Resources { public class Resources {

View File

@ -37,7 +37,7 @@ import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
/** /**
* The Interface GWTWorkspaceService. * The Interface GWTWorkspaceService.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
*/ */
@RemoteServiceRelativePath("WorkspaceService") @RemoteServiceRelativePath("WorkspaceService")
public interface GWTWorkspaceService extends RemoteService { public interface GWTWorkspaceService extends RemoteService {

View File

@ -36,7 +36,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
/** /**
* The Interface GWTWorkspaceServiceAsync. * The Interface GWTWorkspaceServiceAsync.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
*/ */
public interface GWTWorkspaceServiceAsync { public interface GWTWorkspaceServiceAsync {

View File

@ -9,7 +9,7 @@ import java.util.List;
import org.gcube.portlets.user.workspace.client.model.FileModel; import org.gcube.portlets.user.workspace.client.model.FileModel;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Jan 23, 2014 * Jan 23, 2014
* *
*/ */

View File

@ -10,7 +10,7 @@ import org.gcube.portlets.widgets.workspacesharingwidget.shared.WorkspaceACL.USE
import com.google.gwt.user.client.ui.AbstractImagePrototype; import com.google.gwt.user.client.ui.AbstractImagePrototype;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Feb 17, 2014 * Feb 17, 2014
* *
*/ */

View File

@ -2,75 +2,63 @@ package org.gcube.portlets.user.workspace.client.util;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it May 8, 2014
* May 8, 2014
* *
*/ */
public class GroupNameUtilSeparator { public class GroupNameUtilSeparator {
private String stringSeparator = "/"; private String stringSeparator = "/";
/**
*
* @param separator - the string separator
*/
public GroupNameUtilSeparator(String separator) { public GroupNameUtilSeparator(String separator) {
if(separator!=null && !separator.isEmpty()) if (separator != null && !separator.isEmpty())
this.stringSeparator = separator; this.stringSeparator = separator;
} }
/** /**
* Return Either subsequence of name from separatorStartIndex (including separator) to end, * Return Either subsequence of name from separatorStartIndex (including
* or name passed in input if split.length < separatorStartIndex * separator) to end, or name passed in input if split.length is less of
* @see main * separatorStartIndex
*
* *
* @param name * @param name
* @param separatorStartIndex - start index must be 1 * name
* @return * @param separatorStartIndex
* start
* @throws Exception * @throws Exception
* error
*/ */
public String getSubsequenceName(String name, int separatorStartIndex) throws Exception{ public String getSubsequenceName(String name, int separatorStartIndex) throws Exception {
if(separatorStartIndex<1) if (separatorStartIndex < 1)
throw new Exception("Invalid start separator index: "+separatorStartIndex); throw new Exception("Invalid start separator index: " + separatorStartIndex);
if(name==null) if (name == null)
throw new Exception("Invalid name: "+name); throw new Exception("Invalid name: " + name);
String[] split = name.split(stringSeparator); String[] split = name.split(stringSeparator);
/*
* for (String sp : split) { System.out.println("split: "+sp); }
*/
/*for (String sp : split) { if (split == null || split.length == 0)
System.out.println("split: "+sp);
}*/
if(split==null || split.length==0)
return ""; return "";
String displayName = "";
String displayName =""; if (split.length > separatorStartIndex) {
if(split.length>separatorStartIndex){
for (int i = separatorStartIndex; i < split.length; i++) { for (int i = separatorStartIndex; i < split.length; i++) {
displayName+= stringSeparator+split[i]; displayName += stringSeparator + split[i];
} }
}else } else
displayName = name; displayName = name;
return displayName; return displayName;
} }
/**
*
* @param args
*/
public static void main(String[] args) { public static void main(String[] args) {
GroupNameUtilSeparator filter = new GroupNameUtilSeparator("/"); GroupNameUtilSeparator filter = new GroupNameUtilSeparator("/");
@ -79,7 +67,7 @@ public class GroupNameUtilSeparator {
try { try {
String displayedName = filter.getSubsequenceName(name, 2); String displayedName = filter.getSubsequenceName(name, 2);
System.out.println("display name: "+displayedName); System.out.println("display name: " + displayedName);
} catch (Exception e) { } catch (Exception e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block
@ -87,5 +75,4 @@ public class GroupNameUtilSeparator {
} }
} }
} }

View File

@ -13,7 +13,7 @@ import com.google.gwt.user.client.ui.Image;
/** /**
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Jan 9, 2017 * Jan 9, 2017
*/ */
public class MaskPanel extends FlowPanel{ public class MaskPanel extends FlowPanel{
@ -22,9 +22,7 @@ public class MaskPanel extends FlowPanel{
private Image loading = Resources.getIconLoading().createImage(); private Image loading = Resources.getIconLoading().createImage();
private Label label = new Label(); private Label label = new Label();
/**
*
*/
public MaskPanel(String msg) { public MaskPanel(String msg) {
msg = msg!=null &&!msg.isEmpty()?msg:"Loading..."; msg = msg!=null &&!msg.isEmpty()?msg:"Loading...";
label.setText(msg); label.setText(msg);

View File

@ -20,7 +20,7 @@ import com.google.gwt.http.client.Response;
import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user.client.rpc.AsyncCallback;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Jun 24, 2013 * Jun 24, 2013
* *
*/ */
@ -33,15 +33,7 @@ public class RequestBuilderWorkspaceValidateItem {
private AsyncCallback<WindowOpenParameter> callback; private AsyncCallback<WindowOpenParameter> callback;
private String httpQueryString; private String httpQueryString;
/**
*
* @param method
* @param servletName the name of the servlet that must be called
* @param params param=value&param1=value1&...
* @param targetWindow the target of the window (e.g. "_blank")
* @param callback
* @throws Exception
*/
public RequestBuilderWorkspaceValidateItem(RequestBuilder.Method method, String servletName, final String params, final String targetWindow, final AsyncCallback<WindowOpenParameter> callback) throws Exception{ public RequestBuilderWorkspaceValidateItem(RequestBuilder.Method method, String servletName, final String params, final String targetWindow, final AsyncCallback<WindowOpenParameter> callback) throws Exception{
this.callback = callback; this.callback = callback;

View File

@ -6,8 +6,7 @@ package org.gcube.portlets.user.workspace.client.util;
import org.gcube.portlets.user.workspace.client.view.windows.NewBrowserWindow; import org.gcube.portlets.user.workspace.client.view.windows.NewBrowserWindow;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it Jun 25, 2013
* Jun 25, 2013
* *
*/ */
public class WindowOpenParameter { public class WindowOpenParameter {
@ -18,22 +17,24 @@ public class WindowOpenParameter {
private boolean redirectOnError; private boolean redirectOnError;
private NewBrowserWindow browserWindow; private NewBrowserWindow browserWindow;
/**
*
*/
public WindowOpenParameter() { public WindowOpenParameter() {
} }
/** /**
* *
* @param target the target of the window (e.g. "_blank") * @param target
* the target of the window (e.g. "_blank")
* @param itemName * @param itemName
* @param parameters param=value&param1=value1&... * item name
* @param redirectOnError if true execute a redirect on fake URL * @param parameters
* @param browserWindow an instance of NewBrowserWindow * param=value{@literal &}param1=value1...
* @param redirectOnError
* if true execute a redirect on fake URL
* @param browserWindow
* an instance of NewBrowserWindow
*/ */
public WindowOpenParameter(String target, String itemName, String parameters, boolean redirectOnError, NewBrowserWindow browserWindow) { public WindowOpenParameter(String target, String itemName, String parameters, boolean redirectOnError,
NewBrowserWindow browserWindow) {
super(); super();
this.option = target; this.option = target;
this.itemName = itemName; this.itemName = itemName;
@ -42,7 +43,6 @@ public class WindowOpenParameter {
this.browserWindow = browserWindow; this.browserWindow = browserWindow;
} }
public String getParameters() { public String getParameters() {
return parameters; return parameters;
} }
@ -59,36 +59,28 @@ public class WindowOpenParameter {
this.option = option; this.option = option;
} }
public String getItemName() { public String getItemName() {
return itemName; return itemName;
} }
public void setItemName(String itemName) { public void setItemName(String itemName) {
this.itemName = itemName; this.itemName = itemName;
} }
public boolean isRedirectOnError() { public boolean isRedirectOnError() {
return redirectOnError; return redirectOnError;
} }
public void setRedirectOnError(boolean redirectOnError) { public void setRedirectOnError(boolean redirectOnError) {
this.redirectOnError = redirectOnError; this.redirectOnError = redirectOnError;
} }
public NewBrowserWindow getBrowserWindow() { public NewBrowserWindow getBrowserWindow() {
return browserWindow; return browserWindow;
} }
public void setBrowserWindow(NewBrowserWindow browserWindow) { public void setBrowserWindow(NewBrowserWindow browserWindow) {
this.browserWindow = browserWindow; this.browserWindow = browserWindow;
} }
} }

View File

@ -20,7 +20,7 @@ import com.extjs.gxt.ui.client.widget.form.RadioGroup;
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar; import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class ExplorerPanel extends LayoutContainer { public class ExplorerPanel extends LayoutContainer {

View File

@ -37,7 +37,7 @@ import com.google.gwt.user.client.ui.Label;
/** /**
* The Class DialogShareFolder. * The Class DialogShareFolder.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it Jul 10, 2017 * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it Jul 10, 2017
*/ */
public class DialogShareFolder extends Dialog { public class DialogShareFolder extends Dialog {

View File

@ -14,7 +14,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
/** /**
* The Class UserStore. * The Class UserStore.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
*/ */
public class UserStore implements ContactFetcher{ public class UserStore implements ContactFetcher{

View File

@ -51,7 +51,7 @@ import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
/** /**
* The Class MultiDragContact. * The Class MultiDragContact.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Jun 1, 2016 * Jun 1, 2016
*/ */
public class MultiDragContact extends Dialog { public class MultiDragContact extends Dialog {

View File

@ -26,7 +26,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.Label;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class DialogPermission extends Dialog { public class DialogPermission extends Dialog {

View File

@ -20,7 +20,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
/** /**
* The Class SmartFolderPanel. * The Class SmartFolderPanel.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* @author Massimiliano Assante ISTI-CNR * @author Massimiliano Assante ISTI-CNR
* @version 1.0 May 14th 2012 * @version 1.0 May 14th 2012
*/ */

View File

@ -56,7 +56,7 @@ import com.google.gwt.user.client.ui.AbstractImagePrototype;
/** /**
* The Class AsyncTreePanel. * The Class AsyncTreePanel.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Sep 15, 2016 * Sep 15, 2016
*/ */
public class AsyncTreePanel extends LayoutContainer { public class AsyncTreePanel extends LayoutContainer {
@ -78,7 +78,7 @@ public class AsyncTreePanel extends LayoutContainer {
/** /**
* The Enum DragType. * The Enum DragType.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Aug 29, 2016 * Aug 29, 2016
*/ */
private enum DragType {INSERT, APPEND}; private enum DragType {INSERT, APPEND};

View File

@ -60,7 +60,7 @@ import com.google.gwt.user.client.ui.AbstractImagePrototype;
/** /**
* The Class ContextMenuTree. * The Class ContextMenuTree.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
*/ */
public class ContextMenuTree { public class ContextMenuTree {

View File

@ -5,7 +5,7 @@ import com.extjs.gxt.ui.client.widget.ProgressBar;
//import com.google.gwt.user.client.Timer; //import com.google.gwt.user.client.Timer;
/** /**
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* *
*/ */
public class BulkProgressBar extends ProgressBar { public class BulkProgressBar extends ProgressBar {

View File

@ -19,7 +19,7 @@ import com.extjs.gxt.ui.client.widget.layout.FormLayout;
/** /**
* The Class DialogAddFolderAndSmart. * The Class DialogAddFolderAndSmart.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it Jul 10, 2017 * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it Jul 10, 2017
*/ */
public class DialogAddFolderAndSmart extends Dialog { public class DialogAddFolderAndSmart extends Dialog {
@ -34,7 +34,7 @@ public class DialogAddFolderAndSmart extends Dialog {
/** /**
* The Enum AddType. * The Enum AddType.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it Jul 10, * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it Jul 10,
* 2017 * 2017
*/ */
public enum AddType { public enum AddType {

View File

@ -21,7 +21,7 @@ import com.google.gwt.user.client.ui.Label;
/** /**
* The Class DialogAddUrl. * The Class DialogAddUrl.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Nov 29, 2016 * Nov 29, 2016
*/ */
public class DialogAddUrl extends Dialog { public class DialogAddUrl extends Dialog {

View File

@ -23,7 +23,7 @@ import com.google.gwt.user.client.ui.Widget;
/** /**
* The Class DialogConfirm. * The Class DialogConfirm.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
* Feb 19, 2015 * Feb 19, 2015
*/ */
public class DialogConfirm extends DialogBox implements ClickHandler { public class DialogConfirm extends DialogBox implements ClickHandler {

View File

@ -26,7 +26,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
/** /**
* The Class DialogEditProperties. * The Class DialogEditProperties.
* *
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it Jun 11, 2015 * @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it Jun 11, 2015
*/ */
public class DialogEditProperties extends Dialog { public class DialogEditProperties extends Dialog {

Some files were not shown because too many files have changed in this diff Show More