Package com.subgraph.vega.ui.identity.identitywizard

Examples of com.subgraph.vega.ui.identity.identitywizard.IdentityWizard


  @Override
  public Object execute(ExecutionEvent event) throws ExecutionException {
    final IWorkspace workspace = Activator.getDefault().getModel().getCurrentWorkspace();
    if (workspace != null) {     
      IIdentityModel identityModel = workspace.getIdentityModel();
      IdentityWizard wizard = new IdentityWizard();
      IdentityWizardDialog dialog = new IdentityWizardDialog(HandlerUtil.getActiveWorkbenchWindow(event).getShell(), wizard);
      if (dialog.open() == IDialogConstants.OK_ID) {
        IIdentity identity = wizard.getIdentity();
        identityModel.store(identity);
      }
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of com.subgraph.vega.ui.identity.identitywizard.IdentityWizard

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.