</category>
<wizard
category="org.eclipse.linuxtools.tmf.import.category"
- class="org.eclipse.linuxtools.tmf.ui.project.wizards.importtrace.ImportTraceWizard"
+ class="org.eclipse.linuxtools.tmf.ui.project.wizards.importtrace.BatchImportTraceWizard"
icon="icons/etool16/import.gif"
- id="org.eclipse.linuxtools.tmf.ui.trace.import.wizard"
- name="%project.import.wizard.name">
+ 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.tmf.ui.project.wizards.importtrace.BatchImportTraceWizard"
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ImportTracePackageWizard"
icon="icons/etool16/import.gif"
- id="org.eclipse.linuxtools.tmf.ui.batch_import"
- name="%project.import.wizard.name.batch">
+ id="org.eclipse.linuxtools.tmf.ui.trace.import.package.wizard"
+ name="%project.import.wizard.name.tracepkg">
</wizard>
</extension>
<extension
<menuContribution
locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<command
- commandId="org.eclipse.ui.file.import"
- label="%command.import"
- mnemonic="%command.import.mnemonic"
+ commandId="org.eclipse.linuxtools.tmf.ui.openFile"
+ label="%command.OpenFile.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.linuxtools.tmf.ui.openDir"
+ label="%command.OpenDirectory.label"
style="push">
<visibleWhen
checkEnabled="false">
</with>
</visibleWhen>
</command>
+ <command
+ commandId="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg"
+ icon="icons/etool16/export.gif"
+ label="%command.export_trace_package"
+ mnemonic="%command.export_trace_package.mnemonic"
+ style="push"
+ tooltip="%command.export_trace_package.description">
+ <visibleWhen
+ checkEnabled="false">
+ <with
+ variable="selection">
+ <and>
+ <count
+ value="1">
+ </count>
+ <iterate
+ ifEmpty="false"
+ operator="and">
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
+ </instanceof>
+ </iterate>
+ </and>
+ </with>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.linuxtools.tmf.ui.command.importtracepkg"
+ label="%command.import_trace_package"
+ mnemonic="%command.import_trace_package.mnemonic"
+ style="push"
+ tooltip="%command.import_trace_package.description">
+ <visibleWhen
+ checkEnabled="false">
+ <with
+ variable="selection">
+ <and>
+ <count
+ value="1">
+ </count>
+ <iterate
+ ifEmpty="false"
+ operator="and">
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+ </instanceof>
+ </iterate>
+ </and>
+ </with>
+ </visibleWhen>
+ </command>
<separator
name="org.eclipse.linuxtools.tmf.ui.separator3"
visible="true">
</visibleWhen>
</command>
</menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="toolbar:org.eclipse.linuxtools.tmf.ui.views.filter?after=add_delete">
+ <command
+ commandId="org.eclipse.ui.edit.delete"
+ style="push">
+ </command>
+ </menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="toolbar:org.eclipse.linuxtools.tmf.ui.views.filter?after=edit">
+ <command
+ commandId="org.eclipse.ui.edit.cut"
+ style="push">
+ </command>
+ </menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="toolbar:org.eclipse.linuxtools.tmf.ui.views.filter?after=edit">
+ <command
+ commandId="org.eclipse.ui.edit.copy"
+ style="push">
+ </command>
+ </menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="toolbar:org.eclipse.linuxtools.tmf.ui.views.filter?after=edit">
+ <command
+ commandId="org.eclipse.ui.edit.paste"
+ style="push">
+ </command>
+ </menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="popup:org.eclipse.linuxtools.tmf.ui.views.filter?after=delete">
+ <command
+ commandId="org.eclipse.ui.edit.delete"
+ style="push">
+ </command>
+ </menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="popup:org.eclipse.linuxtools.tmf.ui.views.filter?after=edit">
+ <command
+ commandId="org.eclipse.ui.edit.cut"
+ style="push">
+ </command>
+ </menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="popup:org.eclipse.linuxtools.tmf.ui.views.filter?after=edit">
+ <command
+ commandId="org.eclipse.ui.edit.copy"
+ style="push">
+ </command>
+ </menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="popup:org.eclipse.linuxtools.tmf.ui.views.filter?after=edit">
+ <command
+ commandId="org.eclipse.ui.edit.paste"
+ style="push">
+ </command>
+ </menuContribution>
</extension>
<extension
point="org.eclipse.ui.commands">
id="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files"
name="%command.delete_suppl_files">
</command>
+ <command
+ categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
+ id="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg"
+ name="%command.export_trace_package">
+ </command>
+ <command
+ categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
+ id="org.eclipse.linuxtools.tmf.ui.command.importtracepkg"
+ name="%command.import_trace_package">
+ </command>
<command
categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
description="%command.select_traces.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.exportToText"
+ name="%command.export_to_text">
+ </command>
+ <command
+ categoryId="org.eclipse.ui.category.file"
+ defaultHandler="org.eclipse.linuxtools.internal.tmf.ui.commands.OpenFileHandler"
+ description="%command.OpenFile.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.ImportTraceHandler"
- commandId="org.eclipse.ui.file.import">
- <activeWhen>
- <and>
- <count
- value="1">
- </count>
- <iterate
- ifEmpty="false"
- operator="and">
- <instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
- </instanceof>
- </iterate>
- </and>
- </activeWhen>
- </handler>
<handler
class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RefreshHandler"
commandId="org.eclipse.ui.file.refresh">
</and>
</activeWhen>
</handler>
+ <handler
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ExportTracePackageHandler"
+ commandId="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg">
+ <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.ImportTracePackageHandler"
+ commandId="org.eclipse.linuxtools.tmf.ui.command.importtracepkg">
+ <activeWhen>
+ <and>
+ <count
+ value="1">
+ </count>
+ <iterate
+ operator="and">
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+ </instanceof>
+ </iterate>
+ </and>
+ </activeWhen>
+ </handler>
<handler
class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentSupplementaryFilesHandler"
commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files">
<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">
+ </handler>
+ <handler
+ class="org.eclipse.linuxtools.tmf.ui.views.filter.CopyHandler"
+ commandId="org.eclipse.ui.edit.copy">
<activeWhen>
- <and>
- <count
- value="1">
- </count>
- <iterate
- ifEmpty="false"
- operator="and">
- <instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
- </instanceof>
- </iterate>
- </and>
+ <with
+ variable="activePart">
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.views.filter.FilterView">
+ </instanceof>
+ </with>
+ </activeWhen>
+ </handler>
+ <handler
+ class="org.eclipse.linuxtools.tmf.ui.views.filter.PasteHandler"
+ commandId="org.eclipse.ui.edit.paste">
+ <activeWhen>
+ <with
+ variable="activePart">
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.views.filter.FilterView">
+ </instanceof>
+ </with>
+ </activeWhen>
+ </handler>
+ <handler
+ class="org.eclipse.linuxtools.tmf.ui.views.filter.CutHandler"
+ commandId="org.eclipse.ui.edit.cut">
+ <activeWhen>
+ <with
+ variable="activePart">
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.views.filter.FilterView">
+ </instanceof>
+ </with>
+ </activeWhen>
+ </handler>
+ <handler
+ class="org.eclipse.linuxtools.tmf.ui.views.filter.DeleteHandler"
+ commandId="org.eclipse.ui.edit.delete">
+ <activeWhen>
+ <with
+ variable="activePart">
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.views.filter.FilterView">
+ </instanceof>
+ </with>
</activeWhen>
</handler>
</extension>
</selectionEnablement>
</linkHelper>
</extension>
-
+ <extension
+ point="org.eclipse.ui.exportWizards">
+ <wizard
+ category="org.eclipse.linuxtools.tmf.export.category"
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ExportTracePackageWizard"
+ icon="icons/etool16/export.gif"
+ id="org.eclipse.linuxtools.tmf.ui.trace.export.package.wizard"
+ name="%project.export.wizard.name.tracepkg">
+ </wizard>
+ <category
+ id="org.eclipse.linuxtools.tmf.export.category"
+ name="%project.new.category.name">
+ </category>
+ </extension>
</plugin>