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:
parent
a1734b6431
commit
6cb6d82820
|
@ -191,7 +191,7 @@ import com.google.gwt.user.client.ui.HasWidgets;
|
|||
/**
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import com.google.gwt.i18n.client.NumberFormat;
|
|||
/**
|
||||
* The Class ConstantsExplorer.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
*/
|
||||
public class ConstantsExplorer {
|
||||
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.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Sep 29, 2016
|
||||
*/
|
||||
public static enum WS_UPLOAD_TYPE {File, Archive};
|
||||
|
@ -227,7 +227,7 @@ public static enum WS_UPLOAD_TYPE {File, Archive};
|
|||
/**
|
||||
* The Enum WsPortletInitOperation.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Sep 29, 2016
|
||||
*/
|
||||
public static enum WsPortletInitOperation {sharelink, gotofolder}; //INIT OPERATIONS
|
||||
|
@ -237,7 +237,7 @@ public static enum WS_UPLOAD_TYPE {File, Archive};
|
|||
/**
|
||||
* The Enum ViewSwitchType.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Sep 29, 2016
|
||||
*/
|
||||
public enum ViewSwitchType {Tree, SmartFolder, Messages};
|
||||
|
|
|
@ -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>.
|
||||
*/
|
||||
public class TreeAsync implements EntryPoint {
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
public interface AccountingHistoryEventHandler extends EventHandler {
|
||||
/**
|
||||
* @param accountingHistoryEvent
|
||||
*/
|
||||
|
||||
void onAccountingHistoryShow(AccountingHistoryEvent accountingHistoryEvent);
|
||||
}
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
public interface AccountingReadersEventHandler extends EventHandler {
|
||||
/**
|
||||
* @param accountingReadersEvent
|
||||
*/
|
||||
|
||||
void onAccountingReadersShow(AccountingReadersEvent accountingReadersEvent);
|
||||
}
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
public interface AddAdministratorEventHandler extends EventHandler {
|
||||
|
||||
/**
|
||||
* @param addAdministratorEvent
|
||||
*/
|
||||
|
||||
void onAddAdministrator(AddAdministratorEvent addAdministratorEvent);
|
||||
}
|
|
@ -5,7 +5,7 @@ import com.google.gwt.event.shared.GwtEvent;
|
|||
/**
|
||||
* The Class AddSmartFolderEvent.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Oct 9, 2015
|
||||
*/
|
||||
public class AddSmartFolderEvent extends GwtEvent<AddSmartFolderEventHandler>{
|
||||
|
|
|
@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
|
|||
/**
|
||||
* The Interface CheckItemLockedBySyncEventHandler.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Mar 28, 2018
|
||||
*/
|
||||
public interface CheckItemLockedBySyncEventHandler extends EventHandler {
|
||||
|
|
|
@ -9,16 +9,14 @@ import com.google.gwt.event.shared.GwtEvent;
|
|||
/**
|
||||
* 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
|
||||
GwtEvent<CompletedFileUploadEventHandler> implements GuiEventInterface {
|
||||
public class CompletedFileUploadEvent extends GwtEvent<CompletedFileUploadEventHandler> implements GuiEventInterface {
|
||||
public static Type<CompletedFileUploadEventHandler> TYPE = new Type<CompletedFileUploadEventHandler>();
|
||||
|
||||
private String itemIdentifier;
|
||||
private String parentId;
|
||||
|
||||
/** The upload type. */
|
||||
private WS_UPLOAD_TYPE uploadType;
|
||||
private boolean isOverwrite;
|
||||
|
||||
|
@ -32,9 +30,10 @@ public class CompletedFileUploadEvent extends
|
|||
* @param uploadType
|
||||
* the upload type
|
||||
* @param isOverwrite
|
||||
* overwrite
|
||||
*/
|
||||
public CompletedFileUploadEvent(String parentId, String itemIdentifier,
|
||||
WS_UPLOAD_TYPE uploadType, boolean isOverwrite) {
|
||||
public CompletedFileUploadEvent(String parentId, String itemIdentifier, WS_UPLOAD_TYPE uploadType,
|
||||
boolean isOverwrite) {
|
||||
this.parentId = parentId;
|
||||
this.itemIdentifier = itemIdentifier;
|
||||
this.uploadType = uploadType;
|
||||
|
|
|
@ -11,7 +11,7 @@ import com.google.gwt.event.shared.GwtEvent;
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
public class CopyItemsEvent extends GwtEvent<CopyItemsEventHandler> implements GuiEventInterface{
|
||||
|
|
|
@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
public interface CopyItemsEventHandler extends EventHandler {
|
||||
|
|
|
@ -25,12 +25,7 @@ public class CreateSharedFolderEvent extends GwtEvent<CreateSharedFolderEventHan
|
|||
handler.onCreateSharedFolder(this);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param fileSourceModel
|
||||
* @param parentFileModel
|
||||
* @param isNewFolder
|
||||
*/
|
||||
|
||||
public CreateSharedFolderEvent(FileModel fileSourceModel, FileModel parentFileModel, boolean isNewFolder) {
|
||||
this.fileSourceModel = fileSourceModel;
|
||||
this.parentFileModel = parentFileModel;
|
||||
|
|
|
@ -7,7 +7,7 @@ import org.gcube.portlets.user.workspace.client.model.FileModel;
|
|||
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{
|
||||
|
|
|
@ -3,7 +3,7 @@ package org.gcube.portlets.user.workspace.client.event;
|
|||
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> {
|
||||
|
|
|
@ -6,7 +6,7 @@ import org.gcube.portlets.user.workspace.client.interfaces.GuiEventInterface;
|
|||
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{
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
public interface EditUserPermissionEventHandler extends EventHandler {
|
||||
/**
|
||||
* @param editUserPermissionEvent
|
||||
*/
|
||||
|
||||
void onEditUserPermission(EditUserPermissionEvent editUserPermissionEvent);
|
||||
}
|
|
@ -8,7 +8,7 @@ import com.google.gwt.event.shared.GwtEvent;
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
public class ExecuteDataMinerTaskEvent extends
|
||||
|
|
|
@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
public interface ExecuteDataMinerTaskEventHandler extends EventHandler {
|
||||
|
|
|
@ -7,7 +7,7 @@ import org.gcube.portlets.user.workspace.client.model.FolderModel;
|
|||
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{
|
||||
|
|
|
@ -10,7 +10,7 @@ import com.google.gwt.event.shared.GwtEvent;
|
|||
/**
|
||||
* The Class FileUploadEvent.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Oct 6, 2015
|
||||
*/
|
||||
public class FileUploadEvent extends GwtEvent<FileUploadEventHandler> implements GuiEventInterface{
|
||||
|
|
|
@ -8,7 +8,7 @@ import com.google.gwt.event.shared.GwtEvent;
|
|||
/**
|
||||
* 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> {
|
||||
|
||||
|
@ -22,6 +22,8 @@ public class GetFolderLinkEvent extends GwtEvent<GetFolderLinkEventHandler> {
|
|||
*
|
||||
* @param target
|
||||
* the target
|
||||
* @param setPublic
|
||||
* set public
|
||||
*/
|
||||
public GetFolderLinkEvent(FileModel target, boolean setPublic) {
|
||||
|
||||
|
|
|
@ -6,15 +6,11 @@ import com.google.gwt.event.shared.EventHandler;
|
|||
/**
|
||||
* The Interface GetFolderLinkEventHandler.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Sep 13, 2016
|
||||
*/
|
||||
public interface GetFolderLinkEventHandler extends EventHandler {
|
||||
|
||||
/**
|
||||
* On get folder link.
|
||||
*
|
||||
* @param getFolderLinkEvent the get folder link event
|
||||
*/
|
||||
|
||||
void onGetFolderLink(GetFolderLinkEvent getFolderLinkEvent);
|
||||
}
|
||||
|
|
|
@ -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> {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -8,7 +8,7 @@ import com.google.gwt.event.shared.GwtEvent;
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
public class GetPublicLinkEvent extends GwtEvent<GetPublicLinkEventHandler> {
|
||||
|
|
|
@ -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 {
|
||||
/**
|
||||
* @param getPublicLinkEvent
|
||||
*/
|
||||
|
||||
void onGetPublicLink(GetPublicLinkEvent getPublicLinkEvent);
|
||||
}
|
||||
|
|
|
@ -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> {
|
||||
|
|
|
@ -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 {
|
||||
/**
|
||||
* @param getLinkEvent
|
||||
*/
|
||||
|
||||
void onGetLink(GetShareLinkEvent getLinkEvent);
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ import com.google.gwt.event.shared.GwtEvent;
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
public class LoadFolderEvent extends GwtEvent<LoadFolderEventHandler> implements GuiEventInterface{
|
||||
|
|
|
@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
public interface LoadFolderEventHandler extends EventHandler {
|
||||
|
|
|
@ -12,7 +12,7 @@ import com.google.gwt.event.shared.GwtEvent;
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
public class MoveItemsEvent extends GwtEvent<MoveItemsEventHandler> implements GuiEventInterface{
|
||||
|
|
|
@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
public interface MoveItemsEventHandler extends EventHandler {
|
||||
|
|
|
@ -11,7 +11,7 @@ import com.google.gwt.event.shared.GwtEvent;
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
public class OpenContextMenuTreeEvent extends GwtEvent<OpenContextMenuTreeEventHandler> {
|
||||
|
|
|
@ -5,7 +5,7 @@ import org.gcube.portlets.user.workspace.client.model.FileModel;
|
|||
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> {
|
||||
|
|
|
@ -5,7 +5,7 @@ import org.gcube.portlets.user.workspace.client.model.FileModel;
|
|||
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> {
|
||||
|
|
|
@ -2,9 +2,9 @@ package org.gcube.portlets.user.workspace.client.event;
|
|||
|
||||
import com.google.gwt.event.shared.GwtEvent;
|
||||
|
||||
|
||||
/**
|
||||
* The Class PublishOnDataCatalogueEvent
|
||||
*
|
||||
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
||||
*/
|
||||
public class PublishOnDataCatalogueEvent extends GwtEvent<PublishOnDataCatalogueEventHandler> {
|
||||
|
@ -12,9 +12,11 @@ public class PublishOnDataCatalogueEvent extends GwtEvent<PublishOnDataCatalogue
|
|||
|
||||
private String folderId;
|
||||
|
||||
|
||||
/**
|
||||
* Instantiates a new insert metadata event.
|
||||
*
|
||||
* @param folderId
|
||||
* folder id
|
||||
*/
|
||||
public PublishOnDataCatalogueEvent(String folderId) {
|
||||
this.folderId = folderId;
|
||||
|
@ -27,7 +29,9 @@ public class PublishOnDataCatalogueEvent extends GwtEvent<PublishOnDataCatalogue
|
|||
return folderId;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see com.google.gwt.event.shared.GwtEvent#getAssociatedType()
|
||||
*/
|
||||
@Override
|
||||
|
@ -35,8 +39,12 @@ public class PublishOnDataCatalogueEvent extends GwtEvent<PublishOnDataCatalogue
|
|||
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
|
||||
protected void dispatch(PublishOnDataCatalogueEventHandler handler) {
|
||||
|
|
|
@ -7,7 +7,7 @@ import org.gcube.portlets.user.workspace.client.model.FileModel;
|
|||
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 {
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
public interface SessionExpiredEventHandler extends EventHandler {
|
||||
|
||||
/**
|
||||
* @param sessionExpiredEvent
|
||||
*/
|
||||
void onSessionExpired(SessionExpiredEvent sessionExpiredEvent);
|
||||
}
|
|
@ -9,7 +9,7 @@ import com.google.gwt.event.shared.GwtEvent;
|
|||
/**
|
||||
* 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 static Type<SmartFolderSelectedEventHandler> TYPE = new Type<SmartFolderSelectedEventHandler>();
|
||||
|
@ -31,12 +31,7 @@ public class SmartFolderSelectedEvent extends GwtEvent<SmartFolderSelectedEventH
|
|||
this.category = category;
|
||||
}
|
||||
|
||||
/**
|
||||
* A custom Smart Folder created by user
|
||||
* @param identifier
|
||||
* @param name
|
||||
* @param object
|
||||
*/
|
||||
|
||||
public SmartFolderSelectedEvent(String identifier, String name, String query) {
|
||||
this.smartFolderCustomId = identifier;
|
||||
this.smartFolderCustomName = name;
|
||||
|
|
|
@ -9,7 +9,7 @@ import org.gcube.portlets.user.workspace.client.model.FileModel;
|
|||
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{
|
||||
|
|
|
@ -9,7 +9,7 @@ import com.google.gwt.event.shared.GwtEvent;
|
|||
/**
|
||||
* The Class SyncWithThreddsCatalogueEvent.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Mar 1, 2018
|
||||
*/
|
||||
public class SyncWithThreddsCatalogueEvent extends GwtEvent<SyncWithThreddsCatalogueEventHandler> {
|
||||
|
|
|
@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
|
|||
/**
|
||||
* The Interface SyncWithThreddsCatalogueEventHandler.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Mar 1, 2018
|
||||
*/
|
||||
public interface SyncWithThreddsCatalogueEventHandler extends EventHandler {
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
public interface TrashEventHandler extends EventHandler {
|
||||
/**
|
||||
* @param accountingHistoryEvent
|
||||
*/
|
||||
|
||||
void onTrashEvent(TrashEvent trashEvent);
|
||||
}
|
|
@ -19,9 +19,7 @@ public class UnShareFolderEvent extends GwtEvent<UnShareFolderEventHandler>{
|
|||
handler.onUnShareFolder(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param fileSourceModel
|
||||
*/
|
||||
|
||||
public UnShareFolderEvent(FileModel fileSourceModel) {
|
||||
this.targetFileModel = fileSourceModel;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ package org.gcube.portlets.user.workspace.client.event;
|
|||
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>{
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
public interface UpdateWorkspaceSizeEventHandler extends EventHandler {
|
||||
|
||||
/**
|
||||
* @param updateWorkspaceSizeEvent
|
||||
*/
|
||||
void onUpdateWorkspaceSize(UpdateWorkspaceSizeEvent updateWorkspaceSizeEvent);
|
||||
}
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
public interface UpdatedVREPermissionEventHandler extends EventHandler {
|
||||
|
||||
/**
|
||||
* @param updatedVREPermissionEvent
|
||||
*/
|
||||
|
||||
void onUpdateVREPermissions(UpdatedVREPermissionEvent updatedVREPermissionEvent);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -11,7 +11,7 @@ import com.google.gwt.event.shared.GwtEvent;
|
|||
/**
|
||||
* The Class FileVersioningEvent.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Feb 20, 2017
|
||||
*/
|
||||
public class VersioningHistoryShowEvent extends GwtEvent<VersioningHistoryShowEventHandler> implements GuiEventInterface{
|
||||
|
|
|
@ -6,7 +6,7 @@ import com.google.gwt.event.shared.EventHandler;
|
|||
/**
|
||||
* The Interface FileVersioningEventHandler.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Feb 20, 2017
|
||||
*/
|
||||
public interface VersioningHistoryShowEventHandler extends EventHandler {
|
||||
|
|
|
@ -1,7 +1,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
|
||||
*
|
||||
*/
|
||||
public enum EventsTypeEnum
|
||||
|
|
|
@ -4,7 +4,7 @@ package org.gcube.portlets.user.workspace.client.interfaces;
|
|||
/**
|
||||
* The Enum GXTCategoryItemInterface.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Sep 29, 2016
|
||||
*/
|
||||
public enum GXTCategorySmartFolder {
|
||||
|
|
|
@ -3,7 +3,7 @@ package org.gcube.portlets.user.workspace.client.interfaces;
|
|||
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 {
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import org.gcube.portlets.user.workspace.shared.WorkspaceTrashOperation;
|
|||
/**
|
||||
* The Interface SubscriberInterface.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Oct 6, 2015
|
||||
*/
|
||||
public interface SubscriberInterface {
|
||||
|
|
|
@ -5,7 +5,7 @@ import java.util.List;
|
|||
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
|
||||
|
|
|
@ -6,7 +6,7 @@ import org.gcube.portlets.widgets.workspacesharingwidget.shared.InfoContactModel
|
|||
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 {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.util.Date;
|
|||
/**
|
||||
* The Class FileGridModel.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Sep 15, 2016
|
||||
*/
|
||||
public class FileGridModel extends FileModel {
|
||||
|
|
|
@ -19,7 +19,7 @@ import com.google.gwt.user.client.ui.Image;
|
|||
/**
|
||||
* The Class FileModel.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Sep 15, 2016
|
||||
*/
|
||||
public class FileModel extends BaseModelData implements Serializable {
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.util.Date;
|
|||
/**
|
||||
* The Class FileVersionModel.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Feb 20, 2017
|
||||
*/
|
||||
public class FileVersionModel extends FileModel {
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.util.Date;
|
|||
/**
|
||||
* The Class FolderGridModel.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Sep 15, 2016
|
||||
*/
|
||||
public class FolderGridModel extends FileGridModel {
|
||||
|
|
|
@ -4,7 +4,7 @@ package org.gcube.portlets.user.workspace.client.model;
|
|||
/**
|
||||
* The Class FolderModel.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Sep 15, 2016
|
||||
*/
|
||||
public class FolderModel extends FileModel {
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
public class GcubeVRE extends BaseModelData implements IsSerializable{
|
||||
|
|
|
@ -10,7 +10,7 @@ import org.gcube.portlets.widgets.workspacesharingwidget.shared.InfoContactModel
|
|||
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 {
|
||||
|
|
|
@ -5,7 +5,7 @@ import java.io.Serializable;
|
|||
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 {
|
||||
|
|
|
@ -8,7 +8,7 @@ import com.extjs.gxt.ui.client.data.BaseModelData;
|
|||
/**
|
||||
* The Class SmartFolderModel.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Sep 29, 2016
|
||||
*/
|
||||
public class SmartFolderModel extends BaseModelData implements Serializable {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -10,7 +10,7 @@ import com.google.gwt.user.client.ui.AbstractImagePrototype;
|
|||
/**
|
||||
* The Class Resources.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
*/
|
||||
public class Resources {
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
|||
/**
|
||||
* The Interface GWTWorkspaceService.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
*/
|
||||
@RemoteServiceRelativePath("WorkspaceService")
|
||||
public interface GWTWorkspaceService extends RemoteService {
|
||||
|
|
|
@ -36,7 +36,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
|
|||
/**
|
||||
* The Interface GWTWorkspaceServiceAsync.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
*/
|
||||
public interface GWTWorkspaceServiceAsync {
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ import java.util.List;
|
|||
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
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -10,7 +10,7 @@ import org.gcube.portlets.widgets.workspacesharingwidget.shared.WorkspaceACL.USE
|
|||
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
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -2,75 +2,63 @@ package org.gcube.portlets.user.workspace.client.util;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* May 8, 2014
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it May 8, 2014
|
||||
*
|
||||
*/
|
||||
public class GroupNameUtilSeparator {
|
||||
|
||||
private String stringSeparator = "/";
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @param separator - the string separator
|
||||
*/
|
||||
public GroupNameUtilSeparator(String separator) {
|
||||
|
||||
if(separator!=null && !separator.isEmpty())
|
||||
if (separator != null && !separator.isEmpty())
|
||||
this.stringSeparator = separator;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return Either subsequence of name from separatorStartIndex (including separator) to end,
|
||||
* or name passed in input if split.length < separatorStartIndex
|
||||
* @see main
|
||||
*
|
||||
* Return Either subsequence of name from separatorStartIndex (including
|
||||
* separator) to end, or name passed in input if split.length is less of
|
||||
* separatorStartIndex
|
||||
*
|
||||
* @param name
|
||||
* @param separatorStartIndex - start index must be 1
|
||||
* @return
|
||||
* name
|
||||
* @param separatorStartIndex
|
||||
* start
|
||||
* @throws Exception
|
||||
* error
|
||||
*/
|
||||
public String getSubsequenceName(String name, int separatorStartIndex) throws Exception{
|
||||
public String getSubsequenceName(String name, int separatorStartIndex) throws Exception {
|
||||
|
||||
if(separatorStartIndex<1)
|
||||
throw new Exception("Invalid start separator index: "+separatorStartIndex);
|
||||
if (separatorStartIndex < 1)
|
||||
throw new Exception("Invalid start separator index: " + separatorStartIndex);
|
||||
|
||||
if(name==null)
|
||||
throw new Exception("Invalid name: "+name);
|
||||
if (name == null)
|
||||
throw new Exception("Invalid name: " + name);
|
||||
|
||||
String[] split = name.split(stringSeparator);
|
||||
|
||||
/*
|
||||
* for (String sp : split) { System.out.println("split: "+sp); }
|
||||
*/
|
||||
|
||||
/*for (String sp : split) {
|
||||
System.out.println("split: "+sp);
|
||||
}*/
|
||||
|
||||
|
||||
if(split==null || split.length==0)
|
||||
if (split == null || split.length == 0)
|
||||
return "";
|
||||
|
||||
String displayName = "";
|
||||
|
||||
String displayName ="";
|
||||
|
||||
if(split.length>separatorStartIndex){
|
||||
if (split.length > separatorStartIndex) {
|
||||
|
||||
for (int i = separatorStartIndex; i < split.length; i++) {
|
||||
displayName+= stringSeparator+split[i];
|
||||
displayName += stringSeparator + split[i];
|
||||
}
|
||||
|
||||
}else
|
||||
} else
|
||||
displayName = name;
|
||||
|
||||
return displayName;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
|
||||
GroupNameUtilSeparator filter = new GroupNameUtilSeparator("/");
|
||||
|
@ -79,7 +67,7 @@ public class GroupNameUtilSeparator {
|
|||
|
||||
try {
|
||||
String displayedName = filter.getSubsequenceName(name, 2);
|
||||
System.out.println("display name: "+displayedName);
|
||||
System.out.println("display name: " + displayedName);
|
||||
|
||||
} catch (Exception e) {
|
||||
// TODO Auto-generated catch block
|
||||
|
@ -87,5 +75,4 @@ public class GroupNameUtilSeparator {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
public class MaskPanel extends FlowPanel{
|
||||
|
@ -22,9 +22,7 @@ public class MaskPanel extends FlowPanel{
|
|||
private Image loading = Resources.getIconLoading().createImage();
|
||||
private Label label = new Label();
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
public MaskPanel(String msg) {
|
||||
msg = msg!=null &&!msg.isEmpty()?msg:"Loading...";
|
||||
label.setText(msg);
|
||||
|
|
|
@ -20,7 +20,7 @@ import com.google.gwt.http.client.Response;
|
|||
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
|
||||
*
|
||||
*/
|
||||
|
@ -33,15 +33,7 @@ public class RequestBuilderWorkspaceValidateItem {
|
|||
private AsyncCallback<WindowOpenParameter> callback;
|
||||
private String httpQueryString;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param method
|
||||
* @param servletName the name of the servlet that must be called
|
||||
* @param params param=value¶m1=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{
|
||||
|
||||
this.callback = callback;
|
||||
|
|
|
@ -6,8 +6,7 @@ package org.gcube.portlets.user.workspace.client.util;
|
|||
import org.gcube.portlets.user.workspace.client.view.windows.NewBrowserWindow;
|
||||
|
||||
/**
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* Jun 25, 2013
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it Jun 25, 2013
|
||||
*
|
||||
*/
|
||||
public class WindowOpenParameter {
|
||||
|
@ -18,22 +17,24 @@ public class WindowOpenParameter {
|
|||
private boolean redirectOnError;
|
||||
private NewBrowserWindow browserWindow;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
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 parameters param=value¶m1=value1&...
|
||||
* @param redirectOnError if true execute a redirect on fake URL
|
||||
* @param browserWindow an instance of NewBrowserWindow
|
||||
* item name
|
||||
* @param parameters
|
||||
* 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();
|
||||
this.option = target;
|
||||
this.itemName = itemName;
|
||||
|
@ -42,7 +43,6 @@ public class WindowOpenParameter {
|
|||
this.browserWindow = browserWindow;
|
||||
}
|
||||
|
||||
|
||||
public String getParameters() {
|
||||
return parameters;
|
||||
}
|
||||
|
@ -59,36 +59,28 @@ public class WindowOpenParameter {
|
|||
this.option = option;
|
||||
}
|
||||
|
||||
|
||||
public String getItemName() {
|
||||
return itemName;
|
||||
}
|
||||
|
||||
|
||||
public void setItemName(String itemName) {
|
||||
this.itemName = itemName;
|
||||
}
|
||||
|
||||
|
||||
public boolean isRedirectOnError() {
|
||||
return redirectOnError;
|
||||
}
|
||||
|
||||
|
||||
public void setRedirectOnError(boolean redirectOnError) {
|
||||
this.redirectOnError = redirectOnError;
|
||||
}
|
||||
|
||||
|
||||
public NewBrowserWindow getBrowserWindow() {
|
||||
return browserWindow;
|
||||
}
|
||||
|
||||
|
||||
public void setBrowserWindow(NewBrowserWindow browserWindow) {
|
||||
this.browserWindow = browserWindow;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ import com.extjs.gxt.ui.client.widget.form.RadioGroup;
|
|||
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 {
|
||||
|
|
|
@ -37,7 +37,7 @@ import com.google.gwt.user.client.ui.Label;
|
|||
/**
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
|
|||
/**
|
||||
* The Class UserStore.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
*/
|
||||
public class UserStore implements ContactFetcher{
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
|
|||
/**
|
||||
* The Class MultiDragContact.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Jun 1, 2016
|
||||
*/
|
||||
public class MultiDragContact extends Dialog {
|
||||
|
|
|
@ -26,7 +26,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
|
|||
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 {
|
||||
|
|
|
@ -20,7 +20,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
|
|||
/**
|
||||
* The Class SmartFolderPanel.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* @author Massimiliano Assante ISTI-CNR
|
||||
* @version 1.0 May 14th 2012
|
||||
*/
|
||||
|
|
|
@ -56,7 +56,7 @@ import com.google.gwt.user.client.ui.AbstractImagePrototype;
|
|||
/**
|
||||
* The Class AsyncTreePanel.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Sep 15, 2016
|
||||
*/
|
||||
public class AsyncTreePanel extends LayoutContainer {
|
||||
|
@ -78,7 +78,7 @@ public class AsyncTreePanel extends LayoutContainer {
|
|||
/**
|
||||
* The Enum DragType.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Aug 29, 2016
|
||||
*/
|
||||
private enum DragType {INSERT, APPEND};
|
||||
|
|
|
@ -60,7 +60,7 @@ import com.google.gwt.user.client.ui.AbstractImagePrototype;
|
|||
/**
|
||||
* The Class ContextMenuTree.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
*/
|
||||
public class ContextMenuTree {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import com.extjs.gxt.ui.client.widget.ProgressBar;
|
|||
//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 {
|
||||
|
|
|
@ -19,7 +19,7 @@ import com.extjs.gxt.ui.client.widget.layout.FormLayout;
|
|||
/**
|
||||
* 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 {
|
||||
|
||||
|
@ -34,7 +34,7 @@ public class DialogAddFolderAndSmart extends Dialog {
|
|||
/**
|
||||
* The Enum AddType.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it Jul 10,
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it Jul 10,
|
||||
* 2017
|
||||
*/
|
||||
public enum AddType {
|
||||
|
|
|
@ -21,7 +21,7 @@ import com.google.gwt.user.client.ui.Label;
|
|||
/**
|
||||
* The Class DialogAddUrl.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Nov 29, 2016
|
||||
*/
|
||||
public class DialogAddUrl extends Dialog {
|
||||
|
|
|
@ -23,7 +23,7 @@ import com.google.gwt.user.client.ui.Widget;
|
|||
/**
|
||||
* The Class DialogConfirm.
|
||||
*
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapaATisti.cnr.it
|
||||
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
||||
* Feb 19, 2015
|
||||
*/
|
||||
public class DialogConfirm extends DialogBox implements ClickHandler {
|
||||
|
|
|
@ -26,7 +26,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
|
|||
/**
|
||||
* 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 {
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue