Révision 3149
tmp/org.txm.rcp/plugin.xml (revision 3149) | ||
---|---|---|
1013 | 1013 |
name="menu.corpus.read" |
1014 | 1014 |
visible="true"> |
1015 | 1015 |
</separator> |
1016 |
|
|
1016 | 1017 |
<separator |
1017 |
name="menu.corpus.manage"
|
|
1018 |
name="menu.corpus.build"
|
|
1018 | 1019 |
visible="true"> |
1019 | 1020 |
</separator> |
1020 | 1021 |
<command |
1021 |
commandId="org.txm.rcp.commands.workspace.OpenCorpus" |
|
1022 |
label="Open" |
|
1022 |
commandId="org.txm.rcp.commands.workspace.UpdateCorpus" |
|
1023 |
icon="icons/functions/update.png" |
|
1024 |
label="Re-import corpus" |
|
1023 | 1025 |
style="push"> |
1024 | 1026 |
<visibleWhen |
1025 | 1027 |
checkEnabled="false"> |
1026 | 1028 |
<or> |
1027 | 1029 |
<reference |
1028 |
definitionId="OneIProjectSelected">
|
|
1030 |
definitionId="OneMainCorpusSelected">
|
|
1029 | 1031 |
</reference> |
1030 | 1032 |
</or> |
1031 | 1033 |
</visibleWhen> |
1032 | 1034 |
</command> |
1033 | 1035 |
<command |
1034 |
commandId="org.txm.rcp.commands.workspace.CloseCorpus" |
|
1035 |
label="Close" |
|
1036 |
commandId="org.txm.rcp.commands.workspace.UpdateCorpus" |
|
1037 |
icon="icons/functions/update.png" |
|
1038 |
label="Force re-import corpus" |
|
1036 | 1039 |
style="push"> |
1037 | 1040 |
<visibleWhen |
1038 | 1041 |
checkEnabled="false"> |
... | ... | |
1042 | 1045 |
</reference> |
1043 | 1046 |
</or> |
1044 | 1047 |
</visibleWhen> |
1048 |
<parameter |
|
1049 |
name="org.txm.rcp.commands.workspace.UpdateCorpus.force" |
|
1050 |
value="true"> |
|
1051 |
</parameter> |
|
1045 | 1052 |
</command> |
1046 |
|
|
1047 |
<separator |
|
1048 |
name="menu.corpus.build" |
|
1049 |
visible="true"> |
|
1050 |
</separator> |
|
1051 | 1053 |
<command |
1052 |
commandId="org.txm.rcp.commands.workspace.UpdateCorpus" |
|
1053 |
icon="icons/functions/update.png" |
|
1054 |
label="Re-import corpus" |
|
1054 |
commandId="org.txm.rcp.handlers.results.DeleteObject" |
|
1055 |
icon="icons/functions/Delete.png" |
|
1055 | 1056 |
style="push"> |
1056 | 1057 |
<visibleWhen |
1057 | 1058 |
checkEnabled="false"> |
1058 | 1059 |
<or> |
1059 | 1060 |
<reference |
1060 |
definitionId="OneMainCorpusSelected">
|
|
1061 |
definitionId="OneTXMResultSelected">
|
|
1061 | 1062 |
</reference> |
1062 | 1063 |
</or> |
1063 | 1064 |
</visibleWhen> |
1064 | 1065 |
</command> |
1066 |
<separator |
|
1067 |
name="menu.corpus.manage" |
|
1068 |
visible="true"> |
|
1069 |
</separator> |
|
1065 | 1070 |
<command |
1066 |
commandId="org.txm.rcp.commands.workspace.UpdateCorpus" |
|
1067 |
icon="icons/functions/update.png" |
|
1068 |
label="Force re-import corpus" |
|
1071 |
commandId="org.txm.rcp.commands.workspace.OpenCorpus" |
|
1072 |
label="Open corpus" |
|
1069 | 1073 |
style="push"> |
1070 | 1074 |
<visibleWhen |
1071 | 1075 |
checkEnabled="false"> |
1072 | 1076 |
<or> |
1073 | 1077 |
<reference |
1074 |
definitionId="OneMainCorpusSelected">
|
|
1078 |
definitionId="OneIProjectSelected">
|
|
1075 | 1079 |
</reference> |
1076 | 1080 |
</or> |
1077 | 1081 |
</visibleWhen> |
1078 |
<parameter |
|
1079 |
name="org.txm.rcp.commands.workspace.UpdateCorpus.force" |
|
1080 |
value="true"> |
|
1081 |
</parameter> |
|
1082 | 1082 |
</command> |
1083 | 1083 |
<command |
1084 |
commandId="org.txm.rcp.handlers.results.DeleteObject"
|
|
1085 |
icon="icons/functions/Delete.png"
|
|
1084 |
commandId="org.txm.rcp.commands.workspace.CloseCorpus"
|
|
1085 |
label="Close corpus"
|
|
1086 | 1086 |
style="push"> |
1087 | 1087 |
<visibleWhen |
1088 | 1088 |
checkEnabled="false"> |
1089 | 1089 |
<or> |
1090 | 1090 |
<reference |
1091 |
definitionId="OneTXMResultSelected">
|
|
1091 |
definitionId="OneMainCorpusSelected">
|
|
1092 | 1092 |
</reference> |
1093 | 1093 |
</or> |
1094 | 1094 |
</visibleWhen> |
... | ... | |
1117 | 1117 |
</separator> |
1118 | 1118 |
</menu> |
1119 | 1119 |
<menu |
1120 |
id="menu.utilities" |
|
1121 |
label="Utilities"> |
|
1122 |
<dynamic |
|
1123 |
class="org.txm.rcp.menu.MacrosMenuContribution" |
|
1124 |
id="menu.utilities.contribution"> |
|
1125 |
</dynamic> |
|
1126 |
</menu> |
|
1127 |
<menu |
|
1120 | 1128 |
id="menu.display" |
1121 | 1129 |
label="%menu.label.7" |
1122 | 1130 |
tooltip="%menu.tooltip.0"> |
... | ... | |
2162 | 2170 |
</command> |
2163 | 2171 |
<command |
2164 | 2172 |
commandId="org.txm.rcp.commands.workspace.OpenCorpus" |
2165 |
label="Open" |
|
2173 |
label="Open corpus"
|
|
2166 | 2174 |
style="push"> |
2167 | 2175 |
<visibleWhen |
2168 | 2176 |
checkEnabled="false"> |
... | ... | |
2175 | 2183 |
</command> |
2176 | 2184 |
<command |
2177 | 2185 |
commandId="org.txm.rcp.commands.workspace.CloseCorpus" |
2178 |
label="Close" |
|
2186 |
label="Close corpus"
|
|
2179 | 2187 |
style="push"> |
2180 | 2188 |
<visibleWhen |
2181 | 2189 |
checkEnabled="false"> |
... | ... | |
2909 | 2917 |
</with> |
2910 | 2918 |
</definition> |
2911 | 2919 |
<definition |
2920 |
id="OneIProjectSelected"> |
|
2921 |
<with |
|
2922 |
variable="selection"> |
|
2923 |
<iterate |
|
2924 |
ifEmpty="false" |
|
2925 |
operator="and"> |
|
2926 |
<instanceof |
|
2927 |
value="org.eclipse.core.resources.IProject"> |
|
2928 |
</instanceof> |
|
2929 |
</iterate> |
|
2930 |
</with> |
|
2931 |
</definition> |
|
2932 |
<definition |
|
2912 | 2933 |
id="OneTextSelected"> |
2913 | 2934 |
<with |
2914 | 2935 |
variable="selection"> |
Formats disponibles : Unified diff