ISchemaTypeSystemDriver Interface

com.bea.ide.workspace.project.schema
ISchemaTypeSystemDriver Interface

public interface ISchemaTypeSystemDriver

    extends IProjectDriver

This project driver provides access to the schema type systems on the project's classpath. The driver will always be available on each project in the application and does not have to be declared in the project type extension xml.


All Superinterfaces
IProjectDriver

Field Summary

public static final String
EVENT_TypeSystemChange
Notification that the set of schema type systems on the project classpath may have changed.
 

Method Summary

public SchemaTypeSystem[]
getTypeSystems(boolean includeSystemLibraries)
Returns the set of schema type systems on the project classpath.
 
Methods from interface com.bea.ide.workspace.project.IProjectDriver
activate, deactivate
   

Field Detail

EVENT_TypeSystemChange

public static final String EVENT_TypeSystemChange
Notification that the set of schema type systems on the project classpath may have changed. This event signals that any type systems previously returned by this driver are invalid and should be discarded. This event is fired on the AWT thread.

 

Method Detail

getTypeSystems(boolean) Method

public SchemaTypeSystem[] getTypeSystems(boolean includeSystemLibraries)
Returns the set of schema type systems on the project classpath. Note that if the caller intends to hold on to the type systems returned, an IProject property listener on EVENT_TypeSystemChange should be added. When this event fires, the set of types systems should be discarded and a new set obtained if needed. The old type systems will no longer return valid information.

Parameters

includeSystemLibraries
true if the set of returned set should include type systems found in system library jars. false to exclude system libraries.

Returns

Array of SchemaTypeSystems on the project classpath.