Package org.jdesktop.wonderland.client.content.spi.ContentBrowserSPI

Examples of org.jdesktop.wonderland.client.content.spi.ContentBrowserSPI.ContentBrowserListener


      // Fetch the browser for the webdav protocol and display it.
            // Add a listener for the result and update the value of the
            // text field for the URI
            ContentBrowserManager manager = ContentBrowserManager.getContentBrowserManager();
      final ContentBrowserSPI browser = manager.getDefaultContentBrowser();
      browser.addContentBrowserListener(new ContentBrowserListener() {

                public void okAction(String uri) {
                    audioSourceTextField.setText(uri);
        enablePreviewButton();
                    browser.removeContentBrowserListener(this);
View Full Code Here


    private ContentBrowserJDialog defaultBrowser;

    @Override
    public void initialize(final ServerSessionManager loginInfo) {

        final ContentBrowserListener listener = new ContentBrowserListener() {

            public void okAction(String uri) {
                // Figure out what the file extension is from the uri, looking
                // for the final '.'.
                int index = uri.lastIndexOf(".");
View Full Code Here

  // Fetch the browser for the webdav protocol and display it.
        // Add a listener for the result and update the value of the
        // text field for the URI
        ContentBrowserManager manager = ContentBrowserManager.getContentBrowserManager();
  final ContentBrowserSPI browser = manager.getDefaultContentBrowser();
  browser.addContentBrowserListener(new ContentBrowserListener() {

            public void okAction(String uri) {
                treatmentTextField.setText(uri);
                browser.removeContentBrowserListener(this);
            }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.content.spi.ContentBrowserSPI.ContentBrowserListener

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.