Workspace

From Gcube Wiki
Revision as of 16:21, 20 May 2009 by Leonardo.candela (Talk | contribs) (Workspace overview)

Jump to: navigation, search

This is the help documentation for Workspace Portlet

Workspace overview

A workspace represents a collaborative area in which users can exchange and organize information objects (items) according to their specific needs. Because of this, every user of any Virtual Research Environment is provided with this area. Such an area is further organized in workspaces and baskets as to resemble a classic folder-based file system. The information objects that can be managed via the workspace range from files to D4Science documents, i.e. compound objects comprising metadata, alternative representations and multiple parts. The modality a workspace is populated range from the dragging of D4Science documents (or part of them) to the upload of files from its desktop and the exchange of workspace objects among users.

The user workspace

The workspace user interface is organized in four main areas:

  • on the top, there is the address bar which shows you the current location;
  • on the left, there is the workspace tree which displays the workspace structure in a tree view;
  • on the center, there is the list view which shows the content of a single folder in a list;
  • on the bottom, there is the details panel which shows the details of the selected workspace item.

Glossary

There some terms used on this help:

  • workspace area: is the working area for an user
  • basket(Basket.png): is a folder that can contain objects saved from a research or uploaded by the user
  • basket item: is an object inside a basket
  • workspace(Workspace.png): is a folder that can contain others workspace or basket (windows like folder)
  • item: can be a folder (workspace or basket) or a basket item

There is a list of all basket items supported by the workspace area:

Basket Items
Icon Name Description
External file.png External File A file uploaded from the user Desktop.
External pdf.gif External PDF A PDF file uploaded from the user Desktop.
External image.gif External Image An Image file uploaded from the user Desktop.
External url.png External Url An url created by the user.
Query.png Query An search query saved by the user.
Report.png Report A report.
Report template.png Report Template A report template.
Metadata.png Metadata An object metadata.
Document.png Document A d4science object.
Pdf document.png PDF Document A d4science PDF object.
Image document.png Image Document A d4science Image object.
Url document.png Url Document A d4science Url object.

All item names can contain any chars, slash excluded. Two items in the same folder cannot have the same name.

Workspace Operations

To perform operations on the Workspace Portlet, users should be familiar with the right-click mouse button (on Mac use ctrl and mouse click). In fact a mouse right click on any item in the portlet shows the context menu.

Workspace context menu

The available actions depends on the selected item.

Common actions

  • Rename an item: Selecting Rename the user can insert the new item name.

If the name inserted is invalid a signal is showed like the one in figure.

Workspace invalid name

An item can be also renamed using the details panel. Using the details panel the user can also change the item description.

  • Deleting an item: By selecting Delete a confirm message is shown and, if the user confirms, the item is deleted.
  • Cloning an item: By selecting Clone the user can insert the cloned item name. If the name is invalid a message is shown like if you would rename an item.
  • Download an item: By selecting Download the browser asks for the location where to save the content. The content file type is based on the item type, specifically:
    • Single items, such as external file (pdf and images) are proposed as simple files;
    • Complex items, such as gcube documents are proposed as a zipped folder with related metadata (each one of them in a xml file).
    • Folders: are proposed as zip folders.
  • Send an item: By selecting Send to the user can send a workspace item to another user in the same VRE. The workspace portlet show a window where to select the item addresses, then clicking on send button the item is sent.

Specific actions

  • Create a new workspace/basket: On the workspace tree right click on the parent folder and select Add new Workspace or Add new Basket action. Insert the item name and then press enter. A new folder is created.
  • Upload a file into a basket: on basket context menu select upload file. The browser asks for a file to upload from your local file system. A the end of operation a confirm message is shown.
  • Upload an archive into a workspace: on workspace context menu select upload archive. The browser asks for a file to upload from your local file system. A the end of upload operation a confirm message is shown. The zip file is processed following this rules:
    • the zip file is considered a folder.
    • if a folder contains a list of files this one is transformed into a basket and the files inserted inside.
    • if a folder contains files and subfolder this one is transformed in a workspace; the files are inserted into a new basket created into the workspace. The subfolder are processed following the rules.
  • Create an external url: on basket context menu select add url. The workspace portlet show a windows where insert the url data: name, description and url value.
  • Open a Report : on the report context menu select Open in Report Generator. The portal will switch to the Report generator portlet opening the selected report.
  • Open a Report Template: on the report template context menu select Open in Template Editor. The portal will switch to the Template Editor portlet opening the selected report template.

Drag and Drop Actions

The workspace tree and the list view support drag and drop actions. In the list below you can find the supported operations:

  • d&d of basket item between two baskets in the tree, from a basket in the tree and a basket in the list view and viceversa.
  • d&d of folder between two folders in the tree, from a folder in the tree and a folder in the list view and viceversa, and between folders in the list view.