id="org.eclipse.linuxtools.tmf.ui.views.colors"
name="%colors.view.name"
restorable="true">
- </view>
+ </view>
<view
allowMultiple="false"
category="org.eclipse.linuxtools.tmf.ui.views.category"
project="true">
<description>
%project.new.wizard.description
-
+
</description>
</wizard>
<wizard
</with>
</enablement>
</commonWizard>
+ <commonSorter
+ class="org.eclipse.linuxtools.tmf.ui.project.model.TmfViewerSorter"
+ id="org.eclipse.linuxtools.tmf.ui.navigator.viewerSorter">
+ </commonSorter>
</navigatorContent>
</extension>
<extension
<extension
point="org.eclipse.ui.menus">
<menuContribution
- locationURI="popup:org.eclipse.ui.popup.any?after=additions">
+ allPopups="false"
+ locationURI="popup:org.eclipse.ui.popup.any?after=group.open">
<command
commandId="org.eclipse.linuxtools.tmf.ui.openFile"
label="%command.OpenFile.label"
</with>
</visibleWhen>
</command>
+ <command
+ commandId="org.eclipse.ui.navigate.openResource"
+ disabledIcon="/icons/dlcl16/open.gif"
+ icon="/icons/elcl16/open.gif"
+ label="%command.open"
+ mnemonic="%command.open.mnemonic"
+ style="push">
+ <visibleWhen
+ checkEnabled="false">
+ <with
+ variable="selection">
+ <count
+ value="1">
+ </count>
+ <iterate
+ ifEmpty="false"
+ operator="and">
+ <or>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
+ </instanceof>
+ <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>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ <menuContribution
+ locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<separator
name="org.eclipse.linuxtools.tmf.ui.separator1"
visible="true">
visible="true">
</separator>
<command
- commandId="org.eclipse.ui.navigate.openResource"
- disabledIcon="/icons/dlcl16/open.gif"
- icon="/icons/elcl16/open.gif"
- label="%command.open"
- mnemonic="%command.open.mnemonic"
- style="push">
+ commandId="org.eclipse.linuxtools.tmf.ui.command.new_folder"
+ icon="icons/etool16/newfolder_wiz.gif"
+ label="%command.new_folder"
+ mnemonic="%command.new_folder.mnemonic"
+ style="push"
+ tooltip="%command.new_folder.description">
<visibleWhen
checkEnabled="false">
<with
</count>
<iterate
ifEmpty="false"
- operator="and">
+ operator="or">
<or>
<instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
- </instanceof>
- <instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
- </instanceof>
- <instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfAnalysisOutputElement">
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
</instanceof>
</or>
</iterate>
<instanceof
value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
</instanceof>
+ <and>
+ <not>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTracesFolder">
+ </instanceof>
+ </not>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+ </instanceof>
+ </and>
</or>
</iterate>
</with>
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>
- </or>
- </iterate>
+ </iterate>
+ <iterate
+ ifEmpty="false"
+ operator="and">
+ <and>
+ <not>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTracesFolder">
+ </instanceof>
+ </not>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+ </instanceof>
+ </and>
+ </iterate>
+ </or>
</with>
</visibleWhen>
</command>
id="org.eclipse.linuxtools.tmf.ui.commands.category"
name="%commands.category.name">
</category>
+ <command
+ categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
+ description="%command.new_folder.description"
+ id="org.eclipse.linuxtools.tmf.ui.command.new_folder"
+ name="%command.new_folder">
+ </command>
<command
categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
description="%command.new_experiment.description"
</command>
<category
description="%commands.uml2sd.category.name"
- id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category"
+ id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category"
name="%commands.uml2sd.category.name">
</category>
<command
description="%commands.uml2sd.showstart.description"
id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart"
name="%commands.uml2sd.showstart">
- </command>
+ </command>
<command
categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category"
description="%commands.uml2sd.scrollup.description"
</and>
</activeWhen>
</handler>
+ <handler
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameFolderHandler"
+ commandId="org.eclipse.ui.edit.rename">
+ <activeWhen>
+ <and>
+ <count
+ value="1">
+ </count>
+ <iterate
+ operator="and">
+ <and>
+ <not>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTracesFolder">
+ </instanceof>
+ </not>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+ </instanceof>
+ </and>
+ </iterate>
+ </and>
+ </activeWhen>
+ </handler>
<handler
class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceHandler"
commandId="org.eclipse.ui.edit.delete">
</iterate>
</activeWhen>
</handler>
+ <handler
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteFolderHandler"
+ commandId="org.eclipse.ui.edit.delete">
+ <activeWhen>
+ <iterate
+ ifEmpty="false"
+ operator="and">
+ <not>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTracesFolder">
+ </instanceof>
+ </not>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+ </instanceof>
+ </iterate>
+ </activeWhen>
+ </handler>
+ <handler
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.NewFolderHandler"
+ commandId="org.eclipse.linuxtools.tmf.ui.command.new_folder">
+ <activeWhen>
+ <and>
+ <count
+ value="1">
+ </count>
+ <iterate
+ ifEmpty="false"
+ operator="or">
+ <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.DeleteTraceSupplementaryFilesHandler"
commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files">
contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"
commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.GoToMessage"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
- </key>
+ </key>
<key
sequence="SHIFT+ALT+END"
contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"
commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeEnd"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
- </key>
+ </key>
<key
sequence="SHIFT+ALT+HOME"
contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"
commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
- </key>
+ </key>
<key
sequence="SHIFT+ALT+ARROW_UP"
contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"
commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDUp"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
- </key>
+ </key>
<key
sequence="SHIFT+ALT+ARROW_DOWN"
contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"
</extension>
<extension
point="org.eclipse.linuxtools.tmf.ui.tracetypeui">
- <type
- icon="icons/eview16/events_view.gif"
- tracetype="org.eclipse.linuxtools.tmf.ui.type.ctf">
- </type>
<experiment
tracetype="org.eclipse.linuxtools.tmf.core.experiment.generic"
icon="icons/elcl16/experiment.gif">