Package org.xvr.xvrengine.widgets

Examples of org.xvr.xvrengine.widgets.SelectWorkspace.open()


   */
  @Override
  public Object execute(ExecutionEvent event) throws ExecutionException {
    SelectWorkspace dialog = new SelectWorkspace(Display.getDefault().getActiveShell(), true);
        
        if (dialog.open() == Dialog.CANCEL)
            return null;
        MessageDialog.openInformation(Display.getDefault().getActiveShell(), "Switch Workspace", "The client will now restart with the new workspace");
        // restart client
View Full Code Here


    if (!remember || switch_failed) {
      SelectWorkspace dialog = new SelectWorkspace(shell);


      // if the user cancelled, we can't do anything as we need a workspace, so in this case, we tell them and exit
      if (dialog.open() == Window.CANCEL) {
        MessageDialog.openError(shell, "Error",
        "The application can not start without a workspace root and will now exit.");
        try {
          PlatformUI.getWorkbench().close();
        } catch (Exception err) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.