Revision 1196 tmp/org.txm.rcp/plugin.xml

plugin.xml (revision 1196)
955 955
                     checkEnabled="false">
956 956
                  <or>
957 957
                     <reference
958
                           definitionId="OneBaseSelected">
959
                     </reference>
960
                     <reference
961
                           definitionId="OneConcordanceSelected">
962
                     </reference>
963
                     <reference
964
                           definitionId="OneCorpusSelected">
965
                     </reference>
966
                     <reference
967
                           definitionId="OneLexicalTableSelected">
968
                     </reference>
969
                     <reference
970
                           definitionId="OneLexiconSelected">
971
                     </reference>
972
                     <reference
973
                           definitionId="OnePartitionSelected">
974
                     </reference>
975
                     <reference
976
                           definitionId="OneTxmObjectSelected">
977
                     </reference>
978
                     <reference
979 958
                           definitionId="OneTXMResultSelected">
980 959
                     </reference>
981 960
                  </or>
......
1391 1370
                     checkEnabled="false">
1392 1371
                  <or>
1393 1372
                     <reference
1394
                           definitionId="OneBaseSelected">
1395
                     </reference>
1396
                     <reference
1397
                           definitionId="OneConcordanceSelected">
1398
                     </reference>
1399
                     <reference
1400
                           definitionId="OneCorpusSelected">
1401
                     </reference>
1402
                     <reference
1403
                           definitionId="OneLexicalTableSelected">
1404
                     </reference>
1405
                     <reference
1406
                           definitionId="OneLexiconSelected">
1407
                     </reference>
1408
                     <reference
1409
                           definitionId="OnePartitionSelected">
1410
                     </reference>
1411
                     <reference
1412
                           definitionId="OneTxmObjectSelected">
1413
                     </reference>
1414
                     <reference
1415 1373
                           definitionId="OneTXMResultSelected">
1416 1374
                     </reference>
1417 1375
                  </or>
......
1437 1395
                  name="org.txm.rcp.separator1"
1438 1396
                  visible="true">
1439 1397
            </separator>
1398
            <separator
1399
                  name="org.txm.rcp.toolbartools.stats"
1400
                  visible="true">
1401
            </separator>
1440 1402

  
1441 1403
            <command
1442 1404
                  commandId="org.eclipse.ui.window.preferences"
......
1994 1956
                  name="org.txm.rcp.corporaview.corpus.read"
1995 1957
                  visible="true">
1996 1958
            </separator>
1997
            
1998
            <command
1999
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
2000
                  icon="icons/functions/Delete.png"
2001
                  style="push">
2002
               <visibleWhen
2003
                     checkEnabled="false">
2004
                  <or>
2005
                     <reference
2006
                           definitionId="OneBaseSelected">
2007
                     </reference>
2008
                     <reference
2009
                           definitionId="OneConcordanceSelected">
2010
                     </reference>
2011
                     <reference
2012
                           definitionId="OneCorpusSelected">
2013
                     </reference>
2014
                     <reference
2015
                           definitionId="OneLexicalTableSelected">
2016
                     </reference>
2017
                     <reference
2018
                           definitionId="OneLexiconSelected">
2019
                     </reference>
2020
                     <reference
2021
                           definitionId="OnePartitionSelected">
2022
                     </reference>
2023
                     <reference
2024
                           definitionId="OneTxmObjectSelected">
2025
                     </reference>
2026
                     <reference
2027
                           definitionId="OneTXMResultSelected">
2028
                     </reference>
2029
                  </or>
2030
               </visibleWhen>
2031
            </command>
2032 1959
            <separator
2033 1960
                  name="org.txm.rcp.corporaview.corpus.manage"
2034 1961
                  visible="true">
......
2062 1989
               visible="true">
2063 1990
         </separator>
2064 1991
            <command
1992
                  commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
1993
                  mode="FORCE_TEXT"
1994
                  style="toggle">
1995
               <visibleWhen
1996
                     checkEnabled="false">
1997
                  <and>
1998
                     <reference
1999
                           definitionId="OneTXMResultSelected">
2000
                     </reference>
2001
                     <test
2002
                           property="org.txm.rcp.testers.persistable"
2003
                           value="true">
2004
                     </test>
2005
                  </and>
2006
               </visibleWhen>
2007
            </command>
2008
            <command
2065 2009
                  commandId="org.txm.rcp.commands.function.RenameResult"
2066 2010
                  label="%command.label.26"
2067 2011
                  style="push">
......
2072 2016
                  </reference>
2073 2017
               </visibleWhen>
2074 2018
            </command>
2019
            
2075 2020
            <command
2076
                  commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
2077
                  mode="FORCE_TEXT"
2078
                  style="toggle">
2021
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
2022
                  icon="icons/functions/Delete.png"
2023
                  style="push">
2079 2024
               <visibleWhen
2080 2025
                     checkEnabled="false">
2081
                  <and>
2026
                  <or>
2082 2027
                     <reference
2083 2028
                           definitionId="OneTXMResultSelected">
2084 2029
                     </reference>
2085
                     <and>
2086
                        <not>
2087
                           <reference
2088
                                 definitionId="OneTxmObjectSelected">
2089
                           </reference>
2090
                        </not>
2091
                     </and>
2092
                  </and>
2030
                  </or>
2093 2031
               </visibleWhen>
2094 2032
            </command>
2033
            <separator
2034
                  name="org.txm.rcp.corporaview.preferences"
2035
                  visible="true">
2036
            </separator>
2095 2037
            <command
2096 2038
                  commandId="org.eclipse.ui.window.preferences"
2097 2039
                  icon="icons/functions/prefs.png"
......
2961 2903
            class="org.txm.rcp.testers.ToolboxTester"
2962 2904
            id="org.txm.rcp.testers.ToolboxTester"
2963 2905
            namespace="org.txm.rcp.testers"
2964
            properties="StatEngineReady,SearchEngineReady"
2906
            properties="StatEngineReady,SearchEngineReady,computable,persistable"
2965 2907
            type="java.lang.Object">
2966 2908
      </propertyTester>
2967 2909
      <propertyTester

Also available in: Unified diff