Project

General

Profile

« Previous | Next » 

Revision d45bc597

Added by Patrick Plitzner almost 8 years ago

Remove "Close Connection" and changed "Connect" to "Create Data Model"
#5758

View differences:

eu.etaxonomy.taxeditor.store/plugin.xml
452 452
               label="%command.label.6"
453 453
               style="push">
454 454
               <visibleWhen>
455
              <with
456
           		 variable="selection">
457
           		 <not>
458
         			<test
459
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
460
         			</test>
461
	      		</not>
462
          		</with>
455
                  <not>
456
                     <reference
457
                           definitionId="hasDataModel">
458
                     </reference>
459
                  </not>
463 460
            </visibleWhen>
464 461
         </command>
465 462
         <command
......
520 517
               name="eu.etaxonomy.taxeditor.store.datasource.separator2"
521 518
               visible="true">
522 519
         </separator>
523
         <command
524
               commandId="eu.etaxonomy.taxeditor.store.datasource.close"
525
               label="%command.label.10"
526
               style="push">
527
               <visibleWhen>
528
              <with
529
           		 variable="selection">
530
           		 <not>
531
         			<test
532
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
533
         			</test>
534
	      		</not>
535
          		</with>
536
            </visibleWhen>
537
         </command>
538 520
         <command
539 521
               commandId="eu.etaxonomy.taxeditor.store.datasource.update"
540 522
               label="%command.label.11"
......
682 664
            id="eu.etaxonomy.taxeditor.store.datasource.create"
683 665
            name="%command.name.1">
684 666
      </command>
685
      <command
686
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloseConnectionHandler"
687
            id="eu.etaxonomy.taxeditor.store.datasource.close"
688
            name="%command.name.2">
689
      </command>
690 667
      <command
691 668
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
692 669
            id="eu.etaxonomy.taxeditor.view.datasource.delete"
......
1180 1157
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1181 1158
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1182 1159
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1183
         properties="test"
1160
         properties="test, hasDataModel"
1184 1161
         type="org.eclipse.jface.viewers.IStructuredSelection">
1185 1162
   </propertyTester>
1186 1163
   <propertyTester
......
1216 1193
         </test>
1217 1194
      </with>
1218 1195
   </definition>
1196
   <definition
1197
         id="hasDataModel">
1198
      <with
1199
            variable="selection">
1200
         <test
1201
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.hasDataModel">
1202
         </test>
1203
      </with>
1204
   </definition>
1219 1205
   <definition
1220 1206
         id="isShowExperimentalFeatures">
1221 1207
      <with

Also available in: Unified diff