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

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


            // selected and fill in the text field with the URI
      // 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);
                }

                public void cancelAction() {
                    browser.removeContentBrowserListener(this);
                }
            });
            browser.setVisible(true);
  }
  setPanelDirty();
    }//GEN-LAST:event_browseButtonActionPerformed
View Full Code Here


        // selected and fill in the text field with the URI
  // 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);
            }

            public void cancelAction() {
                browser.removeContentBrowserListener(this);
            }
        });
        browser.setVisible(true);
    }
}//GEN-LAST:event_browseButtonActionPerformed
View Full Code Here

TOP

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

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.