Revision 749068ba src/gr/grnet/pithos/web/client/commands/PropertiesCommand.java
b/src/gr/grnet/pithos/web/client/commands/PropertiesCommand.java | ||
---|---|---|
38 | 38 |
import gr.grnet.pithos.web.client.FilePropertiesDialog; |
39 | 39 |
import gr.grnet.pithos.web.client.FilesPropertiesDialog; |
40 | 40 |
import gr.grnet.pithos.web.client.FolderPropertiesDialog; |
41 |
import gr.grnet.pithos.web.client.GSS; |
|
42 |
import gr.grnet.pithos.web.client.FileMenu.Images; |
|
41 |
import gr.grnet.pithos.web.client.Pithos; |
|
43 | 42 |
import gr.grnet.pithos.web.client.foldertree.File; |
44 | 43 |
import gr.grnet.pithos.web.client.foldertree.Folder; |
45 |
import gr.grnet.pithos.web.client.rest.GetCommand; |
|
46 |
import gr.grnet.pithos.web.client.rest.HeadCommand; |
|
47 |
import gr.grnet.pithos.web.client.rest.MultipleGetCommand; |
|
48 |
import gr.grnet.pithos.web.client.rest.MultipleHeadCommand; |
|
49 |
import gr.grnet.pithos.web.client.rest.RestException; |
|
50 |
import gr.grnet.pithos.web.client.rest.MultipleGetCommand.Cached; |
|
51 | 44 |
import gr.grnet.pithos.web.client.rest.resource.FileResource; |
52 |
import gr.grnet.pithos.web.client.rest.resource.FolderResource; |
|
53 | 45 |
import gr.grnet.pithos.web.client.rest.resource.GroupResource; |
54 |
import gr.grnet.pithos.web.client.rest.resource.GroupsResource; |
|
55 |
import gr.grnet.pithos.web.client.rest.resource.RestResourceWrapper; |
|
56 | 46 |
|
57 |
import java.util.ArrayList; |
|
58 | 47 |
import java.util.List; |
59 | 48 |
|
60 |
import com.google.gwt.core.client.GWT; |
|
61 | 49 |
import com.google.gwt.user.client.Command; |
62 |
import com.google.gwt.user.client.DeferredCommand; |
|
63 |
import com.google.gwt.user.client.IncrementalCommand; |
|
64 | 50 |
import com.google.gwt.user.client.ui.PopupPanel; |
65 |
import org.w3c.css.sac.ElementSelector; |
|
66 | 51 |
|
67 | 52 |
/** |
68 | 53 |
* The command that displays the appropriate Properties dialog, according to the |
... | ... | |
85 | 70 |
|
86 | 71 |
private Object resource; |
87 | 72 |
|
88 |
private GSS app;
|
|
73 |
private Pithos app;
|
|
89 | 74 |
|
90 | 75 |
/** |
91 | 76 |
* @param _containerPanel |
92 | 77 |
* @param _newImages the images of all the possible delete dialogs |
93 | 78 |
* @param _tab the tab to switch to |
94 | 79 |
*/ |
95 |
public PropertiesCommand(GSS _app, PopupPanel _containerPanel, Object _resource, final FileMenu.Images _newImages, int _tab) {
|
|
80 |
public PropertiesCommand(Pithos _app, PopupPanel _containerPanel, Object _resource, final FileMenu.Images _newImages, int _tab) {
|
|
96 | 81 |
containerPanel = _containerPanel; |
97 | 82 |
newImages = _newImages; |
98 | 83 |
tabToShow = _tab; |
Also available in: Unified diff