</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>
</enablement>
</commonWizard>
+ <commonSorter
+ class="org.eclipse.linuxtools.tmf.ui.project.model.TmfViewerSorter"
+ id="org.eclipse.linuxtools.tmf.ui.navigator.viewerSorter">
+ </commonSorter>
</navigatorContent>
</extension>
<extension
</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>
+ <separator
+ name="org.eclipse.linuxtools.tmf.ui.separator0"
+ visible="true">
+ </separator>
<command
- commandId="org.eclipse.linuxtools.tmf.ui.batch_import"
- label="%command.batch_import"
- mnemonic="%command.batch_import.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
value="1">
</count>
<iterate
- operator="and">
- <instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
- </instanceof>
+ ifEmpty="false"
+ operator="or">
+ <or>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+ </instanceof>
+ </or>
</iterate>
</with>
</visibleWhen>
</command>
- <separator
- name="org.eclipse.linuxtools.tmf.ui.separator0"
- visible="true">
- </separator>
<command
commandId="org.eclipse.ui.edit.copy"
disabledIcon="icons/dtool16/copy_edit.gif"
<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>
<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.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"
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">
</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">
</activeWhen>
</handler>
<handler
- class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceSupplementaryFilesHandler"
- commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files">
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteFolderHandler"
+ commandId="org.eclipse.ui.edit.delete">
<activeWhen>
- <and>
- <count
- value="1">
- </count>
- <iterate
- operator="and">
+ <iterate
+ ifEmpty="false"
+ operator="and">
+ <not>
<instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTracesFolder">
</instanceof>
- </iterate>
- </and>
+ </not>
+ <instanceof
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+ </instanceof>
+ </iterate>
</activeWhen>
</handler>
<handler
- class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ExportTracePackageHandler"
- commandId="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg">
- </handler>
- <handler
- class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ImportTracePackageHandler"
- commandId="org.eclipse.linuxtools.tmf.ui.command.importtracepkg">
+ 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
- operator="and">
+ ifEmpty="false"
+ operator="or">
<instanceof
value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
</instanceof>
</activeWhen>
</handler>
<handler
- class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentSupplementaryFilesHandler"
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceSupplementaryFilesHandler"
commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files">
+ </handler>
+ <handler
+ class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ExportTracePackageHandler"
+ commandId="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg">
+ </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
<iterate
operator="and">
<instanceof
- value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
+ value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
</instanceof>
</iterate>
</and>
</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">