</category>
<wizard
category="org.eclipse.linuxtools.tmf.import.category"
- class="org.eclipse.linuxtools.tmf.ui.project.wizards.importtrace.ImportTraceWizard"
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.importtrace.ImportTraceWizard"
icon="icons/etool16/import.gif"
id="org.eclipse.linuxtools.tmf.ui.trace.import.wizard"
name="%project.import.wizard.name">
</wizard>
- <wizard
- category="org.eclipse.linuxtools.tmf.import.category"
- class="org.eclipse.linuxtools.tmf.ui.project.wizards.importtrace.BatchImportTraceWizard"
- icon="icons/etool16/import.gif"
- id="org.eclipse.linuxtools.tmf.ui.batch_import"
- name="%project.import.wizard.name.batch">
- </wizard>
<wizard
category="org.eclipse.linuxtools.tmf.import.category"
class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ImportTracePackageWizard"
</with>
</visibleWhen>
</command>
- <command
- commandId="org.eclipse.linuxtools.tmf.ui.openDir"
- label="%command.OpenDirectory.label"
- style="push">
- <visibleWhen
- checkEnabled="false">
- <with
- variable="selection">
- <count
- value="1">
- </count>
- <iterate
- operator="and">
- <instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
- </instanceof>
- </iterate>
- </with>
- </visibleWhen>
- </command>
<command
commandId="org.eclipse.ui.navigate.openResource"
disabledIcon="/icons/dlcl16/open.gif"
</with>
</visibleWhen>
</command>
- <command
- commandId="org.eclipse.linuxtools.tmf.ui.batch_import"
- label="%command.batch_import"
- mnemonic="%command.batch_import.mnemonic"
- style="push">
- <visibleWhen
- checkEnabled="false">
- <with
- variable="selection">
- <count
- value="1">
- </count>
- <iterate
- operator="and">
- <instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
- </instanceof>
- </iterate>
- </with>
- </visibleWhen>
- </command>
<separator
name="org.eclipse.linuxtools.tmf.ui.separator0"
visible="true">
checkEnabled="false">
<with
variable="selection">
- <iterate
- ifEmpty="false"
- operator="and">
- <or>
+ <or>
+ <iterate
+ ifEmpty="false"
+ operator="and">
<and>
<instanceof
value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
</test>
</not>
</and>
+ </iterate>
+ <iterate
+ ifEmpty="false"
+ operator="and">
<instanceof
value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
</instanceof>
+ </iterate>
+ <iterate
+ ifEmpty="false"
+ operator="and">
<and>
<not>
<instanceof
value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
</instanceof>
</and>
- </or>
- </iterate>
+ </iterate>
+ </or>
</with>
</visibleWhen>
</command>
<with
variable="selection">
<and>
- <count
- value="1">
- </count>
<iterate
ifEmpty="false"
operator="and">
- <and>
- <or>
- <instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
- </instanceof>
- <instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
- </instanceof>
- </or>
- <test
- forcePluginActivation="true"
- property="org.eclipse.linuxtools.tmf.ui.hasSupplementaryFiles">
- </test>
- </and>
+ <or>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
+ </instanceof>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
+ </instanceof>
+ </or>
+ </iterate>
+ <iterate
+ ifEmpty="false"
+ operator="or">
+ <test
+ forcePluginActivation="true"
+ property="org.eclipse.linuxtools.tmf.ui.hasSupplementaryFiles">
+ </test>
</iterate>
</and>
</with>
id="org.eclipse.linuxtools.tmf.ui.import"
name="%command.import">
</command>
- <command
- description="%command.batch_import.description"
- id="org.eclipse.linuxtools.tmf.ui.batch_import"
- name="%command.batch_import">
- </command>
<command
categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
description="%command.export_to_text.description"
id="org.eclipse.linuxtools.tmf.ui.openFile"
name="%command.OpenFile.name">
</command>
- <command
- categoryId="org.eclipse.ui.category.file"
- defaultHandler="org.eclipse.linuxtools.internal.tmf.ui.commands.OpenDirHandler"
- description="%command.OpenDirectory.description"
- id="org.eclipse.linuxtools.tmf.ui.openDir"
- name="%command.OpenDirectory.name">
- </command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceSupplementaryFilesHandler"
commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files">
- <activeWhen>
- <and>
- <count
- value="1">
- </count>
- <iterate
- operator="and">
- <instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
- </instanceof>
- </iterate>
- </and>
- </activeWhen>
</handler>
<handler
class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ExportTracePackageHandler"
</and>
</activeWhen>
</handler>
- <handler
- class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentSupplementaryFilesHandler"
- commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files">
- <activeWhen>
- <and>
- <count
- value="1">
- </count>
- <iterate
- operator="and">
- <instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
- </instanceof>
- </iterate>
- </and>
- </activeWhen>
- </handler>
<handler
class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.NewExperimentHandler"
commandId="org.eclipse.linuxtools.tmf.ui.command.new_experiment">
</and>
</activeWhen>
</handler>
- <handler
- class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.BatchImportTraceHandler"
- commandId="org.eclipse.linuxtools.tmf.ui.batch_import">
- </handler>
<handler
class="org.eclipse.linuxtools.internal.tmf.ui.commands.ExportToTextCommandHandler"
commandId="org.eclipse.linuxtools.tmf.ui.exportToText">