private void newButtonPressed() { final CreateProfileDialog p= new CreateProfileDialog(fComposite.getShell(), fProfileManager, fProfileVersioner); if (p.open() != Window.OK) return; if (!p.openEditDialog()) return; final StatusDialog modifyDialog= createModifyDialog(fComposite.getShell(), p.getCreatedProfile(), fProfileManager, fProfileStore, true); modifyDialog.open(); }
private void modifyButtonPressed() { final StatusDialog modifyDialog= createModifyDialog(fComposite.getShell(), fProfileManager.getSelected(), fProfileManager, fProfileStore, false); modifyDialog.open(); }