use of com.extjs.gxt.ui.client.event.WindowEvent in project geo-platform by geosdi.
the class GenericFormWidget method initializeWindow.
private void initializeWindow() {
initSize();
setResizable(false);
addWindowListener(new WindowListener() {
@Override
public void windowHide(WindowEvent we) {
reset();
}
});
setLayout(new FitLayout());
setModal(true);
setPlain(true);
}
use of com.extjs.gxt.ui.client.event.WindowEvent in project geo-platform by geosdi.
the class GeoPlatformWindow method initializeWindow.
private void initializeWindow() {
this.initSize();
addWindowListener(new WindowListener() {
@Override
public void windowHide(WindowEvent we) {
reset();
}
});
setWindowProperties();
}
use of com.extjs.gxt.ui.client.event.WindowEvent in project geo-platform by geosdi.
the class LayersPropertiesWidget method setWindowProperties.
@Override
public void setWindowProperties() {
setHeadingHtml(LayerModuleConstants.INSTANCE.LayersPropertiesWidget_headingText());
setModal(true);
setResizable(false);
setLayout(new FlowLayout());
setCollapsible(true);
addWindowListener(new WindowListener() {
@Override
public void windowShow(WindowEvent we) {
layersTabWidget.bind(model);
}
});
}
use of com.extjs.gxt.ui.client.event.WindowEvent in project geo-platform by geosdi.
the class GPCapabilitiesWidget method setWindowProperties.
@Override
public void setWindowProperties() {
super.setResizable(false);
super.addWindowListener(new WindowListener() {
@Override
public void windowShow(WindowEvent we) {
gridLayers.loadServers();
}
});
super.addWidgetListener(new WidgetListener() {
@Override
public void widgetAttached(ComponentEvent ce) {
gridLayers.getGrid().setHeight(400);
}
});
super.setLayout(new FitLayout());
super.setModal(false);
super.setCollapsible(true);
super.setPlain(true);
}
use of com.extjs.gxt.ui.client.event.WindowEvent in project geo-platform by geosdi.
the class UserOptionsWidget method setWindowProperties.
@Override
public void setWindowProperties() {
super.setHeadingHtml(UserModuleConstants.INSTANCE.UserOptionsWidget_headingText());
super.setResizable(Boolean.FALSE);
super.setLayout(new BorderLayout());
super.setModal(Boolean.TRUE);
super.setCollapsible(Boolean.FALSE);
super.setPlain(Boolean.TRUE);
super.addListener(Events.Show, new Listener<WindowEvent>() {
@Override
public void handleEvent(WindowEvent be) {
optionsMainPanel.createMembers();
}
});
}
Aggregations