Package org.springframework.richclient.application.docking.jide.editor

Examples of org.springframework.richclient.application.docking.jide.editor.OpenEditorEvent


      else{
        statusBar.setErrorMessage(getMessage(UNKNOWN_ERROR));
      }
    }
    else if(event instanceof OpenEditorEvent){
      OpenEditorEvent specificEvent = (OpenEditorEvent)event;
      GoogleSearchResultElement element = (GoogleSearchResultElement)specificEvent.getObject();
      statusBar.setMessage(getMessage(OPENED, new Object[]{element.getURL()}));
    }
  }
View Full Code Here


    //getActiveWindow().getPage().openEditor(userObject);
    /*
     * Method two, use event mechanism which allows other views to react,
     * for example the status bar.
     */
    OpenEditorEvent event = new OpenEditorEvent(node.getUserObject());
    getApplicationContext().publishEvent(event);
    }
View Full Code Here

      @Override
      protected void finished() {
        //First get the object (from terracotta)
        log.info( "----> Opening Editor for " + editorRoot );
        publishEvent( new OpenEditorEvent( editorRoot ) );
      }
    } );

    SwingUtilities.invokeLater( new Runnable() {
      @Override
View Full Code Here

TOP

Related Classes of org.springframework.richclient.application.docking.jide.editor.OpenEditorEvent

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.