\r
protected TabPanel inner = null;\r
\r
+ protected Pithos app;\r
+\r
/**\r
* The widget's constructor.\r
*\r
*/\r
- public AbstractPropertiesDialog() {\r
-\r
+ public AbstractPropertiesDialog(Pithos _app) {\r
+ app = _app;\r
// Enable IE selection for the dialog (must disable it upon closing it)\r
Pithos.enableIESelection();\r
\r
* Retrieves all user tags from the server and updates the FlowPanel\r
*/\r
protected void updateTags() {\r
- GetCommand<TagsResource> tc = new GetCommand<TagsResource>(TagsResource.class, Pithos.get().getCurrentUserResource().getTagsPath(),null) {\r
+ GetCommand<TagsResource> tc = new GetCommand<TagsResource>(app, TagsResource.class, app.getCurrentUserResource().getTagsPath(),null) {\r
\r
@Override\r
public void onComplete() {\r
@Override\r
public void onError(Throwable t) {\r
GWT.log("", t);\r
- Pithos.get().displayError("Unable to fetch user tags");\r
+ app.displayError("Unable to fetch user tags");\r
}\r
};\r
DeferredCommand.addCommand(tc);\r