blob: d44bb283d8b20237078c4907f72be0c52fa39c50 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension-point id="org.eclipse.scada.ae.ui.views.configuration" name="%extension-point.viewConfiguration.name" schema="schema/org.eclipse.scada.ae.ui.views.configuration.exsd"/>
<extension-point id="filterTab" name="%extension-point.name" schema="schema/filterTab.exsd"/>
<extension
point="org.eclipse.ui.views">
<view
allowMultiple="true"
category="org.eclipse.scada.ae.ui.category"
class="org.eclipse.scada.ae.ui.views.views.MonitorsView"
icon="icons/monitors.gif"
id="org.eclipse.scada.ae.ui.views.views.monitors"
name="%view.monitors.name"
restorable="true">
</view>
<view
allowMultiple="true"
category="org.eclipse.scada.ae.ui.category"
class="org.eclipse.scada.ae.ui.views.views.EventPoolView"
icon="icons/eventpool.gif"
id="org.eclipse.scada.ae.ui.views.views.eventpool"
name="%view.eventPool.name"
restorable="true">
</view>
<view
allowMultiple="true"
category="org.eclipse.scada.ae.ui.category"
class="org.eclipse.scada.ae.ui.views.views.EventHistoryView"
icon="icons/eventhistory.gif"
id="org.eclipse.scada.ae.ui.views.views.eventhistory"
name="%view.eventQuery.name"
restorable="true">
</view>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.scada.core.ui.preferences"
class="org.eclipse.scada.ae.ui.views.preferences.PreferencePage"
id="org.eclipse.scada.ae.ui.views.preferences.PreferencePage"
name="%preference.bellActivated.label">
</page>
</extension>
<extension
point="org.eclipse.core.runtime.preferences">
<initializer
class="org.eclipse.scada.ae.ui.views.preferences.PreferenceInitializer">
</initializer>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
commandId="org.eclipse.scada.ae.ui.views.AcknowledgeCommand">
<class
class="org.eclipse.scada.ae.ui.views.handler.AcknowledgeHandler">
</class>
<activeWhen>
<and>
<with
variable="selection">
<and>
<iterate
ifEmpty="false"
operator="or">
<adapt
type="org.eclipse.scada.ae.ui.views.handler.AckInformation">
<or>
<test
forcePluginActivation="true"
property="org.eclipse.scada.ae.ui.views.ackInformationTester.status"
value="NOT_OK_NOT_AKN">
</test>
<test
forcePluginActivation="true"
property="org.eclipse.scada.ae.ui.views.ackInformationTester.status"
value="NOT_AKN">
</test>
</or>
</adapt>
</iterate>
</and>
</with>
</and>
</activeWhen>
</handler>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.scada.ae.ui.category"
description="%command.ack.description"
id="org.eclipse.scada.ae.ui.views.AcknowledgeCommand"
name="%command.ack.name">
</command>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.scada.ae.ui.views.views.monitors">
<command
commandId="org.eclipse.scada.ae.ui.views.AcknowledgeCommand"
style="push">
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="toolbar:org.eclipse.scada.ae.ui.views.views.monitors">
<command
commandId="org.eclipse.scada.ae.ui.views.AcknowledgeCommand"
style="push">
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.scada.ae.ui.views.views.eventpool">
<command
commandId="org.eclipse.scada.ae.ui.views.AcknowledgeCommand"
style="push">
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="toolbar:org.eclipse.scada.ae.ui.views.views.eventpool">
<command
commandId="org.eclipse.scada.ae.ui.views.AcknowledgeCommand"
style="push">
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.commandImages">
<image
commandId="org.eclipse.scada.ae.ui.views.AcknowledgeCommand"
icon="icons/acknowledge.gif">
</image>
</extension>
<extension
point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="org.eclipse.scada.ae.ui.views.tester.AckInformationTester"
id="org.eclipse.scada.ae.ui.views.ackInformationTester"
namespace="org.eclipse.scada.ae.ui.views.ackInformationTester"
properties="status"
type="org.eclipse.scada.ae.ui.views.handler.AckInformation">
</propertyTester>
</extension>
<extension
point="org.eclipse.core.runtime.adapters">
<factory
adaptableType="org.eclipse.scada.ae.ui.views.model.DecoratedEvent"
class="org.eclipse.scada.ae.ui.views.adapter.DecoratedFactory">
<adapter
type="org.eclipse.scada.ae.ui.views.handler.AckInformation">
</adapter>
</factory>
<factory
adaptableType="org.eclipse.scada.ae.ui.views.model.DecoratedMonitor"
class="org.eclipse.scada.ae.ui.views.adapter.DecoratedFactory">
<adapter
type="org.eclipse.scada.ae.ui.views.handler.AckInformation">
</adapter>
</factory>
</extension>
</plugin>