Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » ODA Extension - how to access Data Source properties?
ODA Extension - how to access Data Source properties? [message #580568] Wed, 05 July 2006 12:14
Eclipse UserFriend
Originally posted by: polesen.nordija.com

Hi,

I'm trying to build my own ODA, by extending the
"org.eclipse.datatools.connectivity.oda.dataSource" extension point. I seem
to be unable to get access to the properties defined in the plugin.xml. I
have something like this in plugin.xml:

....
<properties>
<propertyGroup
defaultDisplayName="Connection Properties"
name="connectionProperties">
<property
canInherit="true"
defaultDisplayName="mondrian.catalog"
name="MONDRIAN_CATALOG_FILE"
type="string"/>
....

Now, when I define a new DataSource of my type, right-click it and chose
"Edit", I get a nice dialog with the above defined property. BUT: The value
I enter is *not* in the java.util.Properties instance i get in the call to
my implementation of "IConnection.open", which I thought they would be.

defaultValue="AutoStat.xml"

I think I've misunderstood something. I've used flatfile and jdbc ODAs for
examples and I can see the JDBC plugin defines a UI, with specific dialogs
for entering its properties.

I can also see that the value of the properties in my plugin are saved in
the report xml file under the element "<list-property
name="propertyBindings">".

And last: If I define the "defaultValue" property on my property elements in
my plugin.xml, these values *do* appear in the java.util.Properties
instance in open.

What am I missing?

Regards, Per
Previous Topic:Problem using Serena Plugin for Eclipse.
Next Topic:New Data Set - Incomplete database results
Goto Forum:
  


Current Time: Fri Apr 26 21:19:25 GMT 2024

Powered by FUDForum. Page generated in 0.02939 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top