Dali Provisional API
Release 3.2

org.eclipse.jpt.common.core
Interface JptResourceTypeManager


public interface JptResourceTypeManager

The org.eclipse.jpt.common.core.resourceTypes extension point corresponding to a Dali workspace.

See org.eclipse.jpt.common.core/plugin.xml:resourceTypes.

Not intended to be implemented by clients.

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
3.3
See Also:
JptResourceType

Method Summary
 JptWorkspace getJptWorkspace()
          Return the manager's Dali workspace.
 JptResourceType getResourceType(IContentType contentType)
          Return the resource type for the specified content type and indeterminate version.
 JptResourceType getResourceType(IContentType contentType, String version)
          Return the resource type for the specified content type and version.
 Iterable<JptResourceType> getResourceTypes()
          Return the defined resource types.
 Iterable<JptResourceType> getResourceTypes(IContentType contentType)
          Return the defined resource types for the specified content type.
 

Method Detail

getJptWorkspace

JptWorkspace getJptWorkspace()
Return the manager's Dali workspace.


getResourceTypes

Iterable<JptResourceType> getResourceTypes()
Return the defined resource types.


getResourceTypes

Iterable<JptResourceType> getResourceTypes(IContentType contentType)
Return the defined resource types for the specified content type.


getResourceType

JptResourceType getResourceType(IContentType contentType)
Return the resource type for the specified content type and indeterminate version. Return null if the resource type does not exist.


getResourceType

JptResourceType getResourceType(IContentType contentType,
                                String version)
Return the resource type for the specified content type and version. Return null if the resource type does not exist.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.