id="org.eclipse.linuxtools.tmf.ui.views.category"
name="%views.category.name">
</category>
- <view
- allowMultiple="false"
- category="org.eclipse.linuxtools.tmf.ui.views.category"
- class="org.eclipse.linuxtools.tmf.ui.views.events.TmfEventsView"
- icon="icons/eview16/events_view.gif"
- id="org.eclipse.linuxtools.tmf.ui.views.events"
- name="%events.view.name"
- restorable="true">
- </view>
<view
category="org.eclipse.linuxtools.tmf.ui.views.category"
class="org.eclipse.linuxtools.tmf.ui.views.timechart.TimeChartView"
id="org.eclipse.linuxtools.tmf.ui.views.timechart"
name="%timechart.view.name"
restorable="true">
- </view>
+ </view>
<view
allowMultiple="false"
category="org.eclipse.linuxtools.tmf.ui.views.category"
- class="org.eclipse.linuxtools.tmf.ui.views.environment.TmfEnvironmentView"
+ class="org.eclipse.linuxtools.tmf.ui.views.statesystem.TmfStateSystemExplorer"
icon="icons/eview16/events_view.gif"
- id="org.eclipse.linuxtools.tmf.ui.views.environment"
- name="%environment.view.name"
+ id="org.eclipse.linuxtools.tmf.ui.views.ssvisualizer"
+ name="%ssvisualizer.view.name"
restorable="true">
</view>
<view
name="%histogram.view.name"
restorable="true">
</view>
+ <view
+ category="org.eclipse.linuxtools.tmf.ui.views.category"
+ class="org.eclipse.linuxtools.tmf.ui.views.callstack.CallStackView"
+ icon="icons/eview16/callstack_view.gif"
+ id="org.eclipse.linuxtools.tmf.ui.views.callstack"
+ name="%callstack.view.name"
+ restorable="true">
+ </view>
+ <view
+ allowMultiple="false"
+ category="org.eclipse.linuxtools.tmf.ui.views.category"
+ class="org.eclipse.linuxtools.tmf.ui.views.synchronization.TmfSynchronizationView"
+ icon="icons/eview16/synced.gif"
+ id="org.eclipse.linuxtools.tmf.ui.views.synchronization"
+ name="%synchronization.view.name"
+ restorable="true">
+ </view>
</extension>
<extension
point="org.eclipse.ui.editors">
contentTypeId="org.eclipse.linuxtools.tmf.ui.content-type.trace">
</contentTypeBinding>
</editor>
- <editor
- class="org.eclipse.linuxtools.tmf.ui.editors.EventsViewEditor"
- default="false"
- icon="icons/eview16/events_view.gif"
- id="org.eclipse.linuxtools.tmf.ui.editors.eventsView"
- name="%eventsview.editor.name">
- <contentTypeBinding
- contentTypeId="org.eclipse.linuxtools.tmf.ui.content-type.trace">
- </contentTypeBinding>
- </editor>
</extension>
<extension
point="org.eclipse.ui.newWizards">
</category>
<wizard
category="org.eclipse.linuxtools.tmf.import.category"
- class="org.eclipse.linuxtools.tmf.ui.project.wizards.ImportTraceWizard"
+ 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"
+ 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"
+ icon="icons/etool16/import.gif"
+ id="org.eclipse.linuxtools.tmf.ui.trace.import.package.wizard"
+ name="%project.import.wizard.name.tracepkg">
+ </wizard>
</extension>
<extension
id="org.eclipse.linuxtools.tmf.project.nature"
menuGroupId="org.eclipse.linuxtools.tmf.ui.views.ui.wizards.menuGroupId"
type="new"
wizardId="org.eclipse.linuxtools.tmf.ui.views.ui.wizards.newProject">
- <enablement></enablement>
+ <enablement>
+ <with variable="activeWorkbenchWindow.activePerspective">
+ <equals
+ value="org.eclipse.linuxtools.tmf.ui.perspective">
+ </equals>
+ </with>
+ </enablement>
</commonWizard>
</navigatorContent>
</extension>
<contentExtension
pattern="org.eclipse.ui.navigator.resources.filters.*">
</contentExtension>
+ <contentExtension
+ pattern="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper">
+ </contentExtension>
</includes>
</viewerContentBinding>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
- locationURI="menu:org.eclipse.ui.navigator.ProjectExplorer">
- <command
- commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers"
- id="org.eclipse.linuxtools.tmf.ui.menu.managecustomparsers"
- style="push">
- </command>
- </menuContribution>
- <menuContribution
- allPopups="false"
- locationURI="toolbar:org.eclipse.ui.navigator.ProjectExplorer">
+ locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<command
- commandId="org.eclipse.linuxtools.tmf.ui.command.clear_views"
- icon="icons/etool16/clear.gif"
- label="%command.clear_views"
- mnemonic="%command.clear_views.mnemonic"
+ commandId="org.eclipse.ui.file.import"
+ label="%command.import"
+ mnemonic="%command.import.mnemonic"
style="push">
<visibleWhen
checkEnabled="false">
value="1">
</count>
<iterate
- ifEmpty="false"
operator="and">
- <or>
- <and>
- <instanceof
- value="org.eclipse.core.resources.IProject">
- </instanceof>
- <test
- property="org.eclipse.core.resources.projectNature"
- value="org.eclipse.linuxtools.tmf.project.nature">
- </test>
- </and>
- <instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement">
- </instanceof>
- </or>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+ </instanceof>
</iterate>
</with>
</visibleWhen>
</command>
- </menuContribution>
- <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.batch_import"
+ label="%command.batch_import"
+ mnemonic="%command.batch_import.mnemonic"
style="push">
<visibleWhen
checkEnabled="false">
<instanceof
value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
</instanceof>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfAnalysisOutputElement">
+ </instanceof>
</or>
</iterate>
</with>
</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">
</separator>
+ <command
+ commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers"
+ icon="icons/etool16/customparser_wizard.gif"
+ id="org.eclipse.linuxtools.tmf.ui.menu.managecustomparsers"
+ 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>
<menu
label="%command.select_trace_type"
mnemonic="%command.select_trace_type.mnemonic"
class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeContributionItem"
id="org.eclipse.linuxtools.tmf.ui.command.select_trace_type.dynamic">
</dynamic>
+ <separator
+ name="org.eclipse.linuxtools.tmf.ui.separator6"
+ visible="true">
+ </separator>
+ <command
+ commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers"
+ icon="icons/etool16/customparser_wizard.gif"
+ style="push">
+ </command>
<visibleWhen
checkEnabled="false">
<with
</with>
</visibleWhen>
</command>
+ <command
+ commandId="org.eclipse.linuxtools.tmf.ui.command.synchronize_traces"
+ icon="icons/obj16/add_obj.gif"
+ label="%command.synchronize_traces"
+ mnemonic="%command.synchronize_traces.mnemonic"
+ style="push"
+ tooltip="%commands.synchronize_traces.description">
+ <visibleWhen
+ checkEnabled="false">
+ <with
+ variable="selection">
+ <count
+ value="1">
+ </count>
+ <iterate
+ ifEmpty="false"
+ operator="and">
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
+ </instanceof>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
<separator
name="org.eclipse.linuxtools.tmf.ui.separator5"
visible="true">
</visibleWhen>
</command>
<command
- commandId="org.eclipse.linuxtools.tmf.ui.command.clear_views"
- icon="icons/etool16/clear.gif"
- label="%command.clear_views"
- mnemonic="%command.clear_views.mnemonic"
- style="push">
+ commandId="org.eclipse.linuxtools.tmf.ui.command.analysis_help"
+ icon="icons/dlcl16/open.gif"
+ label="%command.analysis_help"
+ mnemonic="%command.analysis_help.mnemonic"
+ style="push"
+ tooltip="%command.analysis_help.description">
<visibleWhen
checkEnabled="false">
<with
<iterate
ifEmpty="false"
operator="and">
- <and>
- <instanceof
- value="org.eclipse.core.resources.IProject">
- </instanceof>
- <test
- property="org.eclipse.core.resources.projectNature"
- value="org.eclipse.linuxtools.tmf.project.nature">
- </test>
- </and>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfAnalysisElement">
+ </instanceof>
</iterate>
</with>
</visibleWhen>
id="org.eclipse.linuxtools.tmf.ui.command.new_experiment"
name="%command.new_experiment">
</command>
+ <command
+ categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
+ description="%command.analysis_help.description"
+ id="org.eclipse.linuxtools.tmf.ui.command.analysis_help"
+ name="%command.analysis_help">
+ </command>
<command
categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
description="%command.select_trace_type.description"
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"
</command>
<command
categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
- description="%command.clear_views.description"
- id="org.eclipse.linuxtools.tmf.ui.command.clear_views"
- name="%command.clear_views">
+ description="%command.synchronize_traces.description"
+ id="org.eclipse.linuxtools.tmf.ui.command.synchronize_traces"
+ name="%command.synchronize_traces">
</command>
<category
description="%commands.parser.category.description"
id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDRight"
name="%commands.uml2sd.scrollright">
</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.exportToText"
+ name="%command.export_to_text">
+ </command>
</extension>
<extension
point="org.eclipse.ui.handlers">
</and>
</activeWhen>
</handler>
+ <handler
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenAnalysisHelpHandler"
+ commandId="org.eclipse.linuxtools.tmf.ui.command.analysis_help">
+ <activeWhen>
+ <and>
+ <count
+ value="1">
+ </count>
+ <iterate
+ operator="and">
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfAnalysisElement">
+ </instanceof>
+ </iterate>
+ </and>
+ </activeWhen>
+ </handler>
+ <handler
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenAnalysisOutputHandler"
+ commandId="org.eclipse.ui.navigate.openResource">
+ <activeWhen>
+ <and>
+ <count
+ value="1">
+ </count>
+ <iterate
+ operator="and">
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfAnalysisOutputElement">
+ </instanceof>
+ </iterate>
+ </and>
+ </activeWhen>
+ </handler>
<handler
class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyTraceHandler"
commandId="org.eclipse.ui.edit.copy">
</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">
</activeWhen>
</handler>
<handler
- class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.ClearViewsHandler"
- commandId="org.eclipse.linuxtools.tmf.ui.command.clear_views">
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SynchronizeTracesHandler"
+ commandId="org.eclipse.linuxtools.tmf.ui.command.synchronize_traces">
+ <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.commands.ManageCustomParsersCommandHandler"
class="org.eclipse.linuxtools.internal.tmf.ui.editors.handlers.AddBookmarkHandler"
commandId="org.eclipse.ui.edit.addBookmark">
<activeWhen>
- <with
- variable="activeEditor">
- <instanceof
- value="org.eclipse.linuxtools.tmf.ui.editors.TmfEventsEditor">
- </instanceof>
- </with>
+ <and>
+ <with
+ variable="activePart">
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.editors.TmfEventsEditor">
+ </instanceof>
+ </with>
+ <count
+ value="1">
+ </count>
+ <iterate
+ ifEmpty="false"
+ operator="and">
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.core.event.ITmfEvent">
+ </instanceof>
+ </iterate>
+ </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">
+ </handler>
</extension>
<extension point="org.eclipse.ui.bindings">
<key
class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.TracePropertyTester"
id="org.eclipse.linuxtools.tmf.ui.tracePropertyTester"
namespace="org.eclipse.linuxtools.tmf.ui"
- properties="isExperimentTrace,hasSupplementaryFiles"
+ properties="isExperimentTrace,hasSupplementaryFiles,traceType"
type="org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement">
</propertyTester>
</extension>
trace_type="org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfTrace">
</type>
</extension>
-
+ <extension
+ point="org.eclipse.ui.navigator.linkHelper">
+ <linkHelper
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper"
+ id="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper">
+ <editorInputEnablement>
+ <instanceof value="org.eclipse.ui.IFileEditorInput"/>
+ </editorInputEnablement>
+ <selectionEnablement>
+ <or>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
+ </instanceof>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
+ </instanceof>
+ </or>
+ </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>