Revision f55cf326 web_client/src/gr/grnet/pithos/web/client/commands/NewFolderCommand.java
b/web_client/src/gr/grnet/pithos/web/client/commands/NewFolderCommand.java | ||
---|---|---|
34 | 34 |
*/ |
35 | 35 |
package gr.grnet.pithos.web.client.commands; |
36 | 36 |
|
37 |
import com.google.gwt.event.logical.shared.CloseEvent; |
|
38 |
import com.google.gwt.event.logical.shared.CloseHandler; |
|
39 | 37 |
import gr.grnet.pithos.web.client.FileMenu.Images; |
40 | 38 |
import gr.grnet.pithos.web.client.FolderPropertiesDialog; |
41 |
import gr.grnet.pithos.web.client.GSS;
|
|
39 |
import gr.grnet.pithos.web.client.Pithos;
|
|
42 | 40 |
import gr.grnet.pithos.web.client.foldertree.Folder; |
43 |
import gr.grnet.pithos.web.client.foldertree.FolderTreeView; |
|
44 |
import gr.grnet.pithos.web.client.rest.GetCommand; |
|
45 |
import gr.grnet.pithos.web.client.rest.MultipleGetCommand; |
|
46 | 41 |
import gr.grnet.pithos.web.client.rest.resource.GroupResource; |
47 |
import gr.grnet.pithos.web.client.rest.resource.GroupsResource; |
|
48 |
import gr.grnet.pithos.web.client.rest.resource.RestResource; |
|
49 | 42 |
|
50 |
import java.util.ArrayList; |
|
51 | 43 |
import java.util.List; |
52 | 44 |
|
53 |
import com.google.gwt.core.client.GWT; |
|
54 | 45 |
import com.google.gwt.user.client.Command; |
55 |
import com.google.gwt.user.client.DeferredCommand; |
|
56 |
import com.google.gwt.user.client.IncrementalCommand; |
|
57 | 46 |
import com.google.gwt.user.client.ui.PopupPanel; |
58 | 47 |
|
59 | 48 |
/** |
... | ... | |
87 | 76 |
|
88 | 77 |
void displayNewFolderDialog() { |
89 | 78 |
if (folder != null) { |
90 |
FolderPropertiesDialog dlg = new FolderPropertiesDialog(GSS.get(), true, folder);
|
|
79 |
FolderPropertiesDialog dlg = new FolderPropertiesDialog(Pithos.get(), true, folder);
|
|
91 | 80 |
dlg.center(); |
92 | 81 |
} |
93 | 82 |
} |
Also available in: Unified diff