public class JavaContentValidator extends java.lang.Object implements ContentSetValidator
| Constructor and Description |
|---|
JavaContentValidator() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static void registerSourceRootHelper(SourceRootHelper helper)
helper - The helper to registerunRegisterSourceRootHelper(oracle.jdeveloper.model.SourceRootHelper)public static void unRegisterSourceRootHelper(SourceRootHelper helper)
helper - The helper to unregisterregisterSourceRootHelper(oracle.jdeveloper.model.SourceRootHelper)public void validateAndProcessURLs(ContentSetPanel panel, java.net.URL[] urls)
ContentSetValidatoraddFolderToContentSet 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.
validateAndProcessURLs in interface ContentSetValidatorpanel - the panel that is editing the ContentSeturls - the URLs to add to the ContentSetContentSetPanel.addFolderToContentSet(URL),
ContentSetPanel.addFolderToContentSet(URL,URL)