Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dtp-dev] Recent Connectivity Changes

I just tried 9/20 build and the DSE looks as seen in http://static.flickr.com/83/248656152_c21be5b8dd.jpg?v=0

Interestingly 'Synonym' node provided by Derby plugin isnot appearing in Oracle schema whereas nodes like 'Materialized Views', 'Recycle Bin' etc from Oracle plugin is appearing in Derby schema.

Note : I am not using enablement extension point (since I dont know how-to!!) but using trigger point as below
  <extension point="org.eclipse.ui.navigator.navigatorContent">
     <navigatorContent
           name="Database_Explorer_Oracle_Content_Extension"
           priority="high"
           activeByDefault="true"
contentProvider="oracle.dbtools.connectivity.ui.explorer.providers.ServerExplorerContentProvider" labelProvider="oracle.dbtools.connectivity.ui.explorer.providers.label.ServerExplorerLabelProvider" id="oracle.dbtools.connectivity.ui.explorer.providers.ServerExplorerContentProvider">
                       <commonSorter
id ="oracle.dbtools.connectivity.ui.explorer.providers.Sorter" class="oracle.dbtools.connectivity.ui.explorer.providers.Sorter">
                               </commonSorter>
               <triggerPoints>
                    <or>
                       <instanceof
value="org.eclipse.datatools.modelbase.sql.schema.Schema" />
                                               <instanceof
value="oracle.dbtools.modelbase.db.ComposedType" />
                    </or>
               </triggerPoints>
               <possibleChildren>
                  <or>
                       <instanceof
value="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.virtual.IVirtualNode" />
                       <instanceof
value="oracle.dbtools.modelbase.db.MaterializedView" />
                       <instanceof
value="oracle.dbtools.modelbase.db.ComposedType" />
                  </or>
               </possibleChildren>
     </navigatorContent>
  </extension>


Regards
Anthos
jograham@xxxxxxxxxx wrote:

Hi Anthos,

I'm not seeing (1) in today's (9/20) build -- can you confirm?

Regards,
John Graham
Eclipse Data Tools Platform PMC Chair
Staff Software Engineer, Sybase, Inc.
http://dataplat.blogspot.com/



Anil T Samuel <anil.samuel@orac le.com> To Sent by: DTP development mailing list dtp-dev-bounces@e <dtp-dev@xxxxxxxxxxx> clipse.org cc Subject 09/19/2006 09:10 Re: [dtp-dev] Recent Connectivity PM Changes Please respond to DTP development mailing list <dtp-dev@eclipse. org>



Hi Rob

1. below is back as an issue. I noticed this only on build,
dtp-sdk_1.0M2_N091506-2.zip.

Regards
Anthos
rcernich@xxxxxxxxxx wrote:

Hey all,

Just writing to let you know of some changes recently checked into
connectivity.

1.  Synonym folder appearing for all databases.
This has been partially resolved.  It will now only appear under
DerbyCatalogSchema nodes in the DSE.  I have requested that the Derby SQL
model be updated to include a specialized Schema element which the content
provider can trigger off of.  This is will be required once offline
capabilities are added to DTP (because the persisted object is of type
Schema, the Synonym folder will not be displayed).

2.  Properties view integration with DSE.
I've added a properties view contributor for the DSE.  This will allow
extension to provide property content for their objects.  To have your
objects appear in the properties view, you simply need to have an adapter
registered against them for IPropertySource objects...voila.  I've added
an
adapter for SQLObject's to the ...sqm.server.ui project, but have disabled
it pending fixes to the generated edit code (some objects have properties
listed which shouldn't be (e.g. the schema referenced by a database) and
many properties are editable (e.g. the schema referenced by a table)).  I
will enable this adapter once the changes have been made in model base.
Note, you should also make sure you implement
ICommonLabelProvider.getDescription() in you label provider extension as
this method is used to generate the title for the properties view when you
object is selected.

These changes have resulted in dependency changes to the following
plugins:
org.eclipse.datatools.connectivity.sqm.server.ui
org.eclipse.datatools.connectivity..ui.dse

Let me know if you have any problems.
Rob

_______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev



_______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev



_______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev



Back to the top