only changed the window title
This commit is contained in:
parent
2030798e1c
commit
24eb503821
|
@ -564,20 +564,6 @@ public class LayerManager {
|
||||||
expandButton.getElement().setId("expand-query");
|
expandButton.getElement().setId("expand-query");
|
||||||
expandButton.setTitle("Show this view in new Window");
|
expandButton.setTitle("Show this view in new Window");
|
||||||
|
|
||||||
/*expandButton.addClickHandler(new ClickHandler() {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onClick(ClickEvent event) {
|
|
||||||
flowPanel.getElement().getStyle().setProperty("maxHeight", "100%");
|
|
||||||
int width = Window.getClientWidth() * 75 / 100;
|
|
||||||
int height = Window.getClientHeight() * 70 / 100;
|
|
||||||
ModalWindow mw = new ModalWindow("Query view", width, height);
|
|
||||||
mw.add(flowPanel);
|
|
||||||
mw.show();
|
|
||||||
|
|
||||||
}
|
|
||||||
});*/
|
|
||||||
|
|
||||||
flowPanel.add(expandButton);
|
flowPanel.add(expandButton);
|
||||||
|
|
||||||
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
|
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
|
||||||
|
@ -599,7 +585,7 @@ public class LayerManager {
|
||||||
double x = center.getX();
|
double x = center.getX();
|
||||||
double y = center.getY();
|
double y = center.getY();
|
||||||
//"with center x: "+x +", y: "+y;
|
//"with center x: "+x +", y: "+y;
|
||||||
ModalWindow mw = new ModalWindow("Query view", width, height);
|
ModalWindow mw = new ModalWindow("Query results...", width, height);
|
||||||
mw.add(flowPanel);
|
mw.add(flowPanel);
|
||||||
mw.show();
|
mw.show();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue