protected void onCcAreaWorkspaceConfigValueChanged() throws PresentationLogicException { if (AreaWorkspaceEvent.COMBOVALUECHANGED.equals(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getSelectedEvent())) { form.getLocalContext().setAreaFromAreaWorkspace(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getFromAreaCombo()); updateControlsState(); } //WDEV-14896 else if (AreaWorkspaceEvent.COPYAREAWORKSPACEDIALOGCLOSED.equals(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getSelectedEvent())) { open(); form.lyr1().showtabAreaWorkspace(); } }
@Override protected void onFormDialogClosed(FormName formName, DialogResult result) throws PresentationLogicException { if (formName.equals(form.getForms().Emergency.TrackingAreaColumnConfigurationDialog)&& result.equals(DialogResult.OK)) //WDEV-14896 { // open(); populateGridWithOrder(); } //WDEV-14896 else if (formName.equals(form.getForms().Emergency.CopyAreaWorkspaceConfig)&& result.equals(DialogResult.OK)) { form.getLocalContext().setSelectedEvent(AreaWorkspaceEvent.COPYAREAWORKSPACEDIALOGCLOSED); form.fireCustomControlValueChanged(); } updateControlsState(); }
@Override protected void onCmbAreaValueChanged() throws PresentationLogicException { if (form.cmbArea().getValue() != null) { form.getGlobalContext().Emergency.setTrackingAreaWorkspace(domain.getTrackingArea(form.cmbArea().getValue())); } else { form.getGlobalContext().Emergency.setTrackingAreaWorkspace(null); } populateGrid(); form.getLocalContext().setSelectedEvent(AreaWorkspaceEvent.COMBOVALUECHANGED); form.fireCustomControlValueChanged(); }
public AreaWorkspaceEvent getSelectedEvent() { return form.getLocalContext().getSelectedEvent(); }