Accessing resource identifiers in the design ODA driver
The resource identifiers are available to the custom ODA designer UI driver. The designer driver provides the user interface for the custom data source and data set. Typically, to implement a custom behavior, the data source UI driver extends the following class:
org.eclipse.datatools.connectivity.oda.design.ui.wizards.DataSourceWizardPage
The DataSourceWizardPage class has an inherited method, getHostResourceIdentifiers( ), that provides access to the resource and report paths. The extended DataSourceWizardPage just needs to call the base method to get the ResourceIdentifiers for its path’s information. Similarly, if the custom driver implements a custom data source editor page, it extends:
org.eclipse.datatools.connectivity.oda.design.ui.wizards.DataSourceEditorPage
The DataSourceEditorPage class has an inherited method, getHostResourceIdentifiers( ). The extended class just needs to call the base class method to get the ResourceIdentifiers object for the two resource and report paths base URIs. Related primary methods in the org.eclipse.datatools.connectivity.oda.design.ResourceIdentifiers class are:
*
*

Additional Links:

Copyright Actuate Corporation 2012