working on #19600
This commit is contained in:
parent
767633cfde
commit
adfaaa1b55
|
@ -134,6 +134,8 @@ import com.google.gwt.core.client.Scheduler.ScheduledCommand;
|
|||
import com.google.gwt.event.dom.client.ClickEvent;
|
||||
import com.google.gwt.event.dom.client.ClickHandler;
|
||||
import com.google.gwt.event.shared.HandlerManager;
|
||||
import com.google.gwt.user.client.Command;
|
||||
import com.google.gwt.user.client.CommandCanceledException;
|
||||
import com.google.gwt.user.client.Cookies;
|
||||
import com.google.gwt.user.client.Timer;
|
||||
import com.google.gwt.user.client.Window;
|
||||
|
@ -2320,9 +2322,18 @@ public class AppController implements SubscriberInterface {
|
|||
@Override
|
||||
public void showDetails(FileModel fileModel) {
|
||||
GWT.log("show details for: "+fileModel.getName());
|
||||
ContentPanel eastPanel = this.getMainPanel().getEastPanel();
|
||||
final ContentPanel eastPanel = this.getMainPanel().getEastPanel();
|
||||
eastPanel.removeAll();
|
||||
DialogGetInfoBootstrap dlg = new DialogGetInfoBootstrap(fileModel);
|
||||
Command onCloseCommand = new Command() {
|
||||
|
||||
@Override
|
||||
public void execute() {
|
||||
eastPanel.setVisible(false);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
DialogGetInfoBootstrap dlg = new DialogGetInfoBootstrap(fileModel, onCloseCommand);
|
||||
eastPanel.add(dlg);
|
||||
eastPanel.setVisible(true);
|
||||
eastPanel.layout();
|
||||
|
|
Loading…
Reference in New Issue