Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


javax.ide.view
Interface URISelectionDialog


public interface URISelectionDialog

This interface gives clients a portable interface to control basic file and directory selection dialogs.


Nested Class Summary
static interface URISelectionDialog.Validator
          Clients of the URISelectionDialog implement a Validator when they need to validate the selected URI(s) before the selection dialog is dismissed.

 

Method Summary
 java.net.URI[] getResults()
          Gets any dialog result parameters as an array of objects.
 int show()
          Shows the dialog.
 int show(URISelectionDialog.Validator validator)
          Shows the dialog.

 

Method Detail

show

int show()
Shows the dialog.
Returns:
An integer value indicating whether the use pressed the OK, or Cancel button. The returned value can be checked against the constants: IDEDialogs.OK_ID and IDEDialogs.CANCEL_ID.

show

int show(URISelectionDialog.Validator validator)
Shows the dialog.
Parameters:
validator - An implementation of the Validator interface that will be called to validate selected URIs.
Returns:
An integer value indicating whether the use pressed the OK, or Cancel button.

getResults

java.net.URI[] getResults()
Gets any dialog result parameters as an array of objects.
Returns:
URI[] An array of result URIs or an empty array

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.