Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.jdeveloper.model
Class JavaContentValidator

java.lang.Object
  extended by oracle.jdeveloper.model.JavaContentValidator
All Implemented Interfaces:
ContentSetValidator

public class JavaContentValidator
extends java.lang.Object
implements ContentSetValidator


Constructor Summary
JavaContentValidator()
           
 
Method Summary
static void registerSourceRootHelper(SourceRootHelper helper)
          Registers a SourceRootHelper for determining source roots for Java project content.
static void unRegisterSourceRootHelper(SourceRootHelper helper)
          Registers a SourceRootHelper for determining source roots for Java project content.
 void validateAndProcessURLs(ContentSetPanel panel, java.net.URL[] urls)
          This method gets called when the user picks one more folders to add as Project Content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaContentValidator

public JavaContentValidator()
Method Detail

registerSourceRootHelper

public static void registerSourceRootHelper(SourceRootHelper helper)
Registers a SourceRootHelper for determining source roots for Java project content.

Parameters:
helper - The helper to register
See Also:
unRegisterSourceRootHelper(oracle.jdeveloper.model.SourceRootHelper)

unRegisterSourceRootHelper

public static void unRegisterSourceRootHelper(SourceRootHelper helper)
Registers a SourceRootHelper for determining source roots for Java project content.

Parameters:
helper - The helper to unregister
See Also:
registerSourceRootHelper(oracle.jdeveloper.model.SourceRootHelper)

validateAndProcessURLs

public void validateAndProcessURLs(ContentSetPanel panel,
                                   java.net.URL[] urls)
Description copied from interface: ContentSetValidator
This method gets called when the user picks one more folders to add as Project Content. The validator should validate the selected content and add the content to the panel as appropriate by calling addFolderToContentSet in ContentSetPanel.

If necessary, the validator should notify the user if the content cannot be added, or if only some of the content will be added, etc.

Specified by:
validateAndProcessURLs in interface ContentSetValidator
Parameters:
panel - the panel that is editing the ContentSet
urls - the URLs to add to the ContentSet
See Also:
ContentSetPanel.addFolderToContentSet(URL), ContentSetPanel.addFolderToContentSet(URL,URL)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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