blob: 0a47b5a565bfdf7d9b9f9ffa92fc2fa60ad4155d [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
point="org.eclipse.ui.navigator.navigatorContent">
<navigatorContent
contentProvider="org.eclipse.datatools.connectivity.sqm.server.internal.ui.explorer.providers.SQLModelContentProviderExtension"
id="org.eclipse.datatools.connectivity.db.sqlModelContent"
labelProvider="org.eclipse.datatools.connectivity.sqm.server.internal.ui.explorer.providers.SQLModelLabelProviderExtension"
name="%SQL_MODEL_CONTENT_EXTENSION_NAME">
<commonSorter
id ="org.eclipse.datatools.connectivity.sqm.core.internal.ui.services.ExplorerSorterProvider"
class="org.eclipse.datatools.connectivity.sqm.core.internal.ui.services.ExplorerSorterProvider">
</commonSorter>
<actionProvider
id="org.eclipse.datatools.connectivity.sqm.server.internal.ui.explorer.providers.SQLModelContentActionProvider"
class="org.eclipse.datatools.connectivity.sqm.server.internal.ui.explorer.providers.SQLModelContentActionProvider">
<enablement>
<instanceof value="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.filter.IFilterNode"/>
</enablement>
</actionProvider>
<triggerPoints>
<and>
<instanceof value="org.eclipse.datatools.connectivity.IConnectionProfile"/>
<test
property="org.eclipse.datatools.connectivity.profile.property.factoryID"
value="org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionInfo"/>
</and>
</triggerPoints>
<possibleChildren>
<or>
<instanceof value="org.eclipse.datatools.modelbase.sql.schema.SQLObject"/>
<instanceof value="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.virtual.IVirtualNode"/>
<instanceof value="org.eclipse.datatools.connectivity.sqm.server.internal.ui.explorer.providers.SQLModelContentExtension"/>
</or>
</possibleChildren>
</navigatorContent>
</extension>
<extension
point="org.eclipse.ui.navigator.viewer">
<viewerContentBinding viewerId="org.eclipse.datatools.connectivity.DataSourceExplorerNavigator">
<includes>
<contentExtension pattern="org.eclipse.datatools.connectivity.db.sqlModelContent"/>
</includes>
</viewerContentBinding>
<viewerActionBinding viewerId="org.eclipse.datatools.connectivity.DataSourceExplorerNavigator">
<includes>
<actionExtension pattern="org.eclipse.datatools.connectivity.sqm.server.internal.ui.explorer.actions.popup.RefreshActionProvider"/>
</includes>
</viewerActionBinding>
</extension>
<extension
point="org.eclipse.ui.navigator.navigatorContent">
<actionProvider
class="org.eclipse.datatools.connectivity.sqm.server.internal.ui.explorer.actions.popup.RefreshActionProvider"
id="org.eclipse.datatools.connectivity.sqm.server.internal.ui.explorer.actions.popup.RefreshActionProvider"
overrides="org.eclipse.datatools.connectivity.ui.dse.actions.RefreshActionProvider">
<enablement>
<or>
<instanceof value="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.virtual.IVirtualNode"/>
<instanceof value="org.eclipse.datatools.modelbase.sql.schema.SQLObject"/>
</or>
</enablement>
</actionProvider>
</extension>
<extension
point="org.eclipse.core.runtime.adapters">
<factory
adaptableType="org.eclipse.datatools.modelbase.sql.schema.SQLObject"
class="org.eclipse.datatools.connectivity.sqm.server.internal.ui.SQLObjectAdapterFactory">
<adapter type="org.eclipse.ui.views.properties.IPropertySource"/>
</factory>
</extension>
</plugin>