public class AppControllerExplorer extends Object implements com.google.gwt.event.shared.EventHandler, TreeAppControllerInterface
TreeAppControllerInterface.VisualizationType
Modifier and Type | Field and Description |
---|---|
com.google.gwt.user.client.rpc.AsyncCallback<WindowOpenParameter> |
downloadHandlerCallback |
static String |
myLogin |
static String |
myLoginFirstName |
static GWTWorkspaceServiceAsync |
rpcWorkspaceService |
Constructor and Description |
---|
AppControllerExplorer() |
Modifier and Type | Method and Description |
---|---|
boolean |
addFile(String itemIdentifier,
String name,
String parentIdentifier)
method not used
|
boolean |
addFolder(String itemIdentifier,
String name,
String parentIdentifier)
method not used
|
boolean |
deleteItem(String itemIdentifier) |
void |
doClickUrl(OpenUrlEvent openUrlEvent) |
protected void |
doUpdateWorkspaceSize(UpdateWorkspaceSizeEvent updateWorkspaceSizeEvent) |
void |
expandFolder(String itemIdentifier) |
void |
findItemAndSelectItemInTree(String itemIdentifier) |
static com.google.gwt.event.shared.HandlerManager |
getEventBus() |
static AppControllerExplorer |
getInstance() |
List<FileModel> |
getListParentsByIdentifierFromTree(String itemIdentifier) |
ExplorerPanel |
getPanel()
Instance only Async Tree.
|
ExplorerPanel |
getPanel(boolean instancingSmartFolder,
boolean instancingMessages,
boolean selectRootItem)
Instance by default asyncronus Tree while Smart Folders and Messages was instanced as input value
|
GWTWorkspaceServiceAsync |
getRpcWorkspaceService() |
FileModel |
getSelectedFolderInTree() |
AsyncTreePanel |
getTree(int width,
int height)
Instance only Async Tree with specific width - height - select by default the root item .
|
ExplorerPanel |
getTreePanel()
Deprecated.
|
void |
go(com.google.gwt.user.client.ui.HasWidgets rootPanel,
boolean onlyTree,
boolean instancingSmartFolder,
boolean instancingMessages,
boolean selectRootItem) |
void |
hideSharingFacilities() |
void |
notifySubscriber(GuiEventInterface event) |
static String |
portalURL() |
void |
refreshRoot(boolean selectRootItem) |
boolean |
reloadFolderChildren(String itemIdentifier)
method not used
|
boolean |
renameItem(String itemIdentifier,
String newName,
String extension) |
void |
searching(boolean isSearch) |
void |
selectRootItem() |
void |
setVisualizationType(TreeAppControllerInterface.VisualizationType type)
method not used
|
void |
subscribe(SubscriberInterface subscriber,
EventsTypeEnum key) |
void |
subscribe(SubscriberInterface subscriber,
EventsTypeEnum[] keys) |
boolean |
treeLevelIsExpanded(String folderId) |
void |
unsubscribe(SubscriberInterface subscriber,
EventsTypeEnum key) |
public static final GWTWorkspaceServiceAsync rpcWorkspaceService
public static String myLogin
public static String myLoginFirstName
public com.google.gwt.user.client.rpc.AsyncCallback<WindowOpenParameter> downloadHandlerCallback
public static AppControllerExplorer getInstance()
public static com.google.gwt.event.shared.HandlerManager getEventBus()
public GWTWorkspaceServiceAsync getRpcWorkspaceService()
protected void doUpdateWorkspaceSize(UpdateWorkspaceSizeEvent updateWorkspaceSizeEvent)
updateWorkspaceSizeEvent
- public static String portalURL()
public void notifySubscriber(GuiEventInterface event)
public boolean treeLevelIsExpanded(String folderId)
folderId
- public void subscribe(SubscriberInterface subscriber, EventsTypeEnum[] keys)
public void subscribe(SubscriberInterface subscriber, EventsTypeEnum key)
public void unsubscribe(SubscriberInterface subscriber, EventsTypeEnum key)
public void go(com.google.gwt.user.client.ui.HasWidgets rootPanel, boolean onlyTree, boolean instancingSmartFolder, boolean instancingMessages, boolean selectRootItem)
public ExplorerPanel getTreePanel()
public AsyncTreePanel getTree(int width, int height)
public void hideSharingFacilities()
public void refreshRoot(boolean selectRootItem)
selectRootItem
- public ExplorerPanel getPanel()
public ExplorerPanel getPanel(boolean instancingSmartFolder, boolean instancingMessages, boolean selectRootItem)
instancingSmartFolder
- instancingMessages
- public List<FileModel> getListParentsByIdentifierFromTree(String itemIdentifier)
getListParentsByIdentifierFromTree
in interface TreeAppControllerInterface
public boolean renameItem(String itemIdentifier, String newName, String extension)
renameItem
in interface TreeAppControllerInterface
public boolean deleteItem(String itemIdentifier)
deleteItem
in interface TreeAppControllerInterface
public boolean addFolder(String itemIdentifier, String name, String parentIdentifier)
addFolder
in interface TreeAppControllerInterface
public boolean addFile(String itemIdentifier, String name, String parentIdentifier)
addFile
in interface TreeAppControllerInterface
public boolean reloadFolderChildren(String itemIdentifier)
reloadFolderChildren
in interface TreeAppControllerInterface
public void setVisualizationType(TreeAppControllerInterface.VisualizationType type)
setVisualizationType
in interface TreeAppControllerInterface
public void selectRootItem()
selectRootItem
in interface TreeAppControllerInterface
public FileModel getSelectedFolderInTree()
getSelectedFolderInTree
in interface TreeAppControllerInterface
public void findItemAndSelectItemInTree(String itemIdentifier)
findItemAndSelectItemInTree
in interface TreeAppControllerInterface
public void expandFolder(String itemIdentifier)
expandFolder
in interface TreeAppControllerInterface
public void searching(boolean isSearch)
searching
in interface TreeAppControllerInterface
public void doClickUrl(OpenUrlEvent openUrlEvent)
Copyright © 2015. All Rights Reserved.