try {
config = _model.getWgaRuntime().retrieveWGAConfig(false);
} catch (Exception e2) {
WGADesignerPlugin.getDefault().logError("Unable to read wga configuration." , e2);
}
_webAppModel = new WebApplicationsModel(apps, config);
// register as runtime listener to refresh web app model on wga config changes
_model.getWgaRuntime().addListener(this);
ToolBarManager toolBarManager = new ToolBarManager(SWT.FLAT);