blob: 5e6e0336ee32e31a36d62aad8c954275f3ef1c46 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension-point id="key" name="Key Provider" schema="schema/key.exsd"/>
<extension
point="org.eclipse.core.runtime.adapters">
<factory
adaptableType="org.eclipse.scada.sec.callback.XMLSignatureCallback"
class="org.eclipse.scada.sec.ui.providers.internal.CallbackWidgetAdapterFactory">
<adapter
type="org.eclipse.scada.sec.ui.CallbackWidgetFactory">
</adapter>
</factory>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.scada.core.ui.preferences"
class="org.eclipse.scada.sec.ui.providers.internal.DefaultPage"
id="org.eclipse.scada.sec.ui.providers"
name="Security">
</page>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="toolbar:org.eclipse.ui.trim.status">
<toolbar
id="org.eclipse.scada.sec.ui.trim">
<control
class="org.eclipse.scada.sec.ui.providers.internal.KeyInstanceManagerStatus"
id="org.eclipse.scada.sec.ui.providers.keyInstanceManagerStatus">
</control>
<command
commandId="org.eclipse.scada.sec.ui.providers.ClearDefaultKey"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
</toolbar>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.services">
<sourceProvider
provider="org.eclipse.scada.sec.ui.providers.internal.KeyInstanceProvider">
<variable
name="org.eclipse.scada.sec.ui.providers.KeyInstance.defaultKey"
priorityLevel="workbench">
</variable>
<variable
name="org.eclipse.scada.sec.ui.providers.KeyInstance.isDefaultKey"
priorityLevel="workbench">
</variable>
</sourceProvider>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.scada.sec.ui"
id="org.eclipse.scada.sec.ui.providers.ClearDefaultKey"
name="Clear Default Key">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.scada.sec.ui.providers.internal.ClearSecurityKeyHandler"
commandId="org.eclipse.scada.sec.ui.providers.ClearDefaultKey">
<enabledWhen>
<with
variable="org.eclipse.scada.sec.ui.providers.KeyInstance.isDefaultKey">
<equals
value="true">
</equals>
</with>
</enabledWhen>
</handler>
</extension>
<extension
point="org.eclipse.ui.commandImages">
<image
commandId="org.eclipse.scada.sec.ui.providers.ClearDefaultKey"
icon="icons/clear-default-key.gif">
</image>
</extension>
</plugin>