Revision eb2ae14b src/gr/grnet/pithos/web/client/commands/UploadFileCommand.java
b/src/gr/grnet/pithos/web/client/commands/UploadFileCommand.java | ||
---|---|---|
67 | 67 |
public void execute() { |
68 | 68 |
if(containerPanel!=null) |
69 | 69 |
containerPanel.hide(); |
70 |
displayNewFile(); |
|
71 |
} |
|
72 |
|
|
73 |
/** |
|
74 |
* Display the 'new file' dialog for uploading a new file to the system. |
|
75 |
*/ |
|
76 |
private void displayNewFile() { |
|
77 |
FileUploadDialog dlg = GWT.create(FileUploadDialog.class); |
|
78 |
dlg.setApp(app); |
|
79 |
dlg.setFolder(folder); |
|
70 |
|
|
71 |
FileUploadDialog dlg = new FileUploadDialog(app, folder); |
|
80 | 72 |
dlg.center(); |
81 | 73 |
} |
82 | 74 |
} |
Also available in: Unified diff