[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [dtp-dev] Re: [Bug 150592] [API] Unable to sort generic folders on DSE
|
Hi Brian
I tried the following snippet with all 3 combinations of
enablement/trigger point elements; but they both cannot have the other
as its child element.
Regards
Anthos
<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>
<enablement>
<!--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-->
</enablement>
</navigatorContent>
</extension>
Anil T Samuel wrote:
Hi Brian
Could you please show me example (since I could not find a derby
example for this) on how to use the enablement extension point ?
Regards
Anthos
bugzilla-daemon@xxxxxxxxxxx wrote:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=150592
Product/Component: Data Tools / Data Source Explorer
------- Comment #3 from brianf@xxxxxxxxxx 2006-09-18 11:37 -------
Anthos, can you try something in regards to this sorter issue? Can
you try
using "enablement" instead of "triggerPoints"? And if that doesn't
work, can
you have both an enablement and triggerPoints section? I'm just
curious as to
whether the nav framework is looking at these two
(enablement/triggerPoints)
differently as far as the sorter goes.
_______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev