root / tmp / org.txm.partition.rcp / plugin.xml @ 1174
Historique | Voir | Annoter | Télécharger (4,67 ko)
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|---|---|
| 2 |
<?eclipse version="3.4"?>
|
| 3 |
<plugin>
|
| 4 |
|
| 5 |
<extension
|
| 6 |
point="org.eclipse.ui.commands"> |
| 7 |
<command
|
| 8 |
categoryId="org.txm.rcp.category.txm" |
| 9 |
defaultHandler="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart" |
| 10 |
id="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart" |
| 11 |
name="%command.name" |
| 12 |
returnTypeId="org.txm.partition.core.functions.PartitionDimensions"> |
| 13 |
</command>
|
| 14 |
</extension>
|
| 15 |
<extension
|
| 16 |
point="org.eclipse.ui.menus"> |
| 17 |
<menuContribution
|
| 18 |
locationURI="menu:menu.corpus"> |
| 19 |
<command
|
| 20 |
commandId="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart" |
| 21 |
icon="icons/dimensions.png" |
| 22 |
style="push"> |
| 23 |
<visibleWhen
|
| 24 |
checkEnabled="false"> |
| 25 |
<or>
|
| 26 |
<reference
|
| 27 |
definitionId="OnePartitionSelected"> |
| 28 |
</reference>
|
| 29 |
</or>
|
| 30 |
</visibleWhen>
|
| 31 |
</command>
|
| 32 |
</menuContribution>
|
| 33 |
<menuContribution
|
| 34 |
allPopups="false" |
| 35 |
locationURI="toolbar:org.txm.rcp.toolbartools"> |
| 36 |
<command
|
| 37 |
commandId="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart" |
| 38 |
icon="icons/dimensions.png" |
| 39 |
style="push" |
| 40 |
tooltip="%command.tooltip"> |
| 41 |
<visibleWhen
|
| 42 |
checkEnabled="false"> |
| 43 |
<or>
|
| 44 |
<reference
|
| 45 |
definitionId="OnePartitionSelected"> |
| 46 |
</reference>
|
| 47 |
</or>
|
| 48 |
</visibleWhen>
|
| 49 |
</command>
|
| 50 |
</menuContribution>
|
| 51 |
<menuContribution
|
| 52 |
allPopups="false" |
| 53 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.corpus.read"> |
| 54 |
<command
|
| 55 |
commandId="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart" |
| 56 |
icon="icons/dimensions.png" |
| 57 |
style="push"> |
| 58 |
<visibleWhen
|
| 59 |
checkEnabled="false"> |
| 60 |
<or>
|
| 61 |
<reference
|
| 62 |
definitionId="OnePartitionSelected"> |
| 63 |
</reference>
|
| 64 |
</or>
|
| 65 |
</visibleWhen>
|
| 66 |
</command>
|
| 67 |
<command
|
| 68 |
commandId="CloneTXMResult" |
| 69 |
style="push"> |
| 70 |
<visibleWhen
|
| 71 |
checkEnabled="false"> |
| 72 |
<test
|
| 73 |
property="org.txm.partition.rcp.test1"> |
| 74 |
</test>
|
| 75 |
</visibleWhen>
|
| 76 |
</command>
|
| 77 |
</menuContribution>
|
| 78 |
</extension>
|
| 79 |
<extension
|
| 80 |
point="org.eclipse.ui.preferencePages"> |
| 81 |
<page
|
| 82 |
category="org.txm.rcp.preferences.UserPreferencePage" |
| 83 |
class="org.txm.partition.rcp.preferences.PartitionPreferencePage" |
| 84 |
id="org.txm.rcp.partition.preferences.PartitionPreferencePage" |
| 85 |
name="%page.name"> |
| 86 |
</page>
|
| 87 |
</extension>
|
| 88 |
<extension
|
| 89 |
point="org.eclipse.ui.editors"> |
| 90 |
<editor
|
| 91 |
class="org.txm.partition.rcp.editors.PartitionDimensionsEditor" |
| 92 |
default="false" |
| 93 |
icon="icons/dimensions.png" |
| 94 |
id="org.txm.partition.core.functions.PartitionDimensions" |
| 95 |
name="%editor.name"> |
| 96 |
</editor>
|
| 97 |
</extension>
|
| 98 |
<extension
|
| 99 |
point="org.eclipse.core.runtime.adapters"> |
| 100 |
<factory
|
| 101 |
adaptableType="org.txm.partition.core.functions.PartitionDimensions" |
| 102 |
class="org.txm.partition.rcp.adapters.PartitionDimensionsAdapterFactory"> |
| 103 |
<adapter
|
| 104 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
| 105 |
</adapter>
|
| 106 |
<adapter
|
| 107 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
| 108 |
</adapter>
|
| 109 |
</factory>
|
| 110 |
<factory
|
| 111 |
adaptableType="org.txm.searchengine.cqp.corpus.Partition" |
| 112 |
class="org.txm.partition.rcp.adapters.PartitionAdapterFactory"> |
| 113 |
<adapter
|
| 114 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
| 115 |
</adapter>
|
| 116 |
<adapter
|
| 117 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
| 118 |
</adapter>
|
| 119 |
</factory>
|
| 120 |
</extension>
|
| 121 |
<extension
|
| 122 |
point="org.eclipse.core.expressions.definitions"> |
| 123 |
<definition
|
| 124 |
id="OnePartitionSelected"> |
| 125 |
<with
|
| 126 |
variable="selection"> |
| 127 |
<iterate
|
| 128 |
ifEmpty="false" |
| 129 |
operator="and"> |
| 130 |
<instanceof
|
| 131 |
value="org.txm.searchengine.cqp.corpus.Partition"> |
| 132 |
</instanceof>
|
| 133 |
</iterate>
|
| 134 |
</with>
|
| 135 |
</definition>
|
| 136 |
</extension>
|
| 137 |
|
| 138 |
</plugin>
|