Examples of OpenEditorEvent


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

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

    //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

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

      @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
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.