|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.model.ContentSetProviderReference
public class ContentSetProviderReference
Wrapper for a
. This wrapper is necessary to have a uniform list of content set providers that have been registered programmatically and content set providers that have been registered declaratively through the context-set-providers-hook hook.ContentSetProvider
Constructor Summary | |
---|---|
ContentSetProviderReference(ContentSetProvider provider) Deprecated. |
|
ContentSetProviderReference(java.lang.String label, java.lang.String navigableLabel, java.lang.String key, boolean isDefaultContentSet, boolean applicationLevelContent, boolean displayFoldersAsPackages, boolean canContainJavaSources, boolean flatLevelEnabled, MetaClass<ContentSetProvider> type, java.lang.String defaultSourceFolder, PatternFilters patternFilters) Creates a new . |
Method Summary | |
---|---|
boolean |
applicationLevelContent() Indicates whether the content set provider represents content associated with the application workspace rather than with projects within the workspace. |
boolean |
canContainJavaSources() Indicates whether the content set provider may point to Java sources. |
ContentSetProvider |
contentSetProvider() Returns the instance of the referenced content set provider. |
boolean |
displayFoldersAsPackages() Indicates whether the content set provider wants its folders to be rendered in the UI as if they are Java packages. |
java.lang.String |
extensionId() |
void |
extensionId(java.lang.String extensionId) |
boolean |
hasNavigable() Indicates whether this content set provider has a Navigable . |
void |
initContentSet(ContentSet contentSet, java.net.URL projectDir, Context context) |
boolean |
isAlreadyInitialized() |
boolean |
isDefaultContentSet() Indicates whether the Navigable for this content set is shown in the Project Properties dialog when "Project Source Paths" is selected, or whether it is added as a child of that root node. |
boolean |
isFlatLevelEnabled() Indicates whether the flat level feature of the navigator should be enabled for this content set provider. |
java.lang.String |
key() Returns the key of the content set provider. |
java.lang.String |
label() Returns the label of this content set provider. |
java.lang.String |
navigableLabel() Returns the navigableLabel of the Navigable of the content set provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentSetProviderReference(ContentSetProvider provider)
ContentSetProviderReference
.
provider
- the ContentSetProvider
that has been registered programmatically.ProjectContent.registerContentSetProvider(ContentSetProvider)
public ContentSetProviderReference(java.lang.String label, java.lang.String navigableLabel, java.lang.String key, boolean isDefaultContentSet, boolean applicationLevelContent, boolean displayFoldersAsPackages, boolean canContainJavaSources, boolean flatLevelEnabled, MetaClass<ContentSetProvider> type, java.lang.String defaultSourceFolder, PatternFilters patternFilters)
ContentSetProviderReference
. This constructor is called to create a "meta"-reference to a content set provider registered declaratively through the content-set-provider-hook.
label
- the label of the content set provider.navigableLabel
- the label of the navigable of the content set provider.key
- the key of the content set provider.isDefaultContentSet
- indicates whether the content set is the default to be shown as the root level node in Project PropertiesapplicationLevelContent
- indicates whether the content set provider represents content associated with the application workspace rather than project level content.displayFoldersAsPackages
- indicates whether the content set provider wants its folders to be rendered in the UI as if they are Java packages.canContainJavaSources
- indicates whether the content set provider may point to Java sources.flatLevelEnabled
- indicates whether the flat level feature of the navigator should be enabled for this content set provider.type
- the MetaClass
used to lazily instantiate the content set provider.Method Detail |
---|
public java.lang.String label()
public java.lang.String navigableLabel()
Navigable
of the content set provider. It may return null
or an empty string if the content set provider does not provide a Navigable
.Navigable
of the content set provider, or null
or an empty string if the content set provider does not provide a Navigable
.public boolean hasNavigable()
Navigable
.true
if this content set provider has a Navigable
; false
otherwise.public java.lang.String key()
public boolean applicationLevelContent()
true
if the content set provider represents application workspace level content; false
means the content set provider represents project content.public boolean isDefaultContentSet()
Note that this will only return true if hasNavigable()
also returns true.
public boolean displayFoldersAsPackages()
true
if the content set provider wants its folders to be rendered in the UI as if they are Java packages; false
otherwise.public ContentSetProvider contentSetProvider()
MetaClass
especified in the content-set-providers-hook hook to create a content set provider lazily.public boolean isAlreadyInitialized()
public boolean canContainJavaSources()
true
if the content set provider may point to Java sources; false
otherwise.public boolean isFlatLevelEnabled()
true
if the flat level feature of the navigator should be enabled for this content set provider; false
otherwise.public void extensionId(java.lang.String extensionId)
public java.lang.String extensionId()
public void initContentSet(ContentSet contentSet, java.net.URL projectDir, Context context)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |