Changeset 1640


Ignore:
Timestamp:
08/21/12 18:17:00 (12 years ago)
Author:
wschamai
Message:

MOD: filter for the "find references" action

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modelicaml/org.openmodelica.modelicaml.modelexplorer/plugin.xml

    r1638 r1640  
    11671167            label="Find references"
    11681168            style="push">
     1169         <visibleWhen
     1170               checkEnabled="true">
     1171            <with
     1172                  variable="selection">
     1173               <count
     1174                     value="1">
     1175               </count>
     1176               <iterate>
     1177                  <adapt
     1178                        type="org.eclipse.emf.ecore.EObject">
     1179                     <or>
     1180                        <instanceof
     1181                              value="org.eclipse.uml2.uml.Package">
     1182                        </instanceof>
     1183                        <instanceof
     1184                              value="org.eclipse.uml2.uml.Model">
     1185                        </instanceof>
     1186                        <instanceof
     1187                              value="org.eclipse.uml2.uml.Property">
     1188                        </instanceof>
     1189                        <instanceof
     1190                              value="org.eclipse.uml2.uml.StateMachine">
     1191                        </instanceof>
     1192                        <instanceof
     1193                              value="org.eclipse.uml2.uml.State">
     1194                        </instanceof>
     1195                        <instanceof
     1196                              value="org.eclipse.uml2.uml.Class">
     1197                        </instanceof>
     1198                        <instanceof
     1199                              value="org.eclipse.uml2.uml.PrimitiveType">
     1200                        </instanceof>
     1201                     </or>
     1202                     <and>
     1203                        <not>
     1204                           <instanceof
     1205                                 value="org.eclipse.uml2.uml.OpaqueAction">
     1206                           </instanceof>
     1207                        </not>
     1208                        <not>
     1209                           <instanceof
     1210                                 value="org.eclipse.uml2.uml.OpaqueBehavior">
     1211                           </instanceof>
     1212                        </not>
     1213                     </and>
     1214                  </adapt>
     1215               </iterate>
     1216            </with>
     1217         </visibleWhen>
    11691218      </command>
    11701219   </menuContribution>
Note: See TracChangeset for help on using the changeset viewer.