onModuleLoad()
.
*/
@@ -78,13 +81,14 @@ public class GSS implements EntryPoint, ResizeHandler {
* programmatic access to all the images needed by widgets.
*/
private static Images images = (Images) GWT.create(Images.class);
+
private GlassPanel glassPanel = new GlassPanel();
/**
* An aggregate image bundle that pulls together all the images for this
* application into a single bundle.
*/
- public interface Images extends ClientBundle,TopPanel.Images, StatusPanel.Images, FileMenu.Images, EditMenu.Images, SettingsMenu.Images, GroupMenu.Images, FilePropertiesDialog.Images, MessagePanel.Images, FileList.Images, SearchResults.Images, Search.Images, Groups.Images, Folders.Images {
+ public interface Images extends ClientBundle, TopPanel.Images, StatusPanel.Images, FileMenu.Images, EditMenu.Images, SettingsMenu.Images, GroupMenu.Images, FilePropertiesDialog.Images, MessagePanel.Images, FileList.Images, SearchResults.Images, Search.Images, Groups.Images, CellTreeView.Images {
@Source("gr/ebs/gss/resources/document.png")
ImageResource folders();
@@ -147,7 +151,7 @@ public class GSS implements EntryPoint, ResizeHandler {
/**
* The group list widget.
*/
- private Groups groups = new Groups(images);
+ private Groups groups = new Groups(images);
/**
* The search result widget.
@@ -155,15 +159,18 @@ public class GSS implements EntryPoint, ResizeHandler {
private SearchResults searchResults;
/**
- * A widget that displays a message indicating that communication with the
- * server is underway.
- */
- private LoadingIndicator loading;
-
- /**
* The tab panel that occupies the right side of the screen.
*/
- private TabPanel inner = new TabPanel();
+ private TabPanel inner = new DecoratedTabPanel(){
+
+ public void onBrowserEvent(com.google.gwt.user.client.Event event) {
+ if (DOM.eventGetType(event) == Event.ONCONTEXTMENU){
+ if(isFileListShowing()){
+ getFileList().showContextMenu(event);
+ }
+ }
+ };
+ };
/**
* The split panel that will contain the left and right panels.
@@ -183,8 +190,8 @@ public class GSS implements EntryPoint, ResizeHandler {
/**
* The widget that displays the tree of folders.
*/
- private Folders folders = new Folders(images);
-
+
+ private CellTreeView treeView = new CellTreeView(images);
/**
* The currently selected item in the application, for use by the Edit menu
* commands. Potential types are Folder, File, User and Group.
@@ -201,53 +208,18 @@ public class GSS implements EntryPoint, ResizeHandler {
*/
private String webDAVPassword;
- private PickupDragController dragController;
+
+
+ public HashMap" + imageProto.getHTML() + - " | " + - caption + " |
" + imageProto.getHTML() + " | " + caption + " |