use of com.extjs.gxt.ui.client.event.WindowListener 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.WindowListener 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.WindowListener 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.WindowListener 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.WindowListener in project geo-platform by geosdi.
the class FolderPropertiesWidget method setWindowProperties.
@Override
public void setWindowProperties() {
setHeadingHtml(LayerModuleConstants.INSTANCE.FolderPropertiesWidget_headingText());
setModal(true);
setResizable(false);
setLayout(new FlowLayout());
setCollapsible(true);
addWindowListener(new WindowListener() {
@Override
public void windowShow(WindowEvent we) {
foldersTabWidget.bind(model);
}
});
}
Aggregations