- Timestamp:
- 08/23/11 22:09:30 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modelicaml/org.openmodelica.modelicaml.profile/plugin.xml
r911 r918 383 383 icon="resources/icons/icons16/calculationModel.gif" 384 384 label="Calculation Model(s)" 385 style="push"> 386 <visibleWhen 387 checkEnabled="true"> 388 <with 389 variable="selection"> 390 <iterate 391 ifEmpty="false" 392 operator="or"> 393 <adapt 394 type="org.eclipse.emf.ecore.EObject"> 395 <instanceof 396 value="org.eclipse.uml2.uml.Package"> 397 </instanceof> 398 </adapt> 399 </iterate> 400 <count 401 value="1"> 402 </count> 403 </with> 404 </visibleWhen> 405 </command> 406 <command 407 commandId="org.openmodelica.modelicaml.commands.CreateTestScenarioCommand" 408 icon="resources/icons/icons16/calculationModel.gif" 409 label="Test Scenario(s)" 385 410 style="push"> 386 411 <visibleWhen … … 1252 1277 </command> 1253 1278 <command 1279 id="org.openmodelica.modelicaml.commands.CreateTestScenarioCommand" 1280 name="Create new Test Scenario"> 1281 </command> 1282 <command 1254 1283 id="org.openmodelica.modelicaml.commands.CreateModelicaRequirementCommand" 1255 1284 name="Create new Modelica Requirement"> … … 1772 1801 class="org.openmodelica.modelicaml.profile.handlers.CreateModelicaCalculationModelHandler" 1773 1802 commandId="org.openmodelica.modelicaml.commands.CreateModelicaCalculationModelCommand"> 1803 <activeWhen> 1804 <with 1805 variable="selection"> 1806 <count 1807 value="1"> 1808 </count> 1809 <iterate> 1810 <adapt 1811 type="org.eclipse.emf.ecore.EObject"> 1812 <and> 1813 <not> 1814 <test 1815 args="ModelicaML::ModelicaClassConstructs::Function" 1816 property="org.openmodelica.modelicaml.testers.hasStereotype"> 1817 </test> 1818 </not> 1819 <or> 1820 <instanceof 1821 value="org.eclipse.uml2.uml.Class"> 1822 </instanceof> 1823 <instanceof 1824 value="org.eclipse.uml2.uml.Package"> 1825 </instanceof> 1826 </or> 1827 <and> 1828 <not> 1829 <instanceof 1830 value="org.eclipse.uml2.uml.Behavior"> 1831 </instanceof> 1832 </not> 1833 </and> 1834 </and> 1835 </adapt> 1836 </iterate> 1837 </with> 1838 </activeWhen> 1839 </handler> 1840 <handler 1841 class="org.openmodelica.modelicaml.profile.handlers.CreateTestScenarioHandler" 1842 commandId="org.openmodelica.modelicaml.commands.CreateTestScenarioCommand"> 1774 1843 <activeWhen> 1775 1844 <with
Note: See TracChangeset
for help on using the changeset viewer.