Examples of ErrorDialog


Examples of org.eclipse.jface.dialogs.ErrorDialog

            multi.add(status);
        }
       
       PlatformGIS.syncInDisplayThread(new Runnable(){
            public void run() {
                Dialog dialog = new ErrorDialog(Display.getDefault().getActiveShell(), Messages.ExceptionDisplayer_very_informative_error, message, multi, IStatus.ERROR);
                dialog.open();
            }
        });
    }
View Full Code Here

Examples of org.eclipse.jface.dialogs.ErrorDialog

    ToolRepositoryException reposEx = new ToolRepositoryException("BoB", "really long error message,\n" +
        "the quick brown fox jumps over the lazy dogs back\n" +
        "message with\n" +
        "multiple lines\n");
    IStatus status = new Status(IStatus.ERROR, ToolPlugin.PLUGIN_ID, "Status message", reposEx);
    ErrorDialog ed = new ErrorDialog(Display.getDefault().getActiveShell(), "Title for Error Dialog", "terse error message", status, 0);
    ed.open();
//    ErrorDialog.openError(Display.getDefault().getActiveShell(), "Title for Error Dialog", "terse error message", status);
  }
View Full Code Here

Examples of org.fenrir.yggdrasil.ui.dialog.ErrorDialog

   
    public void displayErrorMessage(final String message, final Throwable error)
    {
        if(mainWindow!=null){
            if(SwingUtilities.isEventDispatchThread()){           
                new ErrorDialog(mainWindow, message, error).open();
            }
            else{
                try{
                    SwingUtilities.invokeAndWait(new Runnable()
                    {
                        @Override
                        public void run()
                        {
                            new ErrorDialog(mainWindow, message, error).open();
                        }
                    });
                }
                catch(Exception e){
                    log.error("Error mostrant finestra d'error: {}", e.getMessage(), e);
View Full Code Here

Examples of org.gbcpainter.view.ErrorDialog

      GraphicsEnv.getInstance().getTextureLoader().loadTexture( HEADER_TEXTURE, false );

    } catch ( Exception e ) {

      final TextureNotFoundException textureException = new TextureNotFoundException( e );
      new ErrorDialog( this.gameView, LanguageDictionary.ERROR_STRING, LanguageDictionary.ERROR_LOAD_HEADER, textureException, true );
      throw textureException;
    }

    this.header = new Label() {

      @Override
      public void paint( Graphics g ) {
        super.paint( g );
        if ( this.getHeight() != 0 && this.getWidth() != 0 ) {

          try {
            Image img = GraphicsEnv.getInstance().getTextureLoader().loadTexture( HEADER_TEXTURE, false );
            g.drawImage( img.getScaledInstance( - 1, this.getHeight(), Image.SCALE_SMOOTH ),
                         0,
                         0,
                         this.getWidth(),
                         this.getHeight(),
                         null );
          } catch ( Exception e ) {
            final TextureNotFoundException textureException = new TextureNotFoundException( e );
            new ErrorDialog( MainPC.this.gameView, LanguageDictionary.ERROR_STRING,
                           LanguageDictionary.ERROR_LOAD_HEADER, textureException, true );
          }
        }
      }
    };
View Full Code Here

Examples of org.jitterbit.application.ui.viewer.error.dialog.ErrorDialog

        }

        @Override
        public void actionPerformed(ActionEvent e) {
            JFrame owner = ApplicationUi.getAppWinFrame();
            ErrorDialog dlg = new ErrorDialog(owner, entry);
            dlg.setDetailsShowing(true);
            dlg.setVisible(true);
        }
View Full Code Here

Examples of org.ontospread.gui.view.dialogs.ErrorDialog

    event.y = arg0.y;
    return event;
  }

  protected void createErrorDialog(Exception e){
    ErrorDialog error = new ErrorDialog(shell);
    error.setErrorMessage(e.getMessage());
    error.open();
  }
View Full Code Here

Examples of org.spoutcraft.launcher.skin.ErrorDialog

    return minecraft;
  }

  public final void handleException(Exception e) {
    e.printStackTrace();
    ErrorDialog dialog = new ErrorDialog(this, e);
    dialog.setAlwaysOnTop(true);
    dialog.setVisible(true);
  }
View Full Code Here

Examples of ru.jnano.swing.ErrorDialog

    }

    @Override
    public void failed(TaskEvent<Throwable> event) {
      progressBar.setString(res.getString(PROP_ERROR_TASK));
      ErrorDialog dialog = new ErrorDialog(event.getValue());
      dialog.setVisible(true);
    }
View Full Code Here

Examples of scotlandyard.client.widget.ErrorDialog

            MessageMostrarRespostas msgg = (MessageMostrarRespostas)message;
            MostrarRespostasDialog d = new MostrarRespostasDialog ();
           
          }
          else if (type == MessageType.ERRO_MOVIMENTO_INVALIDO){
            new ErrorDialog(message.toString()).center();
          }
        }
      }
    };
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.