commandId="rtosBuild.commands.buildCommand"
mnemonic="S"
id="rtosBuild.menus.buildCommand">
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="org.tizen.rt.product.rt_perspective">
+ </reference>
+ </visibleWhen>
</command>
<command
commandId="rtosBuild.commands.flashCommand"
mnemonic="S"
id="rtosBuild.menus.flashCommand">
- </command>
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="org.tizen.rt.product.rt_perspective">
+ </reference>
+ </visibleWhen>
+ </command>
</menu>
</menuContribution>
icon="icons/buildSample.gif"
tooltip="build rtos project"
id="rtosBuild.toolbars.buildCommand">
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="org.tizen.rt.product.rt_perspective">
+ </reference>
+ </visibleWhen>
</command>
<command
commandId="rtosBuild.commands.flashCommand"
icon="icons/flashSample.gif"
tooltip="flash rtos project"
id="rtosBuild.toolbars.flsahCommand">
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="org.tizen.rt.product.rt_perspective">
+ </reference>
+ </visibleWhen>
</command>
</toolbar>
</menuContribution>
<image
icon="icons/releng_gears.gif"
id="org.tizen.rt.product.RtProjectImage"
- natureId="org.tizen.rt.product.RtProjectNature">
+ natureId="org.tizen.rt.product.plugin.RtProjectNature">
</image>
</extension>
<extension
</and>
</with>
</definition>
+ <definition
+ id="org.tizen.rt.product.rt_perspective">
+ <with
+ variable="activeWorkbenchWindow.activePerspective">
+ <equals
+ value="org.tizen.rt.ide.perspectives.TizenRT">
+ </equals>
+ </with>
+ </definition>
</extension>
</plugin>