id="org.eclipse.linuxtools.tmf.import.category"
name="%project.new.category.name">
</category>
- <wizard
- category="org.eclipse.linuxtools.tmf.import.category"
- class="org.eclipse.linuxtools.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"
<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">
</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.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">
<handler
class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.BatchImportTraceHandler"
commandId="org.eclipse.linuxtools.tmf.ui.batch_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.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>
+ <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>
<extension point="org.eclipse.ui.bindings">
<key