From: Alexandre Montplaisir Date: Wed, 24 Sep 2014 19:59:34 +0000 (-0400) Subject: Move RCP plugins to the Trace Compass namespace X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=a6140f0197031120ab848ddb731e9a2c7a7123bf;p=deliverable%2Ftracecompass.git Move RCP plugins to the Trace Compass namespace Change-Id: I99b76ca059ea50ecb341b9928f5b4e992e9004e6 Signed-off-by: Alexandre Montplaisir --- diff --git a/org.eclipse.linuxtools.tracing.rcp.branding.feature/.project b/org.eclipse.linuxtools.tracing.rcp.branding.feature/.project deleted file mode 100644 index 57a64b23cb..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding.feature/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - org.eclipse.linuxtools.tracing.rcp.branding.feature - - - - - - org.eclipse.pde.FeatureBuilder - - - - - - org.eclipse.pde.FeatureNature - - diff --git a/org.eclipse.linuxtools.tracing.rcp.branding.feature/.settings/org.eclipse.core.resources.prefs b/org.eclipse.linuxtools.tracing.rcp.branding.feature/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c0203..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding.feature/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/org.eclipse.linuxtools.tracing.rcp.branding.feature/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.linuxtools.tracing.rcp.branding.feature/.settings/org.eclipse.core.runtime.prefs deleted file mode 100644 index 5a0ad22d2a..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding.feature/.settings/org.eclipse.core.runtime.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -line.separator=\n diff --git a/org.eclipse.linuxtools.tracing.rcp.branding.feature/build.properties b/org.eclipse.linuxtools.tracing.rcp.branding.feature/build.properties deleted file mode 100644 index 988d4c1b15..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding.feature/build.properties +++ /dev/null @@ -1,14 +0,0 @@ -############################################################################### -# Copyright (c) 2014 Ericsson -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Ericsson - Initial API and implementation -############################################################################### -bin.includes = feature.xml,\ - feature.properties,\ - p2.inf diff --git a/org.eclipse.linuxtools.tracing.rcp.branding.feature/feature.properties b/org.eclipse.linuxtools.tracing.rcp.branding.feature/feature.properties deleted file mode 100644 index 8954bb0ef8..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding.feature/feature.properties +++ /dev/null @@ -1,20 +0,0 @@ -############################################################################### -# Copyright (c) 2013 Ericsson -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Bernd Hufmann - Initial API and implementation -############################################################################### - -featureName=Linux Tools Trace Viewer Branding Feature - -description=Feature provides the Trace Viewer branding information. - -featureProvider=Eclipse Linux Tools - -copyright=Copyright 2014 Ericsson - diff --git a/org.eclipse.linuxtools.tracing.rcp.branding.feature/feature.xml b/org.eclipse.linuxtools.tracing.rcp.branding.feature/feature.xml deleted file mode 100644 index 9be21bce41..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding.feature/feature.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - %description - - - - %copyright - - - - %license - - - - - - - - - diff --git a/org.eclipse.linuxtools.tracing.rcp.branding.feature/p2.inf b/org.eclipse.linuxtools.tracing.rcp.branding.feature/p2.inf deleted file mode 100644 index 5246a0c824..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding.feature/p2.inf +++ /dev/null @@ -1,3 +0,0 @@ -instructions.configure=\ -org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/linuxtools/updates-nightly,type:0,name:Linux Tools,enabled:false); \ -org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/linuxtools/updates-nightly,type:1,name:Linux Tools,enabled:false); diff --git a/org.eclipse.linuxtools.tracing.rcp.branding.feature/pom.xml b/org.eclipse.linuxtools.tracing.rcp.branding.feature/pom.xml deleted file mode 100644 index ab760f3d7f..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding.feature/pom.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - 4.0.0 - - - org.eclipse.tracecompass - org.eclipse.tracecompass - 3.2.0-SNAPSHOT - - - org.eclipse.linuxtools.tracing.rcp.branding.feature - 1.1.0-SNAPSHOT - eclipse-feature - - Linux Tools Trace Viewer Branding Feature - - org.eclipse.linuxtools.tracing.rcp.branding - - - - - org.eclipse.tycho.extras - tycho-source-feature-plugin - ${tycho-version} - - - source-feature - package - - source-feature - - - - - - - - - - - org.eclipse.tycho - tycho-p2-plugin - ${tycho-version} - - - attached-p2-metadata - package - - p2-metadata - - - - - - - - diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/.classpath b/org.eclipse.linuxtools.tracing.rcp.branding/.classpath deleted file mode 100644 index 14129a12bf..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/.classpath +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/.project b/org.eclipse.linuxtools.tracing.rcp.branding/.project deleted file mode 100644 index 52c2c73f55..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - org.eclipse.linuxtools.tracing.rcp.branding - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/.settings/org.eclipse.core.resources.prefs b/org.eclipse.linuxtools.tracing.rcp.branding/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c0203..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.linuxtools.tracing.rcp.branding/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index f42de363af..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/.settings/org.eclipse.m2e.core.prefs b/org.eclipse.linuxtools.tracing.rcp.branding/.settings/org.eclipse.m2e.core.prefs deleted file mode 100644 index f897a7f1cb..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/.settings/org.eclipse.m2e.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -activeProfiles= -eclipse.preferences.version=1 -resolveWorkspaceProjects=true -version=1 diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/META-INF/MANIFEST.MF b/org.eclipse.linuxtools.tracing.rcp.branding/META-INF/MANIFEST.MF deleted file mode 100644 index a0e4de5b35..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/META-INF/MANIFEST.MF +++ /dev/null @@ -1,11 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-Vendor: %Bundle-Vendor -Bundle-Version: 1.1.0.qualifier -Bundle-Localization: plugin -Bundle-SymbolicName: org.eclipse.linuxtools.tracing.rcp.branding;singleton:=true -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 -Eclipse-BundleShape: dir -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.ui.intro diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/about.html b/org.eclipse.linuxtools.tracing.rcp.branding/about.html deleted file mode 100644 index a01ee844fb..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

About This Content

- -

June 5, 2006

-

License

- -

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

- -

If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

- - - \ No newline at end of file diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/about.ini b/org.eclipse.linuxtools.tracing.rcp.branding/about.ini deleted file mode 100644 index 6443de87f7..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/about.ini +++ /dev/null @@ -1,32 +0,0 @@ -# about.ini -# contains information about a feature -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# "%key" are externalized strings defined in about.properties -# This file does not need to be translated. - -# Property "aboutText" contains blurb for "About" dialog (translated) -aboutText=%blurb - -# Property "windowImage" contains path to window icon (16x16) -# needed for primary features only - -# Property "featureImage" contains path to feature image (32x32) -featureImage=icons/alt_window_32.gif - -# Property "aboutImage" contains path to product image (500x330 or 115x164) -# needed for primary features only -aboutImage=icons/alt_about.gif - -# Property "appName" contains name of the application (translated) -# needed for primary features only - -# Property "welcomePage" contains path to welcome page (special XML-based format) -# optional - -# Property "welcomePerspective" contains the id of the perspective in which the -# welcome page is to be opened. -# optional - - - - diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/about.properties b/org.eclipse.linuxtools.tracing.rcp.branding/about.properties deleted file mode 100644 index 16366197d4..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/about.properties +++ /dev/null @@ -1,28 +0,0 @@ -############################################################################### -# Copyright (c) 2013 Ericsson -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Bernd Hufmann - initial API and implementation -############################################################################### -# about.properties -# contains externalized strings for about.ini -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# fill-ins are supplied by about.mappings -# This file should be translated. - -blurb=Linux Tools Trace Viewer\n\ -\n\ -Version: {featureVersion}\n\ -\n\ -Copyright (c) 2014 Ericsson\n\ -\n\ -All rights reserved. This program and the accompanying materials are\n\ -made available under the terms of the Eclipse Public License v1.0 which\n\ -accompanies this distribution, and is available at\n\ -http://www.eclipse.org/legal/epl-v10.html\n\ - -#Build id: {0}\n\ \ No newline at end of file diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/build.properties b/org.eclipse.linuxtools.tracing.rcp.branding/build.properties deleted file mode 100644 index 29f7777446..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/build.properties +++ /dev/null @@ -1,22 +0,0 @@ -############################################################################### -# Copyright (c) 2014 Ericsson -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Ericsson - Initial API and implementation -############################################################################### -bin.includes = .,\ - plugin.xml,\ - META-INF/,\ - plugin.properties,\ - icons/,\ - about.html,\ - about.ini,\ - about.properties,\ - plugin_customization.ini,\ - help_data.xml -src.includes = about.html diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/help_data.xml b/org.eclipse.linuxtools.tracing.rcp.branding/help_data.xml deleted file mode 100644 index 0f9ff99aa4..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/help_data.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/icons/alt_about.gif b/org.eclipse.linuxtools.tracing.rcp.branding/icons/alt_about.gif deleted file mode 100644 index 20d9ad2d98..0000000000 Binary files a/org.eclipse.linuxtools.tracing.rcp.branding/icons/alt_about.gif and /dev/null differ diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/icons/alt_window_16.gif b/org.eclipse.linuxtools.tracing.rcp.branding/icons/alt_window_16.gif deleted file mode 100644 index 05626b17d8..0000000000 Binary files a/org.eclipse.linuxtools.tracing.rcp.branding/icons/alt_window_16.gif and /dev/null differ diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/icons/alt_window_32.gif b/org.eclipse.linuxtools.tracing.rcp.branding/icons/alt_window_32.gif deleted file mode 100644 index b432f88339..0000000000 Binary files a/org.eclipse.linuxtools.tracing.rcp.branding/icons/alt_window_32.gif and /dev/null differ diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/plugin.properties b/org.eclipse.linuxtools.tracing.rcp.branding/plugin.properties deleted file mode 100644 index 5ee0ff7702..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/plugin.properties +++ /dev/null @@ -1,17 +0,0 @@ -############################################################################### -# Copyright (c) 2013 Ericsson -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Bernd Hufmann - Initial API and implementation -############################################################################### - -#Properties file for org.eclipse.linuxtools.tracing.rcp.branding -Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = Linux Tools Trace Viewer Branding Plug-in - - diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/plugin.xml b/org.eclipse.linuxtools.tracing.rcp.branding/plugin.xml deleted file mode 100644 index f08574f582..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/plugin.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/plugin_customization.ini b/org.eclipse.linuxtools.tracing.rcp.branding/plugin_customization.ini deleted file mode 100644 index 00920e3859..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/plugin_customization.ini +++ /dev/null @@ -1,4 +0,0 @@ -org.eclipse.e4.ui.css.swt.theme/themeid=org.eclipse.e4.ui.css.theme.e4_default -org.eclipse.ui/SHOW_PROGRESS_ON_STARTUP = false -org.eclipse.ui/defaultPerspectiveId=org.eclipse.linuxtools.lttng2.kernel.ui.perspective -org.eclipse.help/HELP_DATA=help_data.xml \ No newline at end of file diff --git a/org.eclipse.linuxtools.tracing.rcp.branding/pom.xml b/org.eclipse.linuxtools.tracing.rcp.branding/pom.xml deleted file mode 100644 index 38f6e34b4f..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.branding/pom.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - 4.0.0 - - 1.1.0-SNAPSHOT - org.eclipse.linuxtools.tracing.rcp.branding - eclipse-plugin - Linux Tools Trace Viewer Branding plug-in - - org.eclipse.linuxtools.tracing.rcp.branding - - - org.eclipse.tracecompass - org.eclipse.tracecompass - 3.2.0-SNAPSHOT - - - diff --git a/org.eclipse.linuxtools.tracing.rcp.help/.empty.dtd b/org.eclipse.linuxtools.tracing.rcp.help/.empty.dtd deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/org.eclipse.linuxtools.tracing.rcp.help/.externalToolBuilders/RCP Help Builder.launch b/org.eclipse.linuxtools.tracing.rcp.help/.externalToolBuilders/RCP Help Builder.launch deleted file mode 100644 index 58338d6555..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/.externalToolBuilders/RCP Help Builder.launch +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.linuxtools.tracing.rcp.help/.project b/org.eclipse.linuxtools.tracing.rcp.help/.project deleted file mode 100644 index 420a0cc602..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/.project +++ /dev/null @@ -1,36 +0,0 @@ - - - org.eclipse.linuxtools.tracing.rcp.help - - - - - - org.eclipse.ui.externaltools.ExternalToolBuilder - clean,full,incremental, - - - LaunchConfigHandle - <project>/.externalToolBuilders/RCP Help Builder.launch - - - incclean - true - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - - diff --git a/org.eclipse.linuxtools.tracing.rcp.help/.settings/org.eclipse.core.resources.prefs b/org.eclipse.linuxtools.tracing.rcp.help/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c0203..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/org.eclipse.linuxtools.tracing.rcp.help/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.linuxtools.tracing.rcp.help/.settings/org.eclipse.core.runtime.prefs deleted file mode 100644 index 5a0ad22d2a..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/.settings/org.eclipse.core.runtime.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -line.separator=\n diff --git a/org.eclipse.linuxtools.tracing.rcp.help/META-INF/MANIFEST.MF b/org.eclipse.linuxtools.tracing.rcp.help/META-INF/MANIFEST.MF deleted file mode 100644 index fd9053a3f9..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/META-INF/MANIFEST.MF +++ /dev/null @@ -1,8 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-Vendor: %Bundle-Vendor -Bundle-Version: 1.1.0.qualifier -Bundle-Localization: plugin -Bundle-SymbolicName: org.eclipse.linuxtools.tracing.rcp.help;singleton:=true -Require-Bundle: org.eclipse.help diff --git a/org.eclipse.linuxtools.tracing.rcp.help/README b/org.eclipse.linuxtools.tracing.rcp.help/README deleted file mode 100644 index 1729158783..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/README +++ /dev/null @@ -1,19 +0,0 @@ -This describes how to build the documentation found in the o.e.l.tracing.rcp.help -plugin. - - -Your Eclipse environment first needs to have the "Mylyn Wikitext" plugin -installed. It can be found in the default Eclipse repository, under -"Collaboration". - -Once that is installed, you should be able to use the manual Eclipse builder to -generate the doc : select the tracing.rcp.help plugin and choose, in the top-menu, -"Project -> Build Project". - -It uses the build.xml Ant script, but it's recommended to run it from within -Eclipse, since the builder will pass some environment variables that the script -needs. - -You might get a warning from build.properties because of a missing file. This -file gets generated with the rest of the doc, so once you have run these steps -(and refreshed the project if needed), the warning should disappear. diff --git a/org.eclipse.linuxtools.tracing.rcp.help/about.html b/org.eclipse.linuxtools.tracing.rcp.help/about.html deleted file mode 100644 index c258ef55d8..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

About This Content

- -

June 5, 2006

-

License

- -

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

- -

If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

- - - \ No newline at end of file diff --git a/org.eclipse.linuxtools.tracing.rcp.help/book.css b/org.eclipse.linuxtools.tracing.rcp.help/book.css deleted file mode 100644 index 797473964a..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/book.css +++ /dev/null @@ -1,59 +0,0 @@ -/* following font face declarations need to be removed for DBCS */ - - -body, h1, h2, h3, h4, p, table, td, caption, th, ul, ol, dl, li, dd, dt {font-family: Arial, sans-serif; color: #000000} -pre { font-family: Courier, monospace} - -/* end font face declarations */ - -/* following font size declarations should be OK for DBCS */ -body, h1, h2, h3, h4, p, table, td, caption, th, ul, ol, dl, li, dd, dt {font-size: 12pt; } -pre { font-size: 12pt} - -/* end font size declarations */ - -body { background: #FFFFFF} -h1 { font-size: 18pt; margin-top: 5; margin-bottom: 1 } -h2 { font-size: 14pt; margin-top: 25; margin-bottom: 3 } -h3 { font-size: 11pt; margin-top: 20; margin-bottom: 3 } -h4 { font-size: 10pt; margin-top: 20; margin-bottom: 3; font-style: italic } -h5 { font size: 13.5pt; } -p { font-size: 12pt; } -pre { margin-left: 6; font-size: 9pt } - -a:link { color: #006699 } -a:visited { color: #996699 } -a:hover { color: #006699 } - -ul { margin-top: 0; margin-bottom: 10 } -li { margin-top: 0; margin-bottom: 0 } -li p { margin-top: 0; margin-bottom: 0 } -ol { margin-top: 0; margin-bottom: 10 } -dl { margin-top: 0; margin-bottom: 10 } -dt { margin-top: 0; margin-bottom: 0; font-weight: bold } -dd { margin-top: 0; margin-bottom: 0 } -strong { font-weight: bold} -em { font-style: italic} -var { font-style: italic} -div.revision { border-left-style: solid; border-left-width: thin; - border-left-color: #7B68EE; padding-left:5 } -th { font-weight: bold } -.hidden { - display: none; -} - -/* Mike Behm's addition to the style sheet */ -.userinput { font-family: monospace; } -.guitab, .important, .guibutton, .selectblue, .guimenu, .guilabel, -.notetitle { - color: #000000; - font-family: helvetica, arial, sans-serif; - font-weight: bold; - } -div.linux {display:none;} -.firsterm {font-style:italic;} - -.typewriter {font-family:monospace;} -.bold {font-weight:600;} -.linethrough {text-decoration: line-through;} -.underline {text-decoration: underline;} diff --git a/org.eclipse.linuxtools.tracing.rcp.help/build.properties b/org.eclipse.linuxtools.tracing.rcp.help/build.properties deleted file mode 100644 index b5da501cb9..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/build.properties +++ /dev/null @@ -1,21 +0,0 @@ -############################################################################### -# Copyright (c) 2013 Ericsson -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Ericsson - Initial API and implementation -############################################################################### - -bin.includes = plugin.xml,\ - META-INF/,\ - about.html,\ - plugin.properties,\ - book.css,\ - doc/ -jars.extra.classpath = platform:/plugin/org.eclipse.mylyn.wikitext.core,\ - platform:/plugin/org.eclipse.mylyn.wikitext.mediawiki.core -src.includes = about.html diff --git a/org.eclipse.linuxtools.tracing.rcp.help/build.xml b/org.eclipse.linuxtools.tracing.rcp.help/build.xml deleted file mode 100644 index 9f4b956867..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/build.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - Generate Eclipse help content for the Linux Tools Trace Viewer user guide - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -= Updating This Document = - -This document is maintained in a collaborative wiki. If you wish to update or modify this document please visit -http://wiki.eclipse.org/Linux_Tools_Project/LTTng2/User_Guide. - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.linuxtools.tracing.rcp.help/doc/.gitignore b/org.eclipse.linuxtools.tracing.rcp.help/doc/.gitignore deleted file mode 100644 index 28d48547c4..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/doc/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.html -*.xml diff --git a/org.eclipse.linuxtools.tracing.rcp.help/doc/User-Guide.mediawiki b/org.eclipse.linuxtools.tracing.rcp.help/doc/User-Guide.mediawiki deleted file mode 100644 index 35dcb41bf7..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/doc/User-Guide.mediawiki +++ /dev/null @@ -1,41 +0,0 @@ -= Overview = -The Linux Tools Trace Viewer is a stand-alone application based on Eclipse's -Rich Client Platform (RCP). The purpose of this is to provide a lightweight -application to view and analyze traces. It includes all TMF (Tracing and -Monitoring Framework) features, as well as all features from the LTTng (Linux -Tracing Toolkit next generation) Eclipse integration, which are provided by the -Linux Tools Project. - -= Getting Started = -To start the Linux Tools Trace Viewer, go to the directory where the Trace -Viewer is installed and then run the application named '''traceViewer'''. -During startup, the Trace Viewer will create, if necessary, an Eclipse workspace -in the user's home directory with the name ''.traceviewer''. It also creates, if -needed, a default tracing project called ''Tracing''. - -Now the application can be used as described in the User Guide for Linux Tools -LTTng integration (see section [[#References | References]]). - -= Opening a Trace = -To open a trace, click on the '''File''' menu and select '''Open Trace...'''. -A new dialog will show for selecting a trace to open. Select a trace file -and then click on '''OK'''. Note that for traces that are directories -(such as Common Trace Format (CTF) traces) any file in the trace directory can -be selected to open the trace. Now, the trace viewer's auto detection algorithm -will validate the trace against all known trace types. If multiple trace types -are valid, a trace type is chosen based on a confidence criteria. The -validation process and the computation of the confidence level are trace type -specific. After successful validation the trace will be opened with the -detected trace type. - -Alternatively the user can launch the trace viewer with the command-line -argument '''--open '''. The trace will then automatically open -using the same algorithm than described above. - -In both of the above cases, the trace will be linked to the default project. - -= References = - -* [http://www.eclipse.org/linuxtools/projectPages/lttng/ Linux Tools - LTTng integration] -* [http://www.lttng.org/ LTTng project] - diff --git a/org.eclipse.linuxtools.tracing.rcp.help/doc/images/home.gif b/org.eclipse.linuxtools.tracing.rcp.help/doc/images/home.gif deleted file mode 100644 index 4472e8ce5b..0000000000 Binary files a/org.eclipse.linuxtools.tracing.rcp.help/doc/images/home.gif and /dev/null differ diff --git a/org.eclipse.linuxtools.tracing.rcp.help/doc/images/next.gif b/org.eclipse.linuxtools.tracing.rcp.help/doc/images/next.gif deleted file mode 100644 index e2f8c3e1fe..0000000000 Binary files a/org.eclipse.linuxtools.tracing.rcp.help/doc/images/next.gif and /dev/null differ diff --git a/org.eclipse.linuxtools.tracing.rcp.help/doc/images/prev.gif b/org.eclipse.linuxtools.tracing.rcp.help/doc/images/prev.gif deleted file mode 100644 index 4fb4150103..0000000000 Binary files a/org.eclipse.linuxtools.tracing.rcp.help/doc/images/prev.gif and /dev/null differ diff --git a/org.eclipse.linuxtools.tracing.rcp.help/plugin.properties b/org.eclipse.linuxtools.tracing.rcp.help/plugin.properties deleted file mode 100644 index 252d9b3171..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/plugin.properties +++ /dev/null @@ -1,15 +0,0 @@ -############################################################################### -# Copyright (c) 2013 Ericsson -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Bernd Hufmann - Initial API and implementation -############################################################################### - -#Properties file for org.eclipse.linuxtools.lttng.help -Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = Linux Tools Trace Viewer Help Plug-in diff --git a/org.eclipse.linuxtools.tracing.rcp.help/plugin.xml b/org.eclipse.linuxtools.tracing.rcp.help/plugin.xml deleted file mode 100644 index 8236399816..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/plugin.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - diff --git a/org.eclipse.linuxtools.tracing.rcp.help/pom.xml b/org.eclipse.linuxtools.tracing.rcp.help/pom.xml deleted file mode 100644 index 6c23364fc5..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.help/pom.xml +++ /dev/null @@ -1,86 +0,0 @@ - - - - 4.0.0 - - - org.eclipse.tracecompass - org.eclipse.tracecompass - 3.2.0-SNAPSHOT - - - org.eclipse.linuxtools.tracing.rcp.help - 1.1.0-SNAPSHOT - eclipse-plugin - - Linux Tools Trace Viewer Help Plug-in - - - - - org.apache.maven.plugins - maven-antrun-plugin - - - generate-documentation - generate-sources - - Generating Trace Viewer Help Files - - - - - - - run - - - - clean-documentation - clean - - Cleaning up generated Trace Viewer Help Files - - - - - - run - - - - - - - org.apache.ant - ant - 1.8.1 - - - - org.apache.ant - ant-launcher - 1.8.1 - - - - org.apache.ant - ant-nodeps - 1.8.1 - - - - - - - - org.eclipse.linuxtools.tracing.rcp - diff --git a/org.eclipse.linuxtools.tracing.rcp.product/.project b/org.eclipse.linuxtools.tracing.rcp.product/.project deleted file mode 100644 index e709a5114f..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.product/.project +++ /dev/null @@ -1,11 +0,0 @@ - - - org.eclipse.linuxtools.tracing.rcp.product - - - - - - - - diff --git a/org.eclipse.linuxtools.tracing.rcp.product/about.html b/org.eclipse.linuxtools.tracing.rcp.product/about.html deleted file mode 100644 index c258ef55d8..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.product/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

About This Content

- -

June 5, 2006

-

License

- -

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

- -

If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

- - - \ No newline at end of file diff --git a/org.eclipse.linuxtools.tracing.rcp.product/epl-v10.html b/org.eclipse.linuxtools.tracing.rcp.product/epl-v10.html deleted file mode 100644 index 9321f4082e..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.product/epl-v10.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - -Eclipse Public License - Version 1.0 - - - -

Eclipse Public License - v 1.0

- -

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE -PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR -DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS -AGREEMENT.

- -

1. DEFINITIONS

- -

"Contribution" means:

- -

a) in the case of the initial Contributor, the initial -code and documentation distributed under this Agreement, and

-

b) in the case of each subsequent Contributor:

-

i) changes to the Program, and

-

ii) additions to the Program;

-

where such changes and/or additions to the Program -originate from and are distributed by that particular Contributor. A -Contribution 'originates' from a Contributor if it was added to the -Program by such Contributor itself or anyone acting on such -Contributor's behalf. Contributions do not include additions to the -Program which: (i) are separate modules of software distributed in -conjunction with the Program under their own license agreement, and (ii) -are not derivative works of the Program.

- -

"Contributor" means any person or entity that distributes -the Program.

- -

"Licensed Patents" mean patent claims licensable by a -Contributor which are necessarily infringed by the use or sale of its -Contribution alone or when combined with the Program.

- -

"Program" means the Contributions distributed in accordance -with this Agreement.

- -

"Recipient" means anyone who receives the Program under -this Agreement, including all Contributors.

- -

2. GRANT OF RIGHTS

- -

a) Subject to the terms of this Agreement, each -Contributor hereby grants Recipient a non-exclusive, worldwide, -royalty-free copyright license to reproduce, prepare derivative works -of, publicly display, publicly perform, distribute and sublicense the -Contribution of such Contributor, if any, and such derivative works, in -source code and object code form.

- -

b) Subject to the terms of this Agreement, each -Contributor hereby grants Recipient a non-exclusive, worldwide, -royalty-free patent license under Licensed Patents to make, use, sell, -offer to sell, import and otherwise transfer the Contribution of such -Contributor, if any, in source code and object code form. This patent -license shall apply to the combination of the Contribution and the -Program if, at the time the Contribution is added by the Contributor, -such addition of the Contribution causes such combination to be covered -by the Licensed Patents. The patent license shall not apply to any other -combinations which include the Contribution. No hardware per se is -licensed hereunder.

- -

c) Recipient understands that although each Contributor -grants the licenses to its Contributions set forth herein, no assurances -are provided by any Contributor that the Program does not infringe the -patent or other intellectual property rights of any other entity. Each -Contributor disclaims any liability to Recipient for claims brought by -any other entity based on infringement of intellectual property rights -or otherwise. As a condition to exercising the rights and licenses -granted hereunder, each Recipient hereby assumes sole responsibility to -secure any other intellectual property rights needed, if any. For -example, if a third party patent license is required to allow Recipient -to distribute the Program, it is Recipient's responsibility to acquire -that license before distributing the Program.

- -

d) Each Contributor represents that to its knowledge it -has sufficient copyright rights in its Contribution, if any, to grant -the copyright license set forth in this Agreement.

- -

3. REQUIREMENTS

- -

A Contributor may choose to distribute the Program in object code -form under its own license agreement, provided that:

- -

a) it complies with the terms and conditions of this -Agreement; and

- -

b) its license agreement:

- -

i) effectively disclaims on behalf of all Contributors -all warranties and conditions, express and implied, including warranties -or conditions of title and non-infringement, and implied warranties or -conditions of merchantability and fitness for a particular purpose;

- -

ii) effectively excludes on behalf of all Contributors -all liability for damages, including direct, indirect, special, -incidental and consequential damages, such as lost profits;

- -

iii) states that any provisions which differ from this -Agreement are offered by that Contributor alone and not by any other -party; and

- -

iv) states that source code for the Program is available -from such Contributor, and informs licensees how to obtain it in a -reasonable manner on or through a medium customarily used for software -exchange.

- -

When the Program is made available in source code form:

- -

a) it must be made available under this Agreement; and

- -

b) a copy of this Agreement must be included with each -copy of the Program.

- -

Contributors may not remove or alter any copyright notices contained -within the Program.

- -

Each Contributor must identify itself as the originator of its -Contribution, if any, in a manner that reasonably allows subsequent -Recipients to identify the originator of the Contribution.

- -

4. COMMERCIAL DISTRIBUTION

- -

Commercial distributors of software may accept certain -responsibilities with respect to end users, business partners and the -like. While this license is intended to facilitate the commercial use of -the Program, the Contributor who includes the Program in a commercial -product offering should do so in a manner which does not create -potential liability for other Contributors. Therefore, if a Contributor -includes the Program in a commercial product offering, such Contributor -("Commercial Contributor") hereby agrees to defend and -indemnify every other Contributor ("Indemnified Contributor") -against any losses, damages and costs (collectively "Losses") -arising from claims, lawsuits and other legal actions brought by a third -party against the Indemnified Contributor to the extent caused by the -acts or omissions of such Commercial Contributor in connection with its -distribution of the Program in a commercial product offering. The -obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. In -order to qualify, an Indemnified Contributor must: a) promptly notify -the Commercial Contributor in writing of such claim, and b) allow the -Commercial Contributor to control, and cooperate with the Commercial -Contributor in, the defense and any related settlement negotiations. The -Indemnified Contributor may participate in any such claim at its own -expense.

- -

For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those -performance claims and warranties, and if a court requires any other -Contributor to pay any damages as a result, the Commercial Contributor -must pay those damages.

- -

5. NO WARRANTY

- -

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS -PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS -OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, -ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY -OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely -responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement , including but not limited to -the risks and costs of program errors, compliance with applicable laws, -damage to or loss of data, programs or equipment, and unavailability or -interruption of operations.

- -

6. DISCLAIMER OF LIABILITY

- -

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT -NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

- -

7. GENERAL

- -

If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further action -by the parties hereto, such provision shall be reformed to the minimum -extent necessary to make such provision valid and enforceable.

- -

If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that the -Program itself (excluding combinations of the Program with other -software or hardware) infringes such Recipient's patent(s), then such -Recipient's rights granted under Section 2(b) shall terminate as of the -date such litigation is filed.

- -

All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of time -after becoming aware of such noncompliance. If all Recipient's rights -under this Agreement terminate, Recipient agrees to cease use and -distribution of the Program as soon as reasonably practicable. However, -Recipient's obligations under this Agreement and any licenses granted by -Recipient relating to the Program shall continue and survive.

- -

Everyone is permitted to copy and distribute copies of this -Agreement, but in order to avoid inconsistency the Agreement is -copyrighted and may only be modified in the following manner. The -Agreement Steward reserves the right to publish new versions (including -revisions) of this Agreement from time to time. No one other than the -Agreement Steward has the right to modify this Agreement. The Eclipse -Foundation is the initial Agreement Steward. The Eclipse Foundation may -assign the responsibility to serve as the Agreement Steward to a -suitable separate entity. Each new version of the Agreement will be -given a distinguishing version number. The Program (including -Contributions) may always be distributed subject to the version of the -Agreement under which it was received. In addition, after a new version -of the Agreement is published, Contributor may elect to distribute the -Program (including its Contributions) under the new version. Except as -expressly stated in Sections 2(a) and 2(b) above, Recipient receives no -rights or licenses to the intellectual property of any Contributor under -this Agreement, whether expressly, by implication, estoppel or -otherwise. All rights in the Program not expressly granted under this -Agreement are reserved.

- -

This Agreement is governed by the laws of the State of New York and -the intellectual property laws of the United States of America. No party -to this Agreement will bring a legal action under this Agreement more -than one year after the cause of action arose. Each party waives its -rights to a jury trial in any resulting litigation.

- - \ No newline at end of file diff --git a/org.eclipse.linuxtools.tracing.rcp.product/license.html b/org.eclipse.linuxtools.tracing.rcp.product/license.html deleted file mode 100644 index 6e579a585b..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.product/license.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -Eclipse Foundation Software User Agreement - - - -

Eclipse Foundation Software User Agreement

-

February 1, 2011

- -

Usage Of Content

- -

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS - (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND - CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE - OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR - NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND - CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

- -

Applicable Licenses

- -

Unless otherwise indicated, all Content made available by the Eclipse - Foundation is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 - ("EPL"). A copy of the EPL is provided with this Content and is also - available at http://www.eclipse.org/legal/epl-v10.html. - For purposes of the EPL, "Program" will mean the Content.

- -

Content includes, but is not limited to, source code, object code, -documentation and other files maintained in the Eclipse Foundation -source code - repository ("Repository") in software modules ("Modules") and made -available as downloadable archives ("Downloads").

- -
    -
  • Content may be structured and packaged into modules to -facilitate delivering, extending, and upgrading the Content. Typical -modules may include plug-ins ("Plug-ins"), plug-in fragments -("Fragments"), and features ("Features").
  • -
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • -
  • A Feature is a bundle of one or more Plug-ins and/or -Fragments and associated material. Each Feature may be packaged as a -sub-directory in a directory named "features". Within a Feature, files -named "feature.xml" may contain a list of the names and version numbers -of the Plug-ins - and/or Fragments associated with that Feature.
  • -
  • Features may also include other Features ("Included -Features"). Within a Feature, files named "feature.xml" may contain a -list of the names and version numbers of Included Features.
  • -
- -

The terms and conditions governing Plug-ins and Fragments should be -contained in files named "about.html" ("Abouts"). The terms and -conditions governing Features and -Included Features should be contained in files named "license.html" -("Feature Licenses"). Abouts and Feature Licenses may be located in any - directory of a Download or Module -including, but not limited to the following locations:

- -
    -
  • The top-level (root) directory
  • -
  • Plug-in and Fragment directories
  • -
  • Inside Plug-ins and Fragments packaged as JARs
  • -
  • Sub-directories of the directory named "src" of certain Plug-ins
  • -
  • Feature directories
  • -
- -

Note: if a Feature made available by the Eclipse Foundation is -installed using the Provisioning Technology (as defined below), you must - agree to a license ("Feature Update License") during the -installation process. If the Feature contains Included Features, the -Feature Update License should either provide you with the terms and -conditions governing the Included Features or -inform you where you can locate them. Feature Update Licenses may be -found in the "license" property of files named "feature.properties" -found within a Feature. -Such Abouts, Feature Licenses, and Feature Update Licenses contain the -terms and conditions (or references to such terms and conditions) that -govern your use of the associated Content in -that directory.

- -

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER -TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. - SOME OF THESE -OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

- - - -

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND -CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, -or Feature Update License is provided, please -contact the Eclipse Foundation to determine what terms and conditions -govern that particular Content.

- - -

Use of Provisioning Technology

- -

The Eclipse Foundation makes available provisioning software, -examples of which include, but are not limited to, p2 and the Eclipse - Update Manager ("Provisioning Technology") for the purpose of -allowing users to install software, documentation, information and/or - other materials (collectively "Installable Software"). This -capability is provided with the intent of allowing such users to - install, extend and update Eclipse-based products. Information about -packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html - ("Specification").

- -

You may use Provisioning Technology to allow other parties to install - Installable Software. You shall be responsible for enabling the - applicable license agreements relating to the Installable Software to - be presented to, and accepted by, the users of the Provisioning -Technology - in accordance with the Specification. By using Provisioning -Technology in such a manner and making it available in accordance with -the - Specification, you further acknowledge your agreement to, and the -acquisition of all necessary rights to permit the following:

- -
    -
  1. A series of actions may occur ("Provisioning Process") in -which a user may execute the Provisioning Technology - on a machine ("Target Machine") with the intent of installing, -extending or updating the functionality of an Eclipse-based - product.
  2. -
  3. During the Provisioning Process, the Provisioning Technology -may cause third party Installable Software or a portion thereof to be - accessed and copied to the Target Machine.
  4. -
  5. Pursuant to the Specification, you will provide to the user -the terms and conditions that govern the use of the Installable - Software ("Installable Software Agreement") and such Installable -Software Agreement shall be accessed from the Target - Machine in accordance with the Specification. Such Installable -Software Agreement must inform the user of the terms and conditions that - govern - the Installable Software and must solicit acceptance by the end -user in the manner prescribed in such Installable Software Agreement. -Upon such - indication of agreement by the user, the provisioning Technology -will complete installation of the Installable Software.
  6. -
- -

Cryptography

- -

Content may contain encryption software. The country in which you are - currently may have restrictions on the import, possession, and use, -and/or re-export to - another country, of encryption software. BEFORE using any encryption -software, please check the country's laws, regulations and policies -concerning the import, - possession, or use, and re-export of encryption software, to see if -this is permitted.

- -

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

- - - \ No newline at end of file diff --git a/org.eclipse.linuxtools.tracing.rcp.product/pom.xml b/org.eclipse.linuxtools.tracing.rcp.product/pom.xml deleted file mode 100644 index ff4024b0ea..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.product/pom.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - 4.0.0 - - 1.1.0 - tracing - eclipse-repository - Linux Tools Trace Viewer Product - - - org.eclipse.tracecompass - org.eclipse.tracecompass - 3.2.0-SNAPSHOT - - - - org.eclipse.linuxtools.tracing.rcp - yyyyMMdd-HHmm - - - - - - org.eclipse.tycho - tycho-p2-director-plugin - ${tycho-version} - - - materialize-products - - materialize-products - - - - archive-products - - archive-products - - - - tar.gz - tar.gz - zip - zip - - - - - - - - linuxtools-trace-viewer-${project.version}-${build.timestamp} - ${productId} - linuxtools-trace-viewer - - - - - - - org.eclipse.linuxtools.tracing.rcp - diff --git a/org.eclipse.linuxtools.tracing.rcp.product/tracing.product b/org.eclipse.linuxtools.tracing.rcp.product/tracing.product deleted file mode 100644 index ab26e97844..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.product/tracing.product +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - - - - Linux Tools Trace Viewer - -Version: 1.1.0 - -Copyright (c) 2014 Ericsson - -All rights reserved. This program and the accompanying materials are -made available under the terms of the Eclipse Public License v1.0 which -accompanies this distribution, and is available at -http://www.eclipse.org/legal/epl-v10.html - - - - - - - - --launcher.XXMaxPermSize 256m -data @noDefault - - --launcher.GTK_version 2 - - -Xms512m -Xmx1024m -Dosgi.requiredJavaVersion=1.7 - - -Xms512m -Xmx1024m -XstartOnFirstThread -Dosgi.requiredJavaVersion=1.7 -Dorg.eclipse.swt.internal.carbon.smallFonts - - -Xms512m -Xmx1024m -Dosgi.requiredJavaVersion=1.7 - - -Xms512m -Xmx1024m -Dosgi.requiredJavaVersion=1.7 - - - - - - - - - - - - - - org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7 - org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7 - org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7 - org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7 - - - - http://eclipse.org/legal/epl/notice.php - - Eclipse Foundation Software User Agreement -February 1, 2011 - -Usage Of Content - -THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR -OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY &quot;CONTENT&quot;). -USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS -AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR -NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU -AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT -AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS -OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE -TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS -OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED -BELOW, THEN YOU MAY NOT USE THE CONTENT. - -Applicable Licenses - -Unless otherwise indicated, all Content made available by the -Eclipse Foundation is provided to you under the terms and conditions of -the Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is -provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, &quot;Program&quot; will mean the Content. - -Content includes, but is not limited to, source code, object code, -documentation and other files maintained in the Eclipse Foundation source code -repository (&quot;Repository&quot;) in software modules (&quot;Modules&quot;) and made available -as downloadable archives (&quot;Downloads&quot;). - - - Content may be structured and packaged into modules to facilitate delivering, - extending, and upgrading the Content. Typical modules may include plug-ins (&quot;Plug-ins&quot;), - plug-in fragments (&quot;Fragments&quot;), and features (&quot;Features&quot;). - - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive) - in a directory named &quot;plugins&quot;. - - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. - Each Feature may be packaged as a sub-directory in a directory named &quot;features&quot;. - Within a Feature, files named &quot;feature.xml&quot; may contain a list of the names and version - numbers of the Plug-ins and/or Fragments associated with that Feature. - - Features may also include other Features (&quot;Included Features&quot;). Within a Feature, files - named &quot;feature.xml&quot; may contain a list of the names and version numbers of Included Features. - -The terms and conditions governing Plug-ins and Fragments should be -contained in files named &quot;about.html&quot; (&quot;Abouts&quot;). The terms and -conditions governing Features and Included Features should be contained -in files named &quot;license.html&quot; (&quot;Feature Licenses&quot;). Abouts and Feature -Licenses may be located in any directory of a Download or Module -including, but not limited to the following locations: - - - The top-level (root) directory - - Plug-in and Fragment directories - - Inside Plug-ins and Fragments packaged as JARs - - Sub-directories of the directory named &quot;src&quot; of certain Plug-ins - - Feature directories - -Note: if a Feature made available by the Eclipse Foundation is installed using the -Provisioning Technology (as defined below), you must agree to a license (&quot;Feature -Update License&quot;) during the installation process. If the Feature contains -Included Features, the Feature Update License should either provide you -with the terms and conditions governing the Included Features or inform -you where you can locate them. Feature Update Licenses may be found in -the &quot;license&quot; property of files named &quot;feature.properties&quot; found within a Feature. -Such Abouts, Feature Licenses, and Feature Update Licenses contain the -terms and conditions (or references to such terms and conditions) that -govern your use of the associated Content in that directory. - -THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER -TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. -SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO): - - - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html) - - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html) - - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE) - - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0) - - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html) - - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html) - -IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR -TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License -is provided, please contact the Eclipse Foundation to determine what terms and conditions -govern that particular Content. - -Use of Provisioning Technology - -The Eclipse Foundation makes available provisioning software, examples of which include, -but are not limited to, p2 and the Eclipse Update Manager (&quot;Provisioning Technology&quot;) for -the purpose of allowing users to install software, documentation, information and/or -other materials (collectively &quot;Installable Software&quot;). This capability is provided with -the intent of allowing such users to install, extend and update Eclipse-based products. -Information about packaging Installable Software is available at -http://eclipse.org/equinox/p2/repository_packaging.html (&quot;Specification&quot;). - -You may use Provisioning Technology to allow other parties to install Installable Software. -You shall be responsible for enabling the applicable license agreements relating to the -Installable Software to be presented to, and accepted by, the users of the Provisioning Technology -in accordance with the Specification. By using Provisioning Technology in such a manner and -making it available in accordance with the Specification, you further acknowledge your -agreement to, and the acquisition of all necessary rights to permit the following: - - 1. A series of actions may occur (&quot;Provisioning Process&quot;) in which a user may execute - the Provisioning Technology on a machine (&quot;Target Machine&quot;) with the intent of installing, - extending or updating the functionality of an Eclipse-based product. - 2. During the Provisioning Process, the Provisioning Technology may cause third party - Installable Software or a portion thereof to be accessed and copied to the Target Machine. - 3. Pursuant to the Specification, you will provide to the user the terms and conditions that - govern the use of the Installable Software (&quot;Installable Software Agreement&quot;) and such - Installable Software Agreement shall be accessed from the Target Machine in accordance - with the Specification. Such Installable Software Agreement must inform the user of the - terms and conditions that govern the Installable Software and must solicit acceptance by - the end user in the manner prescribed in such Installable Software Agreement. Upon such - indication of agreement by the user, the provisioning Technology will complete installation - of the Installable Software. - -Cryptography - -Content may contain encryption software. The country in which you are -currently may have restrictions on the import, possession, and use, -and/or re-export to another country, of encryption software. BEFORE -using any encryption software, please check the country&apos;s laws, -regulations and policies concerning the import, possession, or use, and -re-export of encryption software, to see if this is permitted. - -Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/.classpath b/org.eclipse.linuxtools.tracing.rcp.ui/.classpath deleted file mode 100644 index 098194ca4b..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/.project b/org.eclipse.linuxtools.tracing.rcp.ui/.project deleted file mode 100644 index 7e5c96048a..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.linuxtools.tracing.rcp.ui - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.pde.api.tools.apiAnalysisBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - org.eclipse.pde.api.tools.apiAnalysisNature - - diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.core.resources.prefs b/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c0203..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.core.runtime.prefs deleted file mode 100644 index 5a0ad22d2a..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.core.runtime.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -line.separator=\n diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 9f3662cd78..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,394 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=enabled -org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore -org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull -org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault -org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable -org.eclipse.jdt.core.compiler.annotation.nullanalysis=enabled -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.doc.comment.support=enabled -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=error -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=error -org.eclipse.jdt.core.compiler.problem.deadCode=error -org.eclipse.jdt.core.compiler.problem.deprecation=error -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=error -org.eclipse.jdt.core.compiler.problem.fallthroughCase=error -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=error -org.eclipse.jdt.core.compiler.problem.finalParameterBound=error -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=error -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=error -org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=error -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=error -org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning -org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled -org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled -org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled -org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected -org.eclipse.jdt.core.compiler.problem.localVariableHiding=error -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=error -org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=error -org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=enabled -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error -org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning -org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled -org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=protected -org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=all_standard_tags -org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning -org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled -org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled -org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=protected -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=error -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=error -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=error -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=error -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=error -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning -org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning -org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=warning -org.eclipse.jdt.core.compiler.problem.nullReference=error -org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error -org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=error -org.eclipse.jdt.core.compiler.problem.parameterAssignment=error -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=error -org.eclipse.jdt.core.compiler.problem.potentialNullReference=error -org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=error -org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=error -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=error -org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore -org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=error -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=error -org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=enabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=error -org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=disabled -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.unclosedCloseable=error -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=error -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=error -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=error -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=disabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=disabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedImport=error -org.eclipse.jdt.core.compiler.problem.unusedLabel=error -org.eclipse.jdt.core.compiler.problem.unusedLocal=error -org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=error -org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=error -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=error -org.eclipse.jdt.core.compiler.source=1.7 -org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_assignment=0 -org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 -org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 -org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 -org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 -org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 -org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 -org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=0 -org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 -org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_after_package=1 -org.eclipse.jdt.core.formatter.blank_lines_before_field=0 -org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 -org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 -org.eclipse.jdt.core.formatter.blank_lines_before_method=1 -org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 -org.eclipse.jdt.core.formatter.blank_lines_before_package=0 -org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 -org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 -org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false -org.eclipse.jdt.core.formatter.comment.format_block_comments=true -org.eclipse.jdt.core.formatter.comment.format_header=false -org.eclipse.jdt.core.formatter.comment.format_html=true -org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=80 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false -org.eclipse.jdt.core.formatter.compact_else_if=true -org.eclipse.jdt.core.formatter.continuation_indentation=2 -org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 -org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true -org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_empty_lines=false -org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true -org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false -org.eclipse.jdt.core.formatter.indentation.size=4 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert -org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert -org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.join_lines_in_comments=true -org.eclipse.jdt.core.formatter.join_wrapped_lines=false -org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false -org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false -org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false -org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=250 -org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false -org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false -org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 -org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=space -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=false -org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false -org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true -org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 4fd0c7006a..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,56 +0,0 @@ -eclipse.preferences.version=1 -editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true -formatter_profile=_tmf-style -formatter_settings_version=12 -sp_cleanup.add_default_serial_version_id=true -sp_cleanup.add_generated_serial_version_id=false -sp_cleanup.add_missing_annotations=false -sp_cleanup.add_missing_deprecated_annotations=true -sp_cleanup.add_missing_methods=false -sp_cleanup.add_missing_nls_tags=false -sp_cleanup.add_missing_override_annotations=true -sp_cleanup.add_missing_override_annotations_interface_methods=true -sp_cleanup.add_serial_version_id=false -sp_cleanup.always_use_blocks=true -sp_cleanup.always_use_parentheses_in_expressions=false -sp_cleanup.always_use_this_for_non_static_field_access=false -sp_cleanup.always_use_this_for_non_static_method_access=false -sp_cleanup.convert_to_enhanced_for_loop=false -sp_cleanup.correct_indentation=false -sp_cleanup.format_source_code=false -sp_cleanup.format_source_code_changes_only=false -sp_cleanup.make_local_variable_final=false -sp_cleanup.make_parameters_final=false -sp_cleanup.make_private_fields_final=true -sp_cleanup.make_type_abstract_if_missing_method=false -sp_cleanup.make_variable_declarations_final=false -sp_cleanup.never_use_blocks=false -sp_cleanup.never_use_parentheses_in_expressions=true -sp_cleanup.on_save_use_additional_actions=true -sp_cleanup.organize_imports=false -sp_cleanup.qualify_static_field_accesses_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true -sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true -sp_cleanup.qualify_static_member_accesses_with_declaring_class=false -sp_cleanup.qualify_static_method_accesses_with_declaring_class=false -sp_cleanup.remove_private_constructors=true -sp_cleanup.remove_trailing_whitespaces=true -sp_cleanup.remove_trailing_whitespaces_all=true -sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=false -sp_cleanup.remove_unnecessary_nls_tags=false -sp_cleanup.remove_unused_imports=false -sp_cleanup.remove_unused_local_variables=false -sp_cleanup.remove_unused_private_fields=true -sp_cleanup.remove_unused_private_members=false -sp_cleanup.remove_unused_private_methods=true -sp_cleanup.remove_unused_private_types=true -sp_cleanup.sort_members=false -sp_cleanup.sort_members_all=false -sp_cleanup.use_blocks=true -sp_cleanup.use_blocks_only_for_return_and_throw=false -sp_cleanup.use_parentheses_in_expressions=false -sp_cleanup.use_this_for_non_static_field_access=false -sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true -sp_cleanup.use_this_for_non_static_method_access=false -sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.pde.api.tools.prefs b/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.pde.api.tools.prefs deleted file mode 100644 index acc3abd47c..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.pde.api.tools.prefs +++ /dev/null @@ -1,97 +0,0 @@ -ANNOTATION_ELEMENT_TYPE_ADDED_METHOD_WITHOUT_DEFAULT_VALUE=Error -ANNOTATION_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error -ANNOTATION_ELEMENT_TYPE_REMOVED_FIELD=Error -ANNOTATION_ELEMENT_TYPE_REMOVED_METHOD=Error -ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error -API_COMPONENT_ELEMENT_TYPE_REMOVED_API_TYPE=Error -API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_API_TYPE=Error -API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_TYPE=Error -API_COMPONENT_ELEMENT_TYPE_REMOVED_TYPE=Error -API_USE_SCAN_FIELD_SEVERITY=Error -API_USE_SCAN_METHOD_SEVERITY=Error -API_USE_SCAN_TYPE_SEVERITY=Error -CLASS_ELEMENT_TYPE_ADDED_METHOD=Error -CLASS_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error -CLASS_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error -CLASS_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error -CLASS_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error -CLASS_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error -CLASS_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error -CLASS_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error -CLASS_ELEMENT_TYPE_REMOVED_CONSTRUCTOR=Error -CLASS_ELEMENT_TYPE_REMOVED_FIELD=Error -CLASS_ELEMENT_TYPE_REMOVED_METHOD=Error -CLASS_ELEMENT_TYPE_REMOVED_SUPERCLASS=Error -CLASS_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error -CLASS_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error -CONSTRUCTOR_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error -CONSTRUCTOR_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error -CONSTRUCTOR_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error -CONSTRUCTOR_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error -ENUM_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error -ENUM_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error -ENUM_ELEMENT_TYPE_REMOVED_ENUM_CONSTANT=Error -ENUM_ELEMENT_TYPE_REMOVED_FIELD=Error -ENUM_ELEMENT_TYPE_REMOVED_METHOD=Error -ENUM_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error -FIELD_ELEMENT_TYPE_ADDED_VALUE=Error -FIELD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error -FIELD_ELEMENT_TYPE_CHANGED_FINAL_TO_NON_FINAL_STATIC_CONSTANT=Error -FIELD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error -FIELD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error -FIELD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error -FIELD_ELEMENT_TYPE_CHANGED_TYPE=Error -FIELD_ELEMENT_TYPE_CHANGED_VALUE=Error -FIELD_ELEMENT_TYPE_REMOVED_TYPE_ARGUMENT=Error -FIELD_ELEMENT_TYPE_REMOVED_VALUE=Error -ILLEGAL_EXTEND=Warning -ILLEGAL_IMPLEMENT=Warning -ILLEGAL_INSTANTIATE=Warning -ILLEGAL_OVERRIDE=Warning -ILLEGAL_REFERENCE=Warning -INTERFACE_ELEMENT_TYPE_ADDED_FIELD=Error -INTERFACE_ELEMENT_TYPE_ADDED_METHOD=Error -INTERFACE_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error -INTERFACE_ELEMENT_TYPE_ADDED_SUPER_INTERFACE_WITH_METHODS=Error -INTERFACE_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error -INTERFACE_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error -INTERFACE_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error -INTERFACE_ELEMENT_TYPE_REMOVED_FIELD=Error -INTERFACE_ELEMENT_TYPE_REMOVED_METHOD=Error -INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error -INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error -INVALID_JAVADOC_TAG=Warning -INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Warning -LEAK_EXTEND=Warning -LEAK_FIELD_DECL=Warning -LEAK_IMPLEMENT=Warning -LEAK_METHOD_PARAM=Warning -LEAK_METHOD_RETURN_TYPE=Warning -METHOD_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error -METHOD_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error -METHOD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error -METHOD_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error -METHOD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error -METHOD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error -METHOD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error -METHOD_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error -METHOD_ELEMENT_TYPE_REMOVED_ANNOTATION_DEFAULT_VALUE=Error -METHOD_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error -MISSING_EE_DESCRIPTIONS=Ignore -TYPE_PARAMETER_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_CLASS_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_INTERFACE_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_CLASS_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error -UNUSED_PROBLEM_FILTERS=Warning -automatically_removed_unused_problem_filters=false -eclipse.preferences.version=1 -incompatible_api_component_version=Error -incompatible_api_component_version_include_major_without_breaking_change=Disabled -incompatible_api_component_version_include_minor_without_api_change=Disabled -invalid_since_tag_version=Error -malformed_since_tag=Error -missing_since_tag=Error -report_api_breakage_when_major_version_incremented=Disabled -report_resolution_errors_api_component=Warning diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.pde.prefs b/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.pde.prefs deleted file mode 100644 index d92b94fd4b..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/.settings/org.eclipse.pde.prefs +++ /dev/null @@ -1,32 +0,0 @@ -compilers.f.unresolved-features=1 -compilers.f.unresolved-plugins=1 -compilers.incompatible-environment=1 -compilers.p.build=1 -compilers.p.build.bin.includes=1 -compilers.p.build.encodings=2 -compilers.p.build.java.compiler=2 -compilers.p.build.java.compliance=1 -compilers.p.build.missing.output=2 -compilers.p.build.output.library=1 -compilers.p.build.source.library=1 -compilers.p.build.src.includes=1 -compilers.p.deprecated=1 -compilers.p.discouraged-class=1 -compilers.p.internal=1 -compilers.p.missing-packages=1 -compilers.p.missing-version-export-package=2 -compilers.p.missing-version-import-package=2 -compilers.p.missing-version-require-bundle=2 -compilers.p.no-required-att=0 -compilers.p.not-externalized-att=1 -compilers.p.unknown-attribute=1 -compilers.p.unknown-class=1 -compilers.p.unknown-element=1 -compilers.p.unknown-identifier=1 -compilers.p.unknown-resource=1 -compilers.p.unresolved-ex-points=0 -compilers.p.unresolved-import=0 -compilers.s.create-docs=false -compilers.s.doc-folder=doc -compilers.s.open-tags=1 -eclipse.preferences.version=1 diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/META-INF/MANIFEST.MF b/org.eclipse.linuxtools.tracing.rcp.ui/META-INF/MANIFEST.MF deleted file mode 100644 index c2279aef5f..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/META-INF/MANIFEST.MF +++ /dev/null @@ -1,23 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-Vendor: %Bundle-Vendor -Bundle-Version: 1.1.0.qualifier -Bundle-Localization: plugin -Bundle-SymbolicName: org.eclipse.linuxtools.tracing.rcp.ui;singleton:=true -Bundle-Activator: org.eclipse.linuxtools.internal.tracing.rcp.ui.TracingRcpPlugin -Bundle-ActivationPolicy: lazy -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 -Require-Bundle: org.eclipse.core.commands, - org.eclipse.core.resources, - org.eclipse.core.runtime, - org.eclipse.ui, - org.eclipse.ui.ide, - org.eclipse.ui.workbench, - org.eclipse.tracecompass.tmf.ui;bundle-version="2.0.0", - org.eclipse.tracecompass.tmf.core;bundle-version="2.0.0", - org.eclipse.update.configurator;bundle-version="3.3.200", - org.eclipse.equinox.p2.ui.sdk -Export-Package: org.eclipse.linuxtools.internal.tracing.rcp.ui;x-internal:=true, - org.eclipse.linuxtools.internal.tracing.rcp.ui.cli;x-internal:=true, - org.eclipse.linuxtools.internal.tracing.rcp.ui.messages;x-internal:=true diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/about.html b/org.eclipse.linuxtools.tracing.rcp.ui/about.html deleted file mode 100644 index a01ee844fb..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

About This Content

- -

June 5, 2006

-

License

- -

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

- -

If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

- - - \ No newline at end of file diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/build.properties b/org.eclipse.linuxtools.tracing.rcp.ui/build.properties deleted file mode 100644 index 6e6ad65119..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/build.properties +++ /dev/null @@ -1,20 +0,0 @@ -############################################################################### -# Copyright (c) 2014 Ericsson -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Ericsson - Initial API and implementation -############################################################################### -source.. = src/ -output.. = bin/ -bin.includes = plugin.xml,\ - META-INF/,\ - .,\ - plugin.properties,\ - icons/,\ - about.html -src.includes = about.html diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/icons/alt_about.gif b/org.eclipse.linuxtools.tracing.rcp.ui/icons/alt_about.gif deleted file mode 100644 index 20d9ad2d98..0000000000 Binary files a/org.eclipse.linuxtools.tracing.rcp.ui/icons/alt_about.gif and /dev/null differ diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/icons/alt_window_16.gif b/org.eclipse.linuxtools.tracing.rcp.ui/icons/alt_window_16.gif deleted file mode 100644 index 05626b17d8..0000000000 Binary files a/org.eclipse.linuxtools.tracing.rcp.ui/icons/alt_window_16.gif and /dev/null differ diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/icons/alt_window_32.gif b/org.eclipse.linuxtools.tracing.rcp.ui/icons/alt_window_32.gif deleted file mode 100644 index b432f88339..0000000000 Binary files a/org.eclipse.linuxtools.tracing.rcp.ui/icons/alt_window_32.gif and /dev/null differ diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/plugin.properties b/org.eclipse.linuxtools.tracing.rcp.ui/plugin.properties deleted file mode 100644 index 592e8a5a4c..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/plugin.properties +++ /dev/null @@ -1,39 +0,0 @@ -############################################################################### -# Copyright (c) 2013 Ericsson -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Bernd Hufmann - Initial API and implementation -############################################################################### - -#Properties file for org.eclipse.linuxtools.tracing.rcp.ui -Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = Linux Tools Trace Viewer UI Plug-in - -menu.main.file = File -menu.main.window = Window -menu.main.help = Help -product.name = Linux Tools Trace Viewer -activity.description = Linux Tools Tracing RCP -activity.name = Linux Tools Tracing RCP -activity.description.javaPerspective = (Unwanted) Java Perspective -activity.name.javaPerspective = Unwanted Java Perspective -activity.description.teamPerspective = (Unwanted) Team Perspective -activity.name.teamPerspective = Unwanted Team Perspective -activity.description.debugPerspective = (Unwanted) Debug Perspective -activity.name.debugPerspective = Unwanted Debug Perspective -activity.description.pluginDevPerspective = (Unwanted) PluginDev Perspective -activity.name.pluginDevPerspective = Unwanted PluginDev Perspective -activity.description.resourcePerspective = (Unwanted) Resource Perspective -activity.name.resourcePerspective = Unwanted Resource Perspective -activity.description.search = (Unwanted) Search Perspective -activity.name.search = Unwanted Search Perspective -command.OpenFile.label = Open Trace... -command.import = Import... -menu.mnemonic = F -menu.label = Open -menu.mnemonic.0 = H \ No newline at end of file diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/plugin.xml b/org.eclipse.linuxtools.tracing.rcp.ui/plugin.xml deleted file mode 100644 index 68a762bc3a..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/plugin.xml +++ /dev/null @@ -1,144 +0,0 @@ - - - - - org.eclipse.linuxtools.tracing.rcp.product - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/pom.xml b/org.eclipse.linuxtools.tracing.rcp.ui/pom.xml deleted file mode 100644 index e802528ff1..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/pom.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - 4.0.0 - - 1.1.0-SNAPSHOT - org.eclipse.linuxtools.tracing.rcp.ui - org.eclipse.linuxtools.tracing.rcp - - Linux Tools Trace Viewer UI Plug-in - - - org.eclipse.tracecompass - org.eclipse.tracecompass - 3.2.0-SNAPSHOT - - - - org.eclipse.linuxtools.tracing.rcp.ui.product - - - - - - src - - **/*.java - - - - - - org.eclipse.tycho - tycho-source-plugin - - - - - eclipse-plugin - diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/Application.java b/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/Application.java deleted file mode 100644 index 7145cdb5b8..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/Application.java +++ /dev/null @@ -1,103 +0,0 @@ -/********************************************************************** - * Copyright (c) 2013 Ericsson - * - * All rights reserved. This program and the accompanying materials are - * made available under the terms of the Eclipse Public License v1.0 which - * accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Bernd Hufmann - Initial API and implementation - **********************************************************************/ -package org.eclipse.linuxtools.internal.tracing.rcp.ui; - -import java.io.File; -import java.net.URL; -import java.text.MessageFormat; - -import org.eclipse.core.runtime.Platform; -import org.eclipse.equinox.app.IApplication; -import org.eclipse.equinox.app.IApplicationContext; -import org.eclipse.jface.dialogs.MessageDialog; -import org.eclipse.linuxtools.internal.tracing.rcp.ui.messages.Messages; -import org.eclipse.osgi.service.datalocation.Location; -import org.eclipse.swt.widgets.Display; -import org.eclipse.ui.IWorkbench; -import org.eclipse.ui.PlatformUI; - -/** - * This class controls all aspects of the application's execution - * @author Bernd Hufmann - */ -public class Application implements IApplication { - - private Location fInstanceLoc = null; - - @Override - public Object start(IApplicationContext context) throws Exception { - Display display = PlatformUI.createDisplay(); - try { - // fetch the Location that we will be modifying - fInstanceLoc = Platform.getInstanceLocation(); - - // -data @noDefault in .ini allows us to set the workspace here. - // If the user wants to change the location then he has to change - // @noDefault to a specific location or remove -data @noDefault for - // default location - if (!fInstanceLoc.allowsDefault() && !fInstanceLoc.isSet()) { - File workspaceRoot = new File(TracingRcpPlugin.getWorkspaceRoot()); - - if (!workspaceRoot.exists()) { - MessageDialog.openError(display.getActiveShell(), - Messages.Application_WorkspaceCreationError, - MessageFormat.format(Messages.Application_WorkspaceRootNotExistError, new Object[] { TracingRcpPlugin.getWorkspaceRoot() })); - return IApplication.EXIT_OK; - } - - if (!workspaceRoot.canWrite()) { - MessageDialog.openError(display.getActiveShell(), - Messages.Application_WorkspaceCreationError, - MessageFormat.format(Messages.Application_WorkspaceRootPermissionError, new Object[] { TracingRcpPlugin.getWorkspaceRoot() })); - return IApplication.EXIT_OK; - } - - String workspace = TracingRcpPlugin.getWorkspaceRoot() + File.separator + TracingRcpPlugin.WORKSPACE_NAME; - // set location to workspace - fInstanceLoc.set(new URL("file", null, workspace), false); //$NON-NLS-1$ - } - - if (!fInstanceLoc.lock()) { - MessageDialog.openError(display.getActiveShell(), - Messages.Application_WorkspaceCreationError, - MessageFormat.format(Messages.Application_WorkspaceInUseError, new Object[] { fInstanceLoc.getURL().getPath() })); - return IApplication.EXIT_OK; - } - - int returnCode = PlatformUI.createAndRunWorkbench(display, new ApplicationWorkbenchAdvisor()); - if (returnCode == PlatformUI.RETURN_RESTART) { - return IApplication.EXIT_RESTART; - } - return IApplication.EXIT_OK; - } finally { - display.dispose(); - } - } - - @Override - public void stop() { - if (!PlatformUI.isWorkbenchRunning()) { - return; - } - final IWorkbench workbench = PlatformUI.getWorkbench(); - final Display display = workbench.getDisplay(); - fInstanceLoc.release(); - display.syncExec(new Runnable() { - @Override - public void run() { - if (!display.isDisposed()) { - workbench.close(); - } - } - }); - } -} diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationActionBarAdvisor.java b/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationActionBarAdvisor.java deleted file mode 100644 index 1e3806a9ec..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationActionBarAdvisor.java +++ /dev/null @@ -1,38 +0,0 @@ -/********************************************************************** - * Copyright (c) 2013 Ericsson - * - * All rights reserved. This program and the accompanying materials are - * made available under the terms of the Eclipse Public License v1.0 which - * accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Bernd Hufmann - Initial API and implementation - **********************************************************************/ -package org.eclipse.linuxtools.internal.tracing.rcp.ui; - -import org.eclipse.ui.application.ActionBarAdvisor; -import org.eclipse.ui.application.IActionBarConfigurer; - -/** - * ActionBarAdvisor implementation of the LTTng RCP. - * - * @author Bernd Hufmann - * - */ -public class ApplicationActionBarAdvisor extends ActionBarAdvisor { - - // ------------------------------------------------------------------------ - // Constructor(s) - // ------------------------------------------------------------------------ - /** - * Default constructor - * - * @param configurer - * - An action bar configure instance - */ - public ApplicationActionBarAdvisor(IActionBarConfigurer configurer) { - super(configurer); - } - -} diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationWorkbenchAdvisor.java b/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationWorkbenchAdvisor.java deleted file mode 100644 index 5673f8c102..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationWorkbenchAdvisor.java +++ /dev/null @@ -1,239 +0,0 @@ -/********************************************************************** - * Copyright (c) 2013 Ericsson - * - * All rights reserved. This program and the accompanying materials are - * made available under the terms of the Eclipse Public License v1.0 which - * accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Bernd Hufmann - Initial API and implementation - **********************************************************************/ -package org.eclipse.linuxtools.internal.tracing.rcp.ui; - -import java.lang.reflect.InvocationTargetException; -import java.net.URL; - -import org.eclipse.core.resources.IWorkspace; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.FileLocator; -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.MultiStatus; -import org.eclipse.core.runtime.Path; -import org.eclipse.core.runtime.Platform; -import org.eclipse.core.runtime.Status; -import org.eclipse.jface.dialogs.ErrorDialog; -import org.eclipse.jface.dialogs.ProgressMonitorDialog; -import org.eclipse.jface.operation.IRunnableWithProgress; -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.linuxtools.internal.tracing.rcp.ui.messages.Messages; -import org.eclipse.ui.application.IWorkbenchConfigurer; -import org.eclipse.ui.application.IWorkbenchWindowConfigurer; -import org.eclipse.ui.application.WorkbenchAdvisor; -import org.eclipse.ui.application.WorkbenchWindowAdvisor; -import org.eclipse.ui.ide.IDE; -import org.eclipse.ui.internal.ide.IDEInternalWorkbenchImages; -import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin; -import org.osgi.framework.Bundle; - - -/** - * WorkbenchAdvisor implementation of the LTTng RCP. - * - * @author Bernd Hufmann - */ -@SuppressWarnings("restriction") -public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor { - - // ------------------------------------------------------------------------ - // Constants - // ------------------------------------------------------------------------ - // The default perspective - private static final String PERSPECTIVE_ID = "org.eclipse.linuxtools.tmf.ui.perspective"; //$NON-NLS-1$ - - private final static String ICONS_PATH = "$nl$/icons/full/"; //$NON-NLS-1$ - private final static String PATH_ELOCALTOOL = ICONS_PATH + "elcl16/"; //$NON-NLS-1$ - private final static String PATH_DLOCALTOOL = ICONS_PATH + "dlcl16/"; //$NON-NLS-1$ - private final static String PATH_ETOOL = ICONS_PATH + "etool16/"; //$NON-NLS-1$ - private final static String PATH_DTOOL = ICONS_PATH + "dtool16/"; //$NON-NLS-1$ - private final static String PATH_OBJECT = ICONS_PATH + "obj16/"; //$NON-NLS-1$ - private final static String PATH_WIZBAN = ICONS_PATH + "wizban/";//$NON-NLS-1$ - - // ------------------------------------------------------------------------ - // Operations - // ------------------------------------------------------------------------ - @Override - public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) { - return new ApplicationWorkbenchWindowAdvisor(configurer); - } - - @Override - public void initialize(IWorkbenchConfigurer configurer) { - configurer.setSaveAndRestore(true); - declareWorkbenchImages(); - } - - @Override - public String getInitialWindowPerspectiveId() { - return PERSPECTIVE_ID; - } - - @Override - public IAdaptable getDefaultPageInput() { - IWorkspace workspace = ResourcesPlugin.getWorkspace(); - return workspace.getRoot(); - } - - @Override - public void preStartup() { - IDE.registerAdapters(); - } - - @Override - public void postShutdown() { - // Save workspace - final MultiStatus status = new MultiStatus(TracingRcpPlugin.PLUGIN_ID, 1, Messages.Application_WorkspaceSavingError, null); - try { - IRunnableWithProgress runnable = new IRunnableWithProgress() { - @Override - public void run(IProgressMonitor monitor) { - try { - IWorkspace ws = ResourcesPlugin.getWorkspace(); - status.merge(ws.save(true, monitor)); - } catch (CoreException e) { - status.merge(e.getStatus()); - } - } - }; - new ProgressMonitorDialog(null).run(true, true, runnable); - } catch (InvocationTargetException e) { - status.merge(new Status(IStatus.ERROR, TracingRcpPlugin.PLUGIN_ID, Messages.Application_InternalError, e.getTargetException())); - } catch (InterruptedException e) { - status.merge(Status.CANCEL_STATUS); - } - if (!status.isOK()) { - ErrorDialog.openError(null, Messages.Application_WorkspaceSavingError, null, status, IStatus.ERROR | IStatus.WARNING); - TracingRcpPlugin.getDefault().getLog().log(status); - } - } - - // ------------------------------------------------------------------------ - // Helper methods - // ------------------------------------------------------------------------ - private void declareWorkbenchImages() { - - Bundle ideBundle = Platform.getBundle(IDEWorkbenchPlugin.IDE_WORKBENCH); - - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_BUILD_EXEC, - PATH_ETOOL + "build_exec.gif", false); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_BUILD_EXEC_HOVER, - PATH_ETOOL + "build_exec.gif", false); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_BUILD_EXEC_DISABLED, - PATH_DTOOL + "build_exec.gif", false); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_SEARCH_SRC, - PATH_ETOOL + "search_src.gif", false); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_SEARCH_SRC_HOVER, - PATH_ETOOL + "search_src.gif", false); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_SEARCH_SRC_DISABLED, - PATH_DTOOL + "search_src.gif", false); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_NEXT_NAV, PATH_ETOOL - + "next_nav.gif", false); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_PREVIOUS_NAV, - PATH_ETOOL + "prev_nav.gif", false); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_NEWPRJ_WIZ, - PATH_WIZBAN + "newprj_wiz.png", false); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_NEWFOLDER_WIZ, - PATH_WIZBAN + "newfolder_wiz.png", false); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_NEWFILE_WIZ, - PATH_WIZBAN + "newfile_wiz.png", false); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_IMPORTDIR_WIZ, - PATH_WIZBAN + "importdir_wiz.png", false); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_IMPORTZIP_WIZ, - PATH_WIZBAN + "importzip_wiz.png", false); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_EXPORTDIR_WIZ, - PATH_WIZBAN + "exportdir_wiz.png", false); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_EXPORTZIP_WIZ, - PATH_WIZBAN + "exportzip_wiz.png", false); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, - IDEInternalWorkbenchImages.IMG_WIZBAN_RESOURCEWORKINGSET_WIZ, PATH_WIZBAN - + "workset_wiz.png", false); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_DLGBAN_SAVEAS_DLG, - PATH_WIZBAN + "saveas_wiz.png", false); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_DLGBAN_QUICKFIX_DLG, - PATH_WIZBAN + "quick_fix.png", false); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OBJ_PROJECT, PATH_OBJECT - + "prj_obj.gif", true); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED, PATH_OBJECT - + "cprj_obj.gif", true); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OPEN_MARKER, PATH_ELOCALTOOL - + "gotoobj_tsk.gif", true); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ELCL_QUICK_FIX_ENABLED, - PATH_ELOCALTOOL + "smartmode_co.gif", true); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_DLCL_QUICK_FIX_DISABLED, - PATH_DLOCALTOOL + "smartmode_co.gif", true); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OBJS_TASK_TSK, PATH_OBJECT - + "taskmrk_tsk.gif", true); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OBJS_BKMRK_TSK, PATH_OBJECT - + "bkmrk_tsk.gif", true); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_COMPLETE_TSK, - PATH_OBJECT + "complete_tsk.gif", true); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_INCOMPLETE_TSK, - PATH_OBJECT + "incomplete_tsk.gif", true); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_WELCOME_ITEM, - PATH_OBJECT + "welcome_item.gif", true); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_WELCOME_BANNER, - PATH_OBJECT + "welcome_banner.gif", true); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_ERROR_PATH, - PATH_OBJECT + "error_tsk.gif", true); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_WARNING_PATH, - PATH_OBJECT + "warn_tsk.gif", true); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_INFO_PATH, PATH_OBJECT - + "info_tsk.gif", true); //$NON-NLS-1$ - - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_LCL_FLAT_LAYOUT, - PATH_ELOCALTOOL + "flatLayout.gif", true); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_LCL_HIERARCHICAL_LAYOUT, - PATH_ELOCALTOOL + "hierarchicalLayout.gif", true); //$NON-NLS-1$ - declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_PROBLEM_CATEGORY, - PATH_ETOOL + "problem_category.gif", true); //$NON-NLS-1$ - } - - /** - * Declares an IDE-specific workbench image. - * - * Declares all IDE-specific workbench images. This includes both "shared" - * images (named in ( @link IDE.SharedImages} ) and internal images (named in - * {@link org.eclipse.ui.internal.ide.IDEInternalWorkbenchImages}). - * - * @param symbolicName - * the symbolic name of the image - * @param path - * the path of the image file; this path is relative to the base - * of the IDE plug-in - * @param shared - * true if this is a shared image, and - * false if this is not a shared image - */ - private void declareWorkbenchImage(Bundle ideBundle, String symbolicName, String path, boolean shared) { - URL url = FileLocator.find(ideBundle, new Path(path), null); - ImageDescriptor desc = ImageDescriptor.createFromURL(url); - getWorkbenchConfigurer().declareImage(symbolicName, desc, shared); - } -} diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationWorkbenchWindowAdvisor.java b/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationWorkbenchWindowAdvisor.java deleted file mode 100644 index 5e8f830446..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationWorkbenchWindowAdvisor.java +++ /dev/null @@ -1,165 +0,0 @@ -/********************************************************************** - * Copyright (c) 2013, 2014 Ericsson - * - * All rights reserved. This program and the accompanying materials are - * made available under the terms of the Eclipse Public License v1.0 which - * accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Bernd Hufmann - Initial API and implementation - **********************************************************************/ -package org.eclipse.linuxtools.internal.tracing.rcp.ui; - -import org.eclipse.core.resources.IProject; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.linuxtools.internal.tracing.rcp.ui.cli.CliParser; -import org.eclipse.linuxtools.tmf.core.TmfCommonConstants; -import org.eclipse.linuxtools.tmf.ui.project.model.TmfOpenTraceHelper; -import org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectRegistry; -import org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder; -import org.eclipse.ui.IPerspectiveDescriptor; -import org.eclipse.ui.IPerspectiveListener; -import org.eclipse.ui.IWorkbenchPage; -import org.eclipse.ui.application.ActionBarAdvisor; -import org.eclipse.ui.application.IActionBarConfigurer; -import org.eclipse.ui.application.IWorkbenchWindowConfigurer; -import org.eclipse.ui.application.WorkbenchWindowAdvisor; - -/** - * The WorkbenchAdvisor implementation of the LTTng RCP. - * - * @author Bernd Hufmann - */ -public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor { - - // ------------------------------------------------------------------------ - // Constants - // ------------------------------------------------------------------------ - @SuppressWarnings("nls") - private static final String[] UNWANTED_ACTION_SET = { - "org.eclipse.search.searchActionSet", - "org.eclipse.rse.core.search.searchActionSet", - "org.eclipse.debug.ui.launchActionSet", - "org.eclipse.debug.ui.debugActionSet", - "org.eclipse.debug.ui.breakpointActionSet", - "org.eclipse.team.ui", - "org.eclipse.ui.externaltools.ExternalToolsSet", -// "org.eclipse.update.ui.softwareUpdates", -// "org.eclipse.ui.edit.text.actionSet.navigation", -// "org.eclipse.ui.actionSet.keyBindings", -// "org.eclipse.ui.edit.text.actionSet.navigation", - "org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo", -// "org.eclipse.ui.edit.text.actionSet.annotationNavigation", -// "org.eclipse.ui.NavigateActionSet", -// "org.eclipse.jdt.ui.JavaActionSet", -// "org.eclipse.jdt.ui.A_OpenActionSet", -// "org.eclipse.jdt.ui.text.java.actionSet.presentation", -// "org.eclipse.jdt.ui.JavaElementCreationActionSet", -// "org.eclipse.jdt.ui.CodingActionSet", -// "org.eclipse.jdt.ui.SearchActionSet", -// "org.eclipse.jdt.debug.ui.JDTDebugActionSet", - "org.eclipse.ui.edit.text.actionSet.openExternalFile", -// "org.eclipse.debug.ui.profileActionSet" - }; - - // ------------------------------------------------------------------------ - // Constructors - // ------------------------------------------------------------------------ - - /** - * Standard constructor - * - * @param configurer - * - the workbench window configurer - */ - public ApplicationWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) { - super(configurer); - } - - // ------------------------------------------------------------------------ - // Operations - // ------------------------------------------------------------------------ - @Override - public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer) { - return new ApplicationActionBarAdvisor(configurer); - } - - @Override - public void preWindowOpen() { - IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); - configurer.setShowCoolBar(false); - configurer.setShowStatusLine(true); - configurer.setShowProgressIndicator(true); - } - - @Override - public void postWindowCreate() { - super.postWindowOpen(); - TracingRcpPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().addPerspectiveListener(new PerspectiveListener()); - IProject defaultProject = createDefaultProject(); - hideActionSets(); - openTraceIfNecessary(defaultProject); - } - - - - private static void openTraceIfNecessary(IProject project) { - String traceToOpen = TracingRcpPlugin.getDefault().getCli().getArgument(CliParser.OPEN_FILE_LOCATION); - if (traceToOpen != null) { - try { - TmfTraceFolder destinationFolder = TmfProjectRegistry.getProject(project, true).getTracesFolder(); - TmfOpenTraceHelper.openTraceFromPath(destinationFolder, traceToOpen, TracingRcpPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getShell()); - } catch (CoreException e) { - TracingRcpPlugin.getDefault().logError(e.getMessage()); - } - - } - } - - // ------------------------------------------------------------------------ - // Helper methods - // ------------------------------------------------------------------------ - - /** - * Hides the unwanted action sets - */ - private static void hideActionSets() { - - IWorkbenchPage page = TracingRcpPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage(); - - for (int i = 0; i < UNWANTED_ACTION_SET.length; i++) { - page.hideActionSet(UNWANTED_ACTION_SET[i]); - } - } - - private static IProject createDefaultProject() { - return TmfProjectRegistry.createProject(TmfCommonConstants.DEFAULT_TRACE_PROJECT_NAME, null, new NullProgressMonitor()); - } - - /** - * A perspective listener implementation - * - * @author Bernd Hufmann - */ - public class PerspectiveListener implements IPerspectiveListener { - - /** - * Default Constructor - */ - public PerspectiveListener() { - } - - @Override - public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) { - createDefaultProject(); - hideActionSets(); - } - - @Override - public void perspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) { - } - } - -} diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/TracingRcpPlugin.java b/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/TracingRcpPlugin.java deleted file mode 100644 index 1c1f3fea77..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/TracingRcpPlugin.java +++ /dev/null @@ -1,167 +0,0 @@ -/********************************************************************** - * Copyright (c) 2013, 2014 Ericsson - * - * All rights reserved. This program and the accompanying materials are - * made available under the terms of the Eclipse Public License v1.0 which - * accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Bernd Hufmann - Initial API and implementation - * Matthew Khouzam - Implementation of File->Open - **********************************************************************/ -package org.eclipse.linuxtools.internal.tracing.rcp.ui; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Platform; -import org.eclipse.core.runtime.Status; -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.linuxtools.internal.tracing.rcp.ui.cli.TracingRCPCliException; -import org.eclipse.linuxtools.internal.tracing.rcp.ui.cli.CliParser; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle. - * - * @author Bernd Hufmann - */ -public class TracingRcpPlugin extends AbstractUIPlugin { - - // ------------------------------------------------------------------------ - // Constants - // ------------------------------------------------------------------------ - /** - * The plug-in ID - */ - public static final String PLUGIN_ID = "org.eclipse.linuxtools.tracing.rcp.ui"; //$NON-NLS-1$ - - /** - * The default workspace name - */ - public static final String WORKSPACE_NAME = ".traceviewer"; //$NON-NLS-1$ - - // ------------------------------------------------------------------------ - // Attributes - // ------------------------------------------------------------------------ - - // The shared instance - private static TracingRcpPlugin fPlugin; - private static CliParser fCli; - - // ------------------------------------------------------------------------ - // Constructor(s) - // ------------------------------------------------------------------------ - /** - * The default constructor - */ - public TracingRcpPlugin() { - } - - // ------------------------------------------------------------------------ - // Accessors - // ------------------------------------------------------------------------ - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static TracingRcpPlugin getDefault() { - return fPlugin; - } - - /** - * Gets the tracing workspace root directory. By default it uses the user's - * home directory. This value can be overwritten by using the global - * TRACING_RCP_ROOT environment variable. - * - * @return the tracing workspace root directory - */ - public static String getWorkspaceRoot() { - /* Look for the environment variable in the global environment variables */ - String workspaceRoot = System.getenv().get("TRACING_RCP_ROOT"); //$NON-NLS-1$ - if (workspaceRoot == null) { - /* Use the user's home directory */ - workspaceRoot = System.getProperty("user.home"); //$NON-NLS-1$ - } - return workspaceRoot; - } - - // ------------------------------------------------------------------------ - // Operation - // ------------------------------------------------------------------------ - @Override - public void start(BundleContext context) throws Exception { - super.start(context); - fPlugin = this; - String args[] = Platform.getCommandLineArgs(); - fCli = null; - try { - fCli = new CliParser(args); - } catch (TracingRCPCliException e) { - logError(e.getMessage()); - } - } - - @Override - public void stop(BundleContext context) throws Exception { - fPlugin = null; - super.stop(context); - } - - /** - * Gets the command line parser - * - * @return the command line parser - */ - public CliParser getCli() { - return fCli; - } - - /** - * Returns an image descriptor for the image file at the given plug-in - * relative path - * - * @param path - * the path - * @return the image descriptor - */ - public static ImageDescriptor getImageDescriptor(String path) { - return imageDescriptorFromPlugin(PLUGIN_ID, path); - } - - /** - * Log an error - * - * @param message - * the error message to log - */ - public void logError(String message) { - getDefault().getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, message)); - } - - /** - * Log an error - * - * @param message - * the error message to log - * @param e - * the exception to log - */ - public void logError(String message, Exception e) { - getDefault().getLog().log( - new Status(IStatus.ERROR, PLUGIN_ID, message, e)); - } - - /** - * Log a warning - * - * @param message - * the warning message to log - */ - public void logWarning(String message) { - getDefault().getLog().log( - new Status(IStatus.WARNING, PLUGIN_ID, message)); - } - -} diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/cli/CliParser.java b/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/cli/CliParser.java deleted file mode 100644 index f1e6977f0a..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/cli/CliParser.java +++ /dev/null @@ -1,75 +0,0 @@ -/********************************************************************** - * Copyright (c) 2013, 2014 Ericsson - * - * All rights reserved. This program and the accompanying materials are - * made available under the terms of the Eclipse Public License v1.0 which - * accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Matthew Khouzam- Initial API and implementation - **********************************************************************/ - -package org.eclipse.linuxtools.internal.tracing.rcp.ui.cli; - -import java.util.HashMap; -import java.util.Map; - -import org.eclipse.linuxtools.internal.tracing.rcp.ui.messages.Messages; - -/** - * Command line parser - * - * @author Matthew Khouzam - */ -public class CliParser { - - private static final String NOUI_ARG = "--NOUI"; //$NON-NLS-1$ - - private static final String OPEN_ARG = "--open"; //$NON-NLS-1$ - - private final Map params = new HashMap<>(); - - /** Open key */ - public static final String OPEN_FILE_LOCATION = ".,-=open=-,."; //$NON-NLS-1$ - /** No ui key */ - public static final String NO_UI = ".,-=noui=-,."; //$NON-NLS-1$ - - /** - * Constructor - * - * @param args - * the command line arguments - * @throws TracingRCPCliException - * an error occurred parsing the cli - */ - public CliParser(final String[] args) throws TracingRCPCliException { - for (int i = 0; i < args.length; i++) { - if (args[i].equals(OPEN_ARG)) { - put(OPEN_FILE_LOCATION, args, i); - // skip since we have two args - i++; - } - else if (args[i].equals(NOUI_ARG)) { - params.put(NO_UI, new String()); - } - } - } - - private void put(String key, String[] args, int pos) throws TracingRCPCliException { - if (args.length <= pos) { - throw new TracingRCPCliException(Messages.CliParser_MalformedCommand + ':' + ' ' + args[pos]); - } - params.put(key, args[pos + 1]); - } - - /** - * Get a parameter from the parsed command line - * @param key OPEN_FILE_LOCATION or NO_UI - * @return the value of the parameter, can be null - */ - public String getArgument(String key) { - return params.get(key); - } - -} diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/cli/TracingRCPCliException.java b/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/cli/TracingRCPCliException.java deleted file mode 100644 index 8c20e1bdc2..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/cli/TracingRCPCliException.java +++ /dev/null @@ -1,40 +0,0 @@ -/********************************************************************** - * Copyright (c) 2013 Ericsson - * - * All rights reserved. This program and the accompanying materials are - * made available under the terms of the Eclipse Public License v1.0 which - * accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Matthew Khouzam- Initial API and implementation - **********************************************************************/ - -package org.eclipse.linuxtools.internal.tracing.rcp.ui.cli; - -/** - * Command line exceptions. - * - * @author Matthew Khouzam - */ -public class TracingRCPCliException extends Exception { - - /** - * Serial UID - */ - private static final long serialVersionUID = -844846299720475123L; - - /** - * Constructs a new exception with the specified detail message. The cause - * is not initialized, and may subsequently be initialized by a call to - * {@link #initCause}. - * - * @param message - * the detail message. The detail message is saved for later - * retrieval by the {@link #getMessage()} method. - */ - public TracingRCPCliException(String message) { - super(message); - } - -} diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/messages/Messages.java b/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/messages/Messages.java deleted file mode 100644 index 06b5d266ef..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/messages/Messages.java +++ /dev/null @@ -1,49 +0,0 @@ -/********************************************************************** - * Copyright (c) 2013 Ericsson - * - * All rights reserved. This program and the accompanying materials are - * made available under the terms of the Eclipse Public License v1.0 which - * accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Bernd Hufmann - Initial API and implementation - **********************************************************************/ -package org.eclipse.linuxtools.internal.tracing.rcp.ui.messages; - -import org.eclipse.osgi.util.NLS; - -/** - * Messages file for the tracing RCP. - * - * @author Bernd Hufmann - */ -public class Messages extends NLS { - private static final String BUNDLE_NAME = "org.eclipse.linuxtools.internal.tracing.rcp.ui.messages.messages"; //$NON-NLS-1$ - - /** Error title for error during workspace creation */ - public static String Application_WorkspaceCreationError; - /** Error message if workspace root doesn't exist */ - public static String Application_WorkspaceRootNotExistError; - /** Error message if workspace root is write protected */ - public static String Application_WorkspaceRootPermissionError; - /** Error message if workspace is already in use */ - public static String Application_WorkspaceInUseError; - /** Error message if workspace can't be saved during shutdown */ - public static String Application_WorkspaceSavingError; - /** Error message for internal errors */ - public static String Application_InternalError; - - /** Malformed command */ - public static String CliParser_MalformedCommand; - /** Unkown command */ - public static String CliParser_UnknownCommand; - - static { - // initialize resource bundle - NLS.initializeMessages(BUNDLE_NAME, Messages.class); - } - - private Messages() { - } -} diff --git a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/messages/messages.properties b/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/messages/messages.properties deleted file mode 100644 index e10d1cd0c4..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/messages/messages.properties +++ /dev/null @@ -1,19 +0,0 @@ -############################################################################### -# Copyright (c) 2013 Ericsson. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Bernd Hufmann - initial API and implementation -############################################################################### -Application_WorkspaceCreationError=Workspace Creation Error -Application_WorkspaceRootNotExistError=Workspace root {0} doesn't exists.\n\nPlease create the workspace root. -Application_WorkspaceRootPermissionError=No permission to create workspace in workspace root {0}\n\nPlease change permission of the workspace root. -Application_WorkspaceInUseError=Could not launch the application because the associated workspace is currently in use. \n\n{0} -Application_InternalError=Internal Error -Application_WorkspaceSavingError=Problem saving workspace -CliParser_MalformedCommand=malformed command -CliParser_UnknownCommand=unknown command diff --git a/org.eclipse.linuxtools.tracing.rcp/.project b/org.eclipse.linuxtools.tracing.rcp/.project deleted file mode 100644 index 97b38e425c..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - org.eclipse.linuxtools.tracing.rcp - - - - - - org.eclipse.pde.FeatureBuilder - - - - - - org.eclipse.pde.FeatureNature - - diff --git a/org.eclipse.linuxtools.tracing.rcp/.settings/org.eclipse.core.resources.prefs b/org.eclipse.linuxtools.tracing.rcp/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c0203..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/org.eclipse.linuxtools.tracing.rcp/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.linuxtools.tracing.rcp/.settings/org.eclipse.core.runtime.prefs deleted file mode 100644 index 5a0ad22d2a..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp/.settings/org.eclipse.core.runtime.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -line.separator=\n diff --git a/org.eclipse.linuxtools.tracing.rcp/build.properties b/org.eclipse.linuxtools.tracing.rcp/build.properties deleted file mode 100644 index 988d4c1b15..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp/build.properties +++ /dev/null @@ -1,14 +0,0 @@ -############################################################################### -# Copyright (c) 2014 Ericsson -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Ericsson - Initial API and implementation -############################################################################### -bin.includes = feature.xml,\ - feature.properties,\ - p2.inf diff --git a/org.eclipse.linuxtools.tracing.rcp/feature.properties b/org.eclipse.linuxtools.tracing.rcp/feature.properties deleted file mode 100644 index 0e59de1a29..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp/feature.properties +++ /dev/null @@ -1,20 +0,0 @@ -############################################################################### -# Copyright (c) 2013 Ericsson -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Bernd Hufmann - Initial API and implementation -############################################################################### - -featureName=Linux Tools Trace Viewer Feature - -description=Feature aggregating the plug-in dependencies for the Trace Viewer application. - -featureProvider=Eclipse Linux Tools - -copyright=Copyright 2014 Ericsson - diff --git a/org.eclipse.linuxtools.tracing.rcp/feature.xml b/org.eclipse.linuxtools.tracing.rcp/feature.xml deleted file mode 100644 index ecab6335c5..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp/feature.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - %description - - - - %copyright - - - - %license - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.linuxtools.tracing.rcp/p2.inf b/org.eclipse.linuxtools.tracing.rcp/p2.inf deleted file mode 100644 index 5246a0c824..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp/p2.inf +++ /dev/null @@ -1,3 +0,0 @@ -instructions.configure=\ -org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/linuxtools/updates-nightly,type:0,name:Linux Tools,enabled:false); \ -org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/linuxtools/updates-nightly,type:1,name:Linux Tools,enabled:false); diff --git a/org.eclipse.linuxtools.tracing.rcp/pom.xml b/org.eclipse.linuxtools.tracing.rcp/pom.xml deleted file mode 100644 index 4a5eed2ca8..0000000000 --- a/org.eclipse.linuxtools.tracing.rcp/pom.xml +++ /dev/null @@ -1,97 +0,0 @@ - - - - 4.0.0 - - - org.eclipse.tracecompass - org.eclipse.tracecompass - 3.2.0-SNAPSHOT - - - org.eclipse.linuxtools.tracing.rcp - 1.1.0-SNAPSHOT - eclipse-feature - - Linux Tools Trace Viewer Feature - - org.eclipse.linuxtools.tracing.rcp - - - - - org.eclipse.tycho.extras - tycho-source-feature-plugin - - - source-feature - package - - source-feature - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - org.eclipse.tycho - tycho-p2-plugin - ${tycho-version} - - - attached-p2-metadata - package - - p2-metadata - - - - - - - - diff --git a/org.eclipse.tracecompass.rcp.branding.feature/.project b/org.eclipse.tracecompass.rcp.branding.feature/.project new file mode 100644 index 0000000000..b30f299394 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding.feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.tracecompass.rcp.branding.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/org.eclipse.tracecompass.rcp.branding.feature/.settings/org.eclipse.core.resources.prefs b/org.eclipse.tracecompass.rcp.branding.feature/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding.feature/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.eclipse.tracecompass.rcp.branding.feature/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.tracecompass.rcp.branding.feature/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..5a0ad22d2a --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding.feature/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\n diff --git a/org.eclipse.tracecompass.rcp.branding.feature/build.properties b/org.eclipse.tracecompass.rcp.branding.feature/build.properties new file mode 100644 index 0000000000..bc2d9af3a2 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding.feature/build.properties @@ -0,0 +1,15 @@ +############################################################################### +# Copyright (c) 2014 Ericsson +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Ericsson - Initial API and implementation +############################################################################### + +bin.includes = feature.xml,\ + feature.properties,\ + p2.inf diff --git a/org.eclipse.tracecompass.rcp.branding.feature/feature.properties b/org.eclipse.tracecompass.rcp.branding.feature/feature.properties new file mode 100644 index 0000000000..fe8382be8c --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding.feature/feature.properties @@ -0,0 +1,20 @@ +############################################################################### +# Copyright (c) 2013 Ericsson +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Bernd Hufmann - Initial API and implementation +############################################################################### + +featureName=Trace Compass RCP Branding Feature + +description=Feature provides the Trace Compass RCP branding information. + +featureProvider=Eclipse Trace Compass + +copyright=Copyright 2014 Ericsson + diff --git a/org.eclipse.tracecompass.rcp.branding.feature/feature.xml b/org.eclipse.tracecompass.rcp.branding.feature/feature.xml new file mode 100644 index 0000000000..95b2dd7e92 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding.feature/feature.xml @@ -0,0 +1,32 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + diff --git a/org.eclipse.tracecompass.rcp.branding.feature/p2.inf b/org.eclipse.tracecompass.rcp.branding.feature/p2.inf new file mode 100644 index 0000000000..5246a0c824 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding.feature/p2.inf @@ -0,0 +1,3 @@ +instructions.configure=\ +org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/linuxtools/updates-nightly,type:0,name:Linux Tools,enabled:false); \ +org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/linuxtools/updates-nightly,type:1,name:Linux Tools,enabled:false); diff --git a/org.eclipse.tracecompass.rcp.branding.feature/pom.xml b/org.eclipse.tracecompass.rcp.branding.feature/pom.xml new file mode 100644 index 0000000000..ad0bc33ce2 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding.feature/pom.xml @@ -0,0 +1,65 @@ + + + + 4.0.0 + + + org.eclipse.tracecompass + org.eclipse.tracecompass + 3.2.0-SNAPSHOT + + + org.eclipse.tracecompass.rcp.branding.feature + org.eclipse.tracecompass + 1.1.0-SNAPSHOT + eclipse-feature + + Trace Compass RCP Branding Feature + + + + + org.eclipse.tycho.extras + tycho-source-feature-plugin + ${tycho-version} + + + source-feature + package + + source-feature + + + + + + + + + + + org.eclipse.tycho + tycho-p2-plugin + ${tycho-version} + + + attached-p2-metadata + package + + p2-metadata + + + + + + + + diff --git a/org.eclipse.tracecompass.rcp.branding/.classpath b/org.eclipse.tracecompass.rcp.branding/.classpath new file mode 100644 index 0000000000..14129a12bf --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/.classpath @@ -0,0 +1,6 @@ + + + + + + diff --git a/org.eclipse.tracecompass.rcp.branding/.project b/org.eclipse.tracecompass.rcp.branding/.project new file mode 100644 index 0000000000..ab4e944231 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/.project @@ -0,0 +1,28 @@ + + + org.eclipse.tracecompass.rcp.branding + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/org.eclipse.tracecompass.rcp.branding/.settings/org.eclipse.core.resources.prefs b/org.eclipse.tracecompass.rcp.branding/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.eclipse.tracecompass.rcp.branding/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.tracecompass.rcp.branding/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..f42de363af --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/org.eclipse.tracecompass.rcp.branding/.settings/org.eclipse.m2e.core.prefs b/org.eclipse.tracecompass.rcp.branding/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000000..f897a7f1cb --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/org.eclipse.tracecompass.rcp.branding/META-INF/MANIFEST.MF b/org.eclipse.tracecompass.rcp.branding/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..9b129d71fa --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 1.1.0.qualifier +Bundle-Localization: plugin +Bundle-SymbolicName: org.eclipse.tracecompass.rcp.branding;singleton:=true +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Eclipse-BundleShape: dir +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.ui.intro diff --git a/org.eclipse.tracecompass.rcp.branding/about.html b/org.eclipse.tracecompass.rcp.branding/about.html new file mode 100644 index 0000000000..a01ee844fb --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 5, 2006

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/org.eclipse.tracecompass.rcp.branding/about.ini b/org.eclipse.tracecompass.rcp.branding/about.ini new file mode 100644 index 0000000000..6443de87f7 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/about.ini @@ -0,0 +1,32 @@ +# about.ini +# contains information about a feature +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# "%key" are externalized strings defined in about.properties +# This file does not need to be translated. + +# Property "aboutText" contains blurb for "About" dialog (translated) +aboutText=%blurb + +# Property "windowImage" contains path to window icon (16x16) +# needed for primary features only + +# Property "featureImage" contains path to feature image (32x32) +featureImage=icons/alt_window_32.gif + +# Property "aboutImage" contains path to product image (500x330 or 115x164) +# needed for primary features only +aboutImage=icons/alt_about.gif + +# Property "appName" contains name of the application (translated) +# needed for primary features only + +# Property "welcomePage" contains path to welcome page (special XML-based format) +# optional + +# Property "welcomePerspective" contains the id of the perspective in which the +# welcome page is to be opened. +# optional + + + + diff --git a/org.eclipse.tracecompass.rcp.branding/about.properties b/org.eclipse.tracecompass.rcp.branding/about.properties new file mode 100644 index 0000000000..b51d5a7b12 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/about.properties @@ -0,0 +1,29 @@ +############################################################################### +# Copyright (c) 2013 Ericsson +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Bernd Hufmann - initial API and implementation +############################################################################### + +# about.properties +# contains externalized strings for about.ini +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# fill-ins are supplied by about.mappings +# This file should be translated. + +blurb=Trace Compass\n\ +\n\ +Version: {featureVersion}\n\ +\n\ +Copyright (c) 2014 Ericsson\n\ +\n\ +All rights reserved. This program and the accompanying materials are\n\ +made available under the terms of the Eclipse Public License v1.0 which\n\ +accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html\n\ + +#Build id: {0}\n\ diff --git a/org.eclipse.tracecompass.rcp.branding/build.properties b/org.eclipse.tracecompass.rcp.branding/build.properties new file mode 100644 index 0000000000..7544f05a19 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/build.properties @@ -0,0 +1,23 @@ +############################################################################### +# Copyright (c) 2014 Ericsson +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Ericsson - Initial API and implementation +############################################################################### + +bin.includes = .,\ + plugin.xml,\ + META-INF/,\ + plugin.properties,\ + icons/,\ + about.html,\ + about.ini,\ + about.properties,\ + plugin_customization.ini,\ + help_data.xml +src.includes = about.html diff --git a/org.eclipse.tracecompass.rcp.branding/help_data.xml b/org.eclipse.tracecompass.rcp.branding/help_data.xml new file mode 100644 index 0000000000..0f9ff99aa4 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/help_data.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/org.eclipse.tracecompass.rcp.branding/icons/alt_about.gif b/org.eclipse.tracecompass.rcp.branding/icons/alt_about.gif new file mode 100644 index 0000000000..20d9ad2d98 Binary files /dev/null and b/org.eclipse.tracecompass.rcp.branding/icons/alt_about.gif differ diff --git a/org.eclipse.tracecompass.rcp.branding/icons/alt_window_16.gif b/org.eclipse.tracecompass.rcp.branding/icons/alt_window_16.gif new file mode 100644 index 0000000000..05626b17d8 Binary files /dev/null and b/org.eclipse.tracecompass.rcp.branding/icons/alt_window_16.gif differ diff --git a/org.eclipse.tracecompass.rcp.branding/icons/alt_window_32.gif b/org.eclipse.tracecompass.rcp.branding/icons/alt_window_32.gif new file mode 100644 index 0000000000..b432f88339 Binary files /dev/null and b/org.eclipse.tracecompass.rcp.branding/icons/alt_window_32.gif differ diff --git a/org.eclipse.tracecompass.rcp.branding/plugin.properties b/org.eclipse.tracecompass.rcp.branding/plugin.properties new file mode 100644 index 0000000000..bc397afbab --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/plugin.properties @@ -0,0 +1,16 @@ +############################################################################### +# Copyright (c) 2013 Ericsson +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Bernd Hufmann - Initial API and implementation +############################################################################### + +Bundle-Vendor = Eclipse Trace Compass +Bundle-Name = Trace Compass RCP Branding Plug-in + + diff --git a/org.eclipse.tracecompass.rcp.branding/plugin.xml b/org.eclipse.tracecompass.rcp.branding/plugin.xml new file mode 100644 index 0000000000..3a2fd322a9 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/plugin.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.tracecompass.rcp.branding/plugin_customization.ini b/org.eclipse.tracecompass.rcp.branding/plugin_customization.ini new file mode 100644 index 0000000000..00920e3859 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/plugin_customization.ini @@ -0,0 +1,4 @@ +org.eclipse.e4.ui.css.swt.theme/themeid=org.eclipse.e4.ui.css.theme.e4_default +org.eclipse.ui/SHOW_PROGRESS_ON_STARTUP = false +org.eclipse.ui/defaultPerspectiveId=org.eclipse.linuxtools.lttng2.kernel.ui.perspective +org.eclipse.help/HELP_DATA=help_data.xml \ No newline at end of file diff --git a/org.eclipse.tracecompass.rcp.branding/pom.xml b/org.eclipse.tracecompass.rcp.branding/pom.xml new file mode 100644 index 0000000000..5529cb8710 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.branding/pom.xml @@ -0,0 +1,19 @@ + + + 4.0.0 + + org.eclipse.tracecompass.rcp.branding + org.eclipse.tracecompass + 1.1.0-SNAPSHOT + eclipse-plugin + + Trace Compass RCP Branding plug-in + + + org.eclipse.tracecompass + org.eclipse.tracecompass + 3.2.0-SNAPSHOT + + + diff --git a/org.eclipse.tracecompass.rcp.help/.empty.dtd b/org.eclipse.tracecompass.rcp.help/.empty.dtd new file mode 100644 index 0000000000..e69de29bb2 diff --git a/org.eclipse.tracecompass.rcp.help/.externalToolBuilders/RCP Help Builder.launch b/org.eclipse.tracecompass.rcp.help/.externalToolBuilders/RCP Help Builder.launch new file mode 100644 index 0000000000..516ed78f5f --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/.externalToolBuilders/RCP Help Builder.launch @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.tracecompass.rcp.help/.project b/org.eclipse.tracecompass.rcp.help/.project new file mode 100644 index 0000000000..57c51b5b98 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/.project @@ -0,0 +1,36 @@ + + + org.eclipse.tracecompass.rcp.help + + + + + + org.eclipse.ui.externaltools.ExternalToolBuilder + clean,full,incremental, + + + LaunchConfigHandle + <project>/.externalToolBuilders/RCP Help Builder.launch + + + incclean + true + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + + diff --git a/org.eclipse.tracecompass.rcp.help/.settings/org.eclipse.core.resources.prefs b/org.eclipse.tracecompass.rcp.help/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.eclipse.tracecompass.rcp.help/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.tracecompass.rcp.help/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..5a0ad22d2a --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\n diff --git a/org.eclipse.tracecompass.rcp.help/META-INF/MANIFEST.MF b/org.eclipse.tracecompass.rcp.help/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..fff7ef2566 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/META-INF/MANIFEST.MF @@ -0,0 +1,8 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 1.1.0.qualifier +Bundle-Localization: plugin +Bundle-SymbolicName: org.eclipse.tracecompass.rcp.help;singleton:=true +Require-Bundle: org.eclipse.help diff --git a/org.eclipse.tracecompass.rcp.help/README b/org.eclipse.tracecompass.rcp.help/README new file mode 100644 index 0000000000..75f8527693 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/README @@ -0,0 +1,19 @@ +This describes how to build the documentation found in the o.e.t.tracing.rcp.help +plugin. + + +Your Eclipse environment first needs to have the "Mylyn Wikitext" plugin +installed. It can be found in the default Eclipse repository, under +"Collaboration". + +Once that is installed, you should be able to use the manual Eclipse builder to +generate the doc : select the tracing.rcp.help plugin and choose, in the top-menu, +"Project -> Build Project". + +It uses the build.xml Ant script, but it's recommended to run it from within +Eclipse, since the builder will pass some environment variables that the script +needs. + +You might get a warning from build.properties because of a missing file. This +file gets generated with the rest of the doc, so once you have run these steps +(and refreshed the project if needed), the warning should disappear. diff --git a/org.eclipse.tracecompass.rcp.help/about.html b/org.eclipse.tracecompass.rcp.help/about.html new file mode 100644 index 0000000000..c258ef55d8 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 5, 2006

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/org.eclipse.tracecompass.rcp.help/book.css b/org.eclipse.tracecompass.rcp.help/book.css new file mode 100644 index 0000000000..797473964a --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/book.css @@ -0,0 +1,59 @@ +/* following font face declarations need to be removed for DBCS */ + + +body, h1, h2, h3, h4, p, table, td, caption, th, ul, ol, dl, li, dd, dt {font-family: Arial, sans-serif; color: #000000} +pre { font-family: Courier, monospace} + +/* end font face declarations */ + +/* following font size declarations should be OK for DBCS */ +body, h1, h2, h3, h4, p, table, td, caption, th, ul, ol, dl, li, dd, dt {font-size: 12pt; } +pre { font-size: 12pt} + +/* end font size declarations */ + +body { background: #FFFFFF} +h1 { font-size: 18pt; margin-top: 5; margin-bottom: 1 } +h2 { font-size: 14pt; margin-top: 25; margin-bottom: 3 } +h3 { font-size: 11pt; margin-top: 20; margin-bottom: 3 } +h4 { font-size: 10pt; margin-top: 20; margin-bottom: 3; font-style: italic } +h5 { font size: 13.5pt; } +p { font-size: 12pt; } +pre { margin-left: 6; font-size: 9pt } + +a:link { color: #006699 } +a:visited { color: #996699 } +a:hover { color: #006699 } + +ul { margin-top: 0; margin-bottom: 10 } +li { margin-top: 0; margin-bottom: 0 } +li p { margin-top: 0; margin-bottom: 0 } +ol { margin-top: 0; margin-bottom: 10 } +dl { margin-top: 0; margin-bottom: 10 } +dt { margin-top: 0; margin-bottom: 0; font-weight: bold } +dd { margin-top: 0; margin-bottom: 0 } +strong { font-weight: bold} +em { font-style: italic} +var { font-style: italic} +div.revision { border-left-style: solid; border-left-width: thin; + border-left-color: #7B68EE; padding-left:5 } +th { font-weight: bold } +.hidden { + display: none; +} + +/* Mike Behm's addition to the style sheet */ +.userinput { font-family: monospace; } +.guitab, .important, .guibutton, .selectblue, .guimenu, .guilabel, +.notetitle { + color: #000000; + font-family: helvetica, arial, sans-serif; + font-weight: bold; + } +div.linux {display:none;} +.firsterm {font-style:italic;} + +.typewriter {font-family:monospace;} +.bold {font-weight:600;} +.linethrough {text-decoration: line-through;} +.underline {text-decoration: underline;} diff --git a/org.eclipse.tracecompass.rcp.help/build.properties b/org.eclipse.tracecompass.rcp.help/build.properties new file mode 100644 index 0000000000..b5da501cb9 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/build.properties @@ -0,0 +1,21 @@ +############################################################################### +# Copyright (c) 2013 Ericsson +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Ericsson - Initial API and implementation +############################################################################### + +bin.includes = plugin.xml,\ + META-INF/,\ + about.html,\ + plugin.properties,\ + book.css,\ + doc/ +jars.extra.classpath = platform:/plugin/org.eclipse.mylyn.wikitext.core,\ + platform:/plugin/org.eclipse.mylyn.wikitext.mediawiki.core +src.includes = about.html diff --git a/org.eclipse.tracecompass.rcp.help/build.xml b/org.eclipse.tracecompass.rcp.help/build.xml new file mode 100644 index 0000000000..9f4b956867 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/build.xml @@ -0,0 +1,90 @@ + + + + Generate Eclipse help content for the Linux Tools Trace Viewer user guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + += Updating This Document = + +This document is maintained in a collaborative wiki. If you wish to update or modify this document please visit +http://wiki.eclipse.org/Linux_Tools_Project/LTTng2/User_Guide. + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.tracecompass.rcp.help/doc/.gitignore b/org.eclipse.tracecompass.rcp.help/doc/.gitignore new file mode 100644 index 0000000000..28d48547c4 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/doc/.gitignore @@ -0,0 +1,2 @@ +*.html +*.xml diff --git a/org.eclipse.tracecompass.rcp.help/doc/User-Guide.mediawiki b/org.eclipse.tracecompass.rcp.help/doc/User-Guide.mediawiki new file mode 100644 index 0000000000..35dcb41bf7 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/doc/User-Guide.mediawiki @@ -0,0 +1,41 @@ += Overview = +The Linux Tools Trace Viewer is a stand-alone application based on Eclipse's +Rich Client Platform (RCP). The purpose of this is to provide a lightweight +application to view and analyze traces. It includes all TMF (Tracing and +Monitoring Framework) features, as well as all features from the LTTng (Linux +Tracing Toolkit next generation) Eclipse integration, which are provided by the +Linux Tools Project. + += Getting Started = +To start the Linux Tools Trace Viewer, go to the directory where the Trace +Viewer is installed and then run the application named '''traceViewer'''. +During startup, the Trace Viewer will create, if necessary, an Eclipse workspace +in the user's home directory with the name ''.traceviewer''. It also creates, if +needed, a default tracing project called ''Tracing''. + +Now the application can be used as described in the User Guide for Linux Tools +LTTng integration (see section [[#References | References]]). + += Opening a Trace = +To open a trace, click on the '''File''' menu and select '''Open Trace...'''. +A new dialog will show for selecting a trace to open. Select a trace file +and then click on '''OK'''. Note that for traces that are directories +(such as Common Trace Format (CTF) traces) any file in the trace directory can +be selected to open the trace. Now, the trace viewer's auto detection algorithm +will validate the trace against all known trace types. If multiple trace types +are valid, a trace type is chosen based on a confidence criteria. The +validation process and the computation of the confidence level are trace type +specific. After successful validation the trace will be opened with the +detected trace type. + +Alternatively the user can launch the trace viewer with the command-line +argument '''--open '''. The trace will then automatically open +using the same algorithm than described above. + +In both of the above cases, the trace will be linked to the default project. + += References = + +* [http://www.eclipse.org/linuxtools/projectPages/lttng/ Linux Tools - LTTng integration] +* [http://www.lttng.org/ LTTng project] + diff --git a/org.eclipse.tracecompass.rcp.help/doc/images/home.gif b/org.eclipse.tracecompass.rcp.help/doc/images/home.gif new file mode 100644 index 0000000000..4472e8ce5b Binary files /dev/null and b/org.eclipse.tracecompass.rcp.help/doc/images/home.gif differ diff --git a/org.eclipse.tracecompass.rcp.help/doc/images/next.gif b/org.eclipse.tracecompass.rcp.help/doc/images/next.gif new file mode 100644 index 0000000000..e2f8c3e1fe Binary files /dev/null and b/org.eclipse.tracecompass.rcp.help/doc/images/next.gif differ diff --git a/org.eclipse.tracecompass.rcp.help/doc/images/prev.gif b/org.eclipse.tracecompass.rcp.help/doc/images/prev.gif new file mode 100644 index 0000000000..4fb4150103 Binary files /dev/null and b/org.eclipse.tracecompass.rcp.help/doc/images/prev.gif differ diff --git a/org.eclipse.tracecompass.rcp.help/plugin.properties b/org.eclipse.tracecompass.rcp.help/plugin.properties new file mode 100644 index 0000000000..e9fdc23af1 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/plugin.properties @@ -0,0 +1,14 @@ +############################################################################### +# Copyright (c) 2013 Ericsson +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Bernd Hufmann - Initial API and implementation +############################################################################### + +Bundle-Vendor = Eclipse Trace Compass +Bundle-Name = Trace Compass RCP Help Plug-in diff --git a/org.eclipse.tracecompass.rcp.help/plugin.xml b/org.eclipse.tracecompass.rcp.help/plugin.xml new file mode 100644 index 0000000000..8236399816 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/plugin.xml @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/org.eclipse.tracecompass.rcp.help/pom.xml b/org.eclipse.tracecompass.rcp.help/pom.xml new file mode 100644 index 0000000000..9876334f62 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.help/pom.xml @@ -0,0 +1,86 @@ + + + + 4.0.0 + + + org.eclipse.tracecompass + org.eclipse.tracecompass + 3.2.0-SNAPSHOT + + + org.eclipse.tracecompass.rcp.help + 1.1.0-SNAPSHOT + eclipse-plugin + + Trace Compass RCP Help Plug-in + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + generate-documentation + generate-sources + + Generating Trace Viewer Help Files + + + + + + + run + + + + clean-documentation + clean + + Cleaning up generated Trace Viewer Help Files + + + + + + run + + + + + + + org.apache.ant + ant + 1.8.1 + + + + org.apache.ant + ant-launcher + 1.8.1 + + + + org.apache.ant + ant-nodeps + 1.8.1 + + + + + + + + org.eclipse.tracecompass + diff --git a/org.eclipse.tracecompass.rcp.product/.project b/org.eclipse.tracecompass.rcp.product/.project new file mode 100644 index 0000000000..a82a3b9400 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.product/.project @@ -0,0 +1,11 @@ + + + org.eclipse.tracecompass.rcp.product + + + + + + + + diff --git a/org.eclipse.tracecompass.rcp.product/about.html b/org.eclipse.tracecompass.rcp.product/about.html new file mode 100644 index 0000000000..c258ef55d8 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.product/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 5, 2006

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/org.eclipse.tracecompass.rcp.product/epl-v10.html b/org.eclipse.tracecompass.rcp.product/epl-v10.html new file mode 100644 index 0000000000..9321f4082e --- /dev/null +++ b/org.eclipse.tracecompass.rcp.product/epl-v10.html @@ -0,0 +1,256 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + \ No newline at end of file diff --git a/org.eclipse.tracecompass.rcp.product/license.html b/org.eclipse.tracecompass.rcp.product/license.html new file mode 100644 index 0000000000..6e579a585b --- /dev/null +++ b/org.eclipse.tracecompass.rcp.product/license.html @@ -0,0 +1,164 @@ + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

February 1, 2011

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse + Foundation is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also + available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, +documentation and other files maintained in the Eclipse Foundation +source code + repository ("Repository") in software modules ("Modules") and made +available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to +facilitate delivering, extending, and upgrading the Content. Typical +modules may include plug-ins ("Plug-ins"), plug-in fragments +("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or +Fragments and associated material. Each Feature may be packaged as a +sub-directory in a directory named "features". Within a Feature, files +named "feature.xml" may contain a list of the names and version numbers +of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included +Features"). Within a Feature, files named "feature.xml" may contain a +list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be +contained in files named "about.html" ("Abouts"). The terms and +conditions governing Features and +Included Features should be contained in files named "license.html" +("Feature Licenses"). Abouts and Feature Licenses may be located in any + directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is +installed using the Provisioning Technology (as defined below), you must + agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the +Feature Update License should either provide you with the terms and +conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be +found in the "license" property of files named "feature.properties" +found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the +terms and conditions (or references to such terms and conditions) that +govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. + SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND +CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, +or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions +govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, +examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of +allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This +capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about +packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install + Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to + be presented to, and accepted by, the users of the Provisioning +Technology + in accordance with the Specification. By using Provisioning +Technology in such a manner and making it available in accordance with +the + Specification, you further acknowledge your agreement to, and the +acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in +which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, +extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology +may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user +the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable +Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable +Software Agreement must inform the user of the terms and conditions that + govern + the Installable Software and must solicit acceptance by the end +user in the manner prescribed in such Installable Software Agreement. +Upon such + indication of agreement by the user, the provisioning Technology +will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are + currently may have restrictions on the import, possession, and use, +and/or re-export to + another country, of encryption software. BEFORE using any encryption +software, please check the country's laws, regulations and policies +concerning the import, + possession, or use, and re-export of encryption software, to see if +this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + + \ No newline at end of file diff --git a/org.eclipse.tracecompass.rcp.product/pom.xml b/org.eclipse.tracecompass.rcp.product/pom.xml new file mode 100644 index 0000000000..85e5a4bcd5 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.product/pom.xml @@ -0,0 +1,64 @@ + + + + 4.0.0 + + 1.1.0 + tracing + eclipse-repository + Trace Compass RCP Product + + + org.eclipse.tracecompass + org.eclipse.tracecompass + 3.2.0-SNAPSHOT + + + + org.eclipse.tracecompass.rcp + yyyyMMdd-HHmm + + + + + + org.eclipse.tycho + tycho-p2-director-plugin + ${tycho-version} + + + materialize-products + + materialize-products + + + + archive-products + + archive-products + + + + tar.gz + tar.gz + zip + zip + + + + + + + + trace-compass-${project.version}-${build.timestamp} + ${productId} + trace-compass + + + + + + + org.eclipse.tracecompass + diff --git a/org.eclipse.tracecompass.rcp.product/tracing.product b/org.eclipse.tracecompass.rcp.product/tracing.product new file mode 100644 index 0000000000..e4d33ad07a --- /dev/null +++ b/org.eclipse.tracecompass.rcp.product/tracing.product @@ -0,0 +1,235 @@ + + + + + + + + + Trace Compass + +Version: 1.1.0 + +Copyright (c) 2014 Ericsson + +All rights reserved. This program and the accompanying materials are +made available under the terms of the Eclipse Public License v1.0 which +accompanies this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + + + + + + + + --launcher.XXMaxPermSize 256m -data @noDefault + + --launcher.GTK_version 2 + + -Xms512m -Xmx1024m -Dosgi.requiredJavaVersion=1.7 + + -Xms512m -Xmx1024m -XstartOnFirstThread -Dosgi.requiredJavaVersion=1.7 -Dorg.eclipse.swt.internal.carbon.smallFonts + + -Xms512m -Xmx1024m -Dosgi.requiredJavaVersion=1.7 + + -Xms512m -Xmx1024m -Dosgi.requiredJavaVersion=1.7 + + + + + + + + + + + + + + org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7 + org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7 + org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7 + org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7 + + + + http://eclipse.org/legal/epl/notice.php + + Eclipse Foundation Software User Agreement +February 1, 2011 + +Usage Of Content + +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY &quot;CONTENT&quot;). +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED +BELOW, THEN YOU MAY NOT USE THE CONTENT. + +Applicable Licenses + +Unless otherwise indicated, all Content made available by the +Eclipse Foundation is provided to you under the terms and conditions of +the Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, &quot;Program&quot; will mean the Content. + +Content includes, but is not limited to, source code, object code, +documentation and other files maintained in the Eclipse Foundation source code +repository (&quot;Repository&quot;) in software modules (&quot;Modules&quot;) and made available +as downloadable archives (&quot;Downloads&quot;). + + - Content may be structured and packaged into modules to facilitate delivering, + extending, and upgrading the Content. Typical modules may include plug-ins (&quot;Plug-ins&quot;), + plug-in fragments (&quot;Fragments&quot;), and features (&quot;Features&quot;). + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive) + in a directory named &quot;plugins&quot;. + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. + Each Feature may be packaged as a sub-directory in a directory named &quot;features&quot;. + Within a Feature, files named &quot;feature.xml&quot; may contain a list of the names and version + numbers of the Plug-ins and/or Fragments associated with that Feature. + - Features may also include other Features (&quot;Included Features&quot;). Within a Feature, files + named &quot;feature.xml&quot; may contain a list of the names and version numbers of Included Features. + +The terms and conditions governing Plug-ins and Fragments should be +contained in files named &quot;about.html&quot; (&quot;Abouts&quot;). The terms and +conditions governing Features and Included Features should be contained +in files named &quot;license.html&quot; (&quot;Feature Licenses&quot;). Abouts and Feature +Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations: + + - The top-level (root) directory + - Plug-in and Fragment directories + - Inside Plug-ins and Fragments packaged as JARs + - Sub-directories of the directory named &quot;src&quot; of certain Plug-ins + - Feature directories + +Note: if a Feature made available by the Eclipse Foundation is installed using the +Provisioning Technology (as defined below), you must agree to a license (&quot;Feature +Update License&quot;) during the installation process. If the Feature contains +Included Features, the Feature Update License should either provide you +with the terms and conditions governing the Included Features or inform +you where you can locate them. Feature Update Licenses may be found in +the &quot;license&quot; property of files named &quot;feature.properties&quot; found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the +terms and conditions (or references to such terms and conditions) that +govern your use of the associated Content in that directory. + +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO): + + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html) + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html) + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE) + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0) + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html) + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html) + +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License +is provided, please contact the Eclipse Foundation to determine what terms and conditions +govern that particular Content. + +Use of Provisioning Technology + +The Eclipse Foundation makes available provisioning software, examples of which include, +but are not limited to, p2 and the Eclipse Update Manager (&quot;Provisioning Technology&quot;) for +the purpose of allowing users to install software, documentation, information and/or +other materials (collectively &quot;Installable Software&quot;). This capability is provided with +the intent of allowing such users to install, extend and update Eclipse-based products. +Information about packaging Installable Software is available at +http://eclipse.org/equinox/p2/repository_packaging.html (&quot;Specification&quot;). + +You may use Provisioning Technology to allow other parties to install Installable Software. +You shall be responsible for enabling the applicable license agreements relating to the +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology +in accordance with the Specification. By using Provisioning Technology in such a manner and +making it available in accordance with the Specification, you further acknowledge your +agreement to, and the acquisition of all necessary rights to permit the following: + + 1. A series of actions may occur (&quot;Provisioning Process&quot;) in which a user may execute + the Provisioning Technology on a machine (&quot;Target Machine&quot;) with the intent of installing, + extending or updating the functionality of an Eclipse-based product. + 2. During the Provisioning Process, the Provisioning Technology may cause third party + Installable Software or a portion thereof to be accessed and copied to the Target Machine. + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that + govern the use of the Installable Software (&quot;Installable Software Agreement&quot;) and such + Installable Software Agreement shall be accessed from the Target Machine in accordance + with the Specification. Such Installable Software Agreement must inform the user of the + terms and conditions that govern the Installable Software and must solicit acceptance by + the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation + of the Installable Software. + +Cryptography + +Content may contain encryption software. The country in which you are +currently may have restrictions on the import, possession, and use, +and/or re-export to another country, of encryption software. BEFORE +using any encryption software, please check the country&apos;s laws, +regulations and policies concerning the import, possession, or use, and +re-export of encryption software, to see if this is permitted. + +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.tracecompass.rcp.ui/.classpath b/org.eclipse.tracecompass.rcp.ui/.classpath new file mode 100644 index 0000000000..098194ca4b --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/org.eclipse.tracecompass.rcp.ui/.project b/org.eclipse.tracecompass.rcp.ui/.project new file mode 100644 index 0000000000..8506cbb677 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/.project @@ -0,0 +1,34 @@ + + + org.eclipse.tracecompass.rcp.ui + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.api.tools.apiAnalysisBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.api.tools.apiAnalysisNature + + diff --git a/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.core.resources.prefs b/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..5a0ad22d2a --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\n diff --git a/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..9f3662cd78 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,394 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=enabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=enabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.doc.comment.support=enabled +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=error +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=error +org.eclipse.jdt.core.compiler.problem.deadCode=error +org.eclipse.jdt.core.compiler.problem.deprecation=error +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=error +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=error +org.eclipse.jdt.core.compiler.problem.finalParameterBound=error +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=error +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=error +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=error +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=error +org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.localVariableHiding=error +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=error +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=error +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=enabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=all_standard_tags +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=error +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=error +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=error +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=error +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=warning +org.eclipse.jdt.core.compiler.problem.nullReference=error +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=error +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=error +org.eclipse.jdt.core.compiler.problem.potentialNullReference=error +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=error +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=error +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=error +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=error +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=error +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=enabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=error +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=disabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=error +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=error +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=error +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=error +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=disabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=disabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedImport=error +org.eclipse.jdt.core.compiler.problem.unusedLabel=error +org.eclipse.jdt.core.compiler.problem.unusedLocal=error +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=error +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=error +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=error +org.eclipse.jdt.core.compiler.source=1.7 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=0 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=80 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=false +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=250 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=space +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=false +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 0000000000..4fd0c7006a --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,56 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_profile=_tmf-style +formatter_settings_version=12 +sp_cleanup.add_default_serial_version_id=true +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=false +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=true +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=false +sp_cleanup.format_source_code=false +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=true +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=true +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=false +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=true +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=false +sp_cleanup.remove_unnecessary_nls_tags=false +sp_cleanup.remove_unused_imports=false +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=true +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=true +sp_cleanup.remove_unused_private_types=true +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_blocks=true +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true diff --git a/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.pde.api.tools.prefs b/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.pde.api.tools.prefs new file mode 100644 index 0000000000..acc3abd47c --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.pde.api.tools.prefs @@ -0,0 +1,97 @@ +ANNOTATION_ELEMENT_TYPE_ADDED_METHOD_WITHOUT_DEFAULT_VALUE=Error +ANNOTATION_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +ANNOTATION_ELEMENT_TYPE_REMOVED_FIELD=Error +ANNOTATION_ELEMENT_TYPE_REMOVED_METHOD=Error +ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_API_TYPE=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_API_TYPE=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_TYPE=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_TYPE=Error +API_USE_SCAN_FIELD_SEVERITY=Error +API_USE_SCAN_METHOD_SEVERITY=Error +API_USE_SCAN_TYPE_SEVERITY=Error +CLASS_ELEMENT_TYPE_ADDED_METHOD=Error +CLASS_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error +CLASS_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +CLASS_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error +CLASS_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +CLASS_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error +CLASS_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error +CLASS_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +CLASS_ELEMENT_TYPE_REMOVED_CONSTRUCTOR=Error +CLASS_ELEMENT_TYPE_REMOVED_FIELD=Error +CLASS_ELEMENT_TYPE_REMOVED_METHOD=Error +CLASS_ELEMENT_TYPE_REMOVED_SUPERCLASS=Error +CLASS_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +CLASS_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +CONSTRUCTOR_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +CONSTRUCTOR_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +CONSTRUCTOR_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error +CONSTRUCTOR_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +ENUM_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error +ENUM_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +ENUM_ELEMENT_TYPE_REMOVED_ENUM_CONSTANT=Error +ENUM_ELEMENT_TYPE_REMOVED_FIELD=Error +ENUM_ELEMENT_TYPE_REMOVED_METHOD=Error +ENUM_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +FIELD_ELEMENT_TYPE_ADDED_VALUE=Error +FIELD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +FIELD_ELEMENT_TYPE_CHANGED_FINAL_TO_NON_FINAL_STATIC_CONSTANT=Error +FIELD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error +FIELD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error +FIELD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error +FIELD_ELEMENT_TYPE_CHANGED_TYPE=Error +FIELD_ELEMENT_TYPE_CHANGED_VALUE=Error +FIELD_ELEMENT_TYPE_REMOVED_TYPE_ARGUMENT=Error +FIELD_ELEMENT_TYPE_REMOVED_VALUE=Error +ILLEGAL_EXTEND=Warning +ILLEGAL_IMPLEMENT=Warning +ILLEGAL_INSTANTIATE=Warning +ILLEGAL_OVERRIDE=Warning +ILLEGAL_REFERENCE=Warning +INTERFACE_ELEMENT_TYPE_ADDED_FIELD=Error +INTERFACE_ELEMENT_TYPE_ADDED_METHOD=Error +INTERFACE_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error +INTERFACE_ELEMENT_TYPE_ADDED_SUPER_INTERFACE_WITH_METHODS=Error +INTERFACE_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +INTERFACE_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error +INTERFACE_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +INTERFACE_ELEMENT_TYPE_REMOVED_FIELD=Error +INTERFACE_ELEMENT_TYPE_REMOVED_METHOD=Error +INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +INVALID_JAVADOC_TAG=Warning +INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Warning +LEAK_EXTEND=Warning +LEAK_FIELD_DECL=Warning +LEAK_IMPLEMENT=Warning +LEAK_METHOD_PARAM=Warning +LEAK_METHOD_RETURN_TYPE=Warning +METHOD_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error +METHOD_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +METHOD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +METHOD_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error +METHOD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error +METHOD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error +METHOD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error +METHOD_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error +METHOD_ELEMENT_TYPE_REMOVED_ANNOTATION_DEFAULT_VALUE=Error +METHOD_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +MISSING_EE_DESCRIPTIONS=Ignore +TYPE_PARAMETER_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_CLASS_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_INTERFACE_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_CLASS_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error +UNUSED_PROBLEM_FILTERS=Warning +automatically_removed_unused_problem_filters=false +eclipse.preferences.version=1 +incompatible_api_component_version=Error +incompatible_api_component_version_include_major_without_breaking_change=Disabled +incompatible_api_component_version_include_minor_without_api_change=Disabled +invalid_since_tag_version=Error +malformed_since_tag=Error +missing_since_tag=Error +report_api_breakage_when_major_version_incremented=Disabled +report_resolution_errors_api_component=Warning diff --git a/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.pde.prefs b/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.pde.prefs new file mode 100644 index 0000000000..d92b94fd4b --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=2 +compilers.p.build.java.compiler=2 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=2 +compilers.p.missing-version-import-package=2 +compilers.p.missing-version-require-bundle=2 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=1 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/org.eclipse.tracecompass.rcp.ui/META-INF/MANIFEST.MF b/org.eclipse.tracecompass.rcp.ui/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..8b01efc4c3 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/META-INF/MANIFEST.MF @@ -0,0 +1,23 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 1.1.0.qualifier +Bundle-Localization: plugin +Bundle-SymbolicName: org.eclipse.tracecompass.rcp.ui;singleton:=true +Bundle-Activator: org.eclipse.linuxtools.internal.tracing.rcp.ui.TracingRcpPlugin +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Require-Bundle: org.eclipse.core.commands, + org.eclipse.core.resources, + org.eclipse.core.runtime, + org.eclipse.ui, + org.eclipse.ui.ide, + org.eclipse.ui.workbench, + org.eclipse.tracecompass.tmf.ui;bundle-version="2.0.0", + org.eclipse.tracecompass.tmf.core;bundle-version="2.0.0", + org.eclipse.update.configurator;bundle-version="3.3.200", + org.eclipse.equinox.p2.ui.sdk +Export-Package: org.eclipse.linuxtools.internal.tracing.rcp.ui;x-internal:=true, + org.eclipse.linuxtools.internal.tracing.rcp.ui.cli;x-internal:=true, + org.eclipse.linuxtools.internal.tracing.rcp.ui.messages;x-internal:=true diff --git a/org.eclipse.tracecompass.rcp.ui/about.html b/org.eclipse.tracecompass.rcp.ui/about.html new file mode 100644 index 0000000000..a01ee844fb --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 5, 2006

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/org.eclipse.tracecompass.rcp.ui/build.properties b/org.eclipse.tracecompass.rcp.ui/build.properties new file mode 100644 index 0000000000..caf7d4dbe6 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/build.properties @@ -0,0 +1,21 @@ +############################################################################### +# Copyright (c) 2014 Ericsson +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Ericsson - Initial API and implementation +############################################################################### + +source.. = src/ +output.. = bin/ +bin.includes = plugin.xml,\ + META-INF/,\ + .,\ + plugin.properties,\ + icons/,\ + about.html +src.includes = about.html diff --git a/org.eclipse.tracecompass.rcp.ui/icons/alt_about.gif b/org.eclipse.tracecompass.rcp.ui/icons/alt_about.gif new file mode 100644 index 0000000000..20d9ad2d98 Binary files /dev/null and b/org.eclipse.tracecompass.rcp.ui/icons/alt_about.gif differ diff --git a/org.eclipse.tracecompass.rcp.ui/icons/alt_window_16.gif b/org.eclipse.tracecompass.rcp.ui/icons/alt_window_16.gif new file mode 100644 index 0000000000..05626b17d8 Binary files /dev/null and b/org.eclipse.tracecompass.rcp.ui/icons/alt_window_16.gif differ diff --git a/org.eclipse.tracecompass.rcp.ui/icons/alt_window_32.gif b/org.eclipse.tracecompass.rcp.ui/icons/alt_window_32.gif new file mode 100644 index 0000000000..b432f88339 Binary files /dev/null and b/org.eclipse.tracecompass.rcp.ui/icons/alt_window_32.gif differ diff --git a/org.eclipse.tracecompass.rcp.ui/plugin.properties b/org.eclipse.tracecompass.rcp.ui/plugin.properties new file mode 100644 index 0000000000..3bb4d8861c --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/plugin.properties @@ -0,0 +1,38 @@ +############################################################################### +# Copyright (c) 2013 Ericsson +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Bernd Hufmann - Initial API and implementation +############################################################################### + +Bundle-Vendor = Eclipse Trace Compass +Bundle-Name = Trace Compass RCP UI Plug-in + +menu.main.file = File +menu.main.window = Window +menu.main.help = Help +product.name = Trace Compass +activity.description = Trace Compass RCP +activity.name = Trace Compass RCP +activity.description.javaPerspective = (Unwanted) Java Perspective +activity.name.javaPerspective = Unwanted Java Perspective +activity.description.teamPerspective = (Unwanted) Team Perspective +activity.name.teamPerspective = Unwanted Team Perspective +activity.description.debugPerspective = (Unwanted) Debug Perspective +activity.name.debugPerspective = Unwanted Debug Perspective +activity.description.pluginDevPerspective = (Unwanted) PluginDev Perspective +activity.name.pluginDevPerspective = Unwanted PluginDev Perspective +activity.description.resourcePerspective = (Unwanted) Resource Perspective +activity.name.resourcePerspective = Unwanted Resource Perspective +activity.description.search = (Unwanted) Search Perspective +activity.name.search = Unwanted Search Perspective +command.OpenFile.label = Open Trace... +command.import = Import... +menu.mnemonic = F +menu.label = Open +menu.mnemonic.0 = H diff --git a/org.eclipse.tracecompass.rcp.ui/plugin.xml b/org.eclipse.tracecompass.rcp.ui/plugin.xml new file mode 100644 index 0000000000..68a762bc3a --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/plugin.xml @@ -0,0 +1,144 @@ + + + + + org.eclipse.linuxtools.tracing.rcp.product + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.tracecompass.rcp.ui/pom.xml b/org.eclipse.tracecompass.rcp.ui/pom.xml new file mode 100644 index 0000000000..20026d1874 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/pom.xml @@ -0,0 +1,41 @@ + + + + 4.0.0 + + 1.1.0-SNAPSHOT + org.eclipse.tracecompass.rcp.ui + org.eclipse.tracecompass + + Trace Compass RCP UI Plug-in + + + org.eclipse.tracecompass + org.eclipse.tracecompass + 3.2.0-SNAPSHOT + + + + org.eclipse.tracecompass.rcp.ui.product + + + + + + src + + **/*.java + + + + + + org.eclipse.tycho + tycho-source-plugin + + + + + eclipse-plugin + diff --git a/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/Application.java b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/Application.java new file mode 100644 index 0000000000..7145cdb5b8 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/Application.java @@ -0,0 +1,103 @@ +/********************************************************************** + * Copyright (c) 2013 Ericsson + * + * All rights reserved. This program and the accompanying materials are + * made available under the terms of the Eclipse Public License v1.0 which + * accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Bernd Hufmann - Initial API and implementation + **********************************************************************/ +package org.eclipse.linuxtools.internal.tracing.rcp.ui; + +import java.io.File; +import java.net.URL; +import java.text.MessageFormat; + +import org.eclipse.core.runtime.Platform; +import org.eclipse.equinox.app.IApplication; +import org.eclipse.equinox.app.IApplicationContext; +import org.eclipse.jface.dialogs.MessageDialog; +import org.eclipse.linuxtools.internal.tracing.rcp.ui.messages.Messages; +import org.eclipse.osgi.service.datalocation.Location; +import org.eclipse.swt.widgets.Display; +import org.eclipse.ui.IWorkbench; +import org.eclipse.ui.PlatformUI; + +/** + * This class controls all aspects of the application's execution + * @author Bernd Hufmann + */ +public class Application implements IApplication { + + private Location fInstanceLoc = null; + + @Override + public Object start(IApplicationContext context) throws Exception { + Display display = PlatformUI.createDisplay(); + try { + // fetch the Location that we will be modifying + fInstanceLoc = Platform.getInstanceLocation(); + + // -data @noDefault in .ini allows us to set the workspace here. + // If the user wants to change the location then he has to change + // @noDefault to a specific location or remove -data @noDefault for + // default location + if (!fInstanceLoc.allowsDefault() && !fInstanceLoc.isSet()) { + File workspaceRoot = new File(TracingRcpPlugin.getWorkspaceRoot()); + + if (!workspaceRoot.exists()) { + MessageDialog.openError(display.getActiveShell(), + Messages.Application_WorkspaceCreationError, + MessageFormat.format(Messages.Application_WorkspaceRootNotExistError, new Object[] { TracingRcpPlugin.getWorkspaceRoot() })); + return IApplication.EXIT_OK; + } + + if (!workspaceRoot.canWrite()) { + MessageDialog.openError(display.getActiveShell(), + Messages.Application_WorkspaceCreationError, + MessageFormat.format(Messages.Application_WorkspaceRootPermissionError, new Object[] { TracingRcpPlugin.getWorkspaceRoot() })); + return IApplication.EXIT_OK; + } + + String workspace = TracingRcpPlugin.getWorkspaceRoot() + File.separator + TracingRcpPlugin.WORKSPACE_NAME; + // set location to workspace + fInstanceLoc.set(new URL("file", null, workspace), false); //$NON-NLS-1$ + } + + if (!fInstanceLoc.lock()) { + MessageDialog.openError(display.getActiveShell(), + Messages.Application_WorkspaceCreationError, + MessageFormat.format(Messages.Application_WorkspaceInUseError, new Object[] { fInstanceLoc.getURL().getPath() })); + return IApplication.EXIT_OK; + } + + int returnCode = PlatformUI.createAndRunWorkbench(display, new ApplicationWorkbenchAdvisor()); + if (returnCode == PlatformUI.RETURN_RESTART) { + return IApplication.EXIT_RESTART; + } + return IApplication.EXIT_OK; + } finally { + display.dispose(); + } + } + + @Override + public void stop() { + if (!PlatformUI.isWorkbenchRunning()) { + return; + } + final IWorkbench workbench = PlatformUI.getWorkbench(); + final Display display = workbench.getDisplay(); + fInstanceLoc.release(); + display.syncExec(new Runnable() { + @Override + public void run() { + if (!display.isDisposed()) { + workbench.close(); + } + } + }); + } +} diff --git a/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationActionBarAdvisor.java b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationActionBarAdvisor.java new file mode 100644 index 0000000000..1e3806a9ec --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationActionBarAdvisor.java @@ -0,0 +1,38 @@ +/********************************************************************** + * Copyright (c) 2013 Ericsson + * + * All rights reserved. This program and the accompanying materials are + * made available under the terms of the Eclipse Public License v1.0 which + * accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Bernd Hufmann - Initial API and implementation + **********************************************************************/ +package org.eclipse.linuxtools.internal.tracing.rcp.ui; + +import org.eclipse.ui.application.ActionBarAdvisor; +import org.eclipse.ui.application.IActionBarConfigurer; + +/** + * ActionBarAdvisor implementation of the LTTng RCP. + * + * @author Bernd Hufmann + * + */ +public class ApplicationActionBarAdvisor extends ActionBarAdvisor { + + // ------------------------------------------------------------------------ + // Constructor(s) + // ------------------------------------------------------------------------ + /** + * Default constructor + * + * @param configurer + * - An action bar configure instance + */ + public ApplicationActionBarAdvisor(IActionBarConfigurer configurer) { + super(configurer); + } + +} diff --git a/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationWorkbenchAdvisor.java b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationWorkbenchAdvisor.java new file mode 100644 index 0000000000..5673f8c102 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationWorkbenchAdvisor.java @@ -0,0 +1,239 @@ +/********************************************************************** + * Copyright (c) 2013 Ericsson + * + * All rights reserved. This program and the accompanying materials are + * made available under the terms of the Eclipse Public License v1.0 which + * accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Bernd Hufmann - Initial API and implementation + **********************************************************************/ +package org.eclipse.linuxtools.internal.tracing.rcp.ui; + +import java.lang.reflect.InvocationTargetException; +import java.net.URL; + +import org.eclipse.core.resources.IWorkspace; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.MultiStatus; +import org.eclipse.core.runtime.Path; +import org.eclipse.core.runtime.Platform; +import org.eclipse.core.runtime.Status; +import org.eclipse.jface.dialogs.ErrorDialog; +import org.eclipse.jface.dialogs.ProgressMonitorDialog; +import org.eclipse.jface.operation.IRunnableWithProgress; +import org.eclipse.jface.resource.ImageDescriptor; +import org.eclipse.linuxtools.internal.tracing.rcp.ui.messages.Messages; +import org.eclipse.ui.application.IWorkbenchConfigurer; +import org.eclipse.ui.application.IWorkbenchWindowConfigurer; +import org.eclipse.ui.application.WorkbenchAdvisor; +import org.eclipse.ui.application.WorkbenchWindowAdvisor; +import org.eclipse.ui.ide.IDE; +import org.eclipse.ui.internal.ide.IDEInternalWorkbenchImages; +import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin; +import org.osgi.framework.Bundle; + + +/** + * WorkbenchAdvisor implementation of the LTTng RCP. + * + * @author Bernd Hufmann + */ +@SuppressWarnings("restriction") +public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor { + + // ------------------------------------------------------------------------ + // Constants + // ------------------------------------------------------------------------ + // The default perspective + private static final String PERSPECTIVE_ID = "org.eclipse.linuxtools.tmf.ui.perspective"; //$NON-NLS-1$ + + private final static String ICONS_PATH = "$nl$/icons/full/"; //$NON-NLS-1$ + private final static String PATH_ELOCALTOOL = ICONS_PATH + "elcl16/"; //$NON-NLS-1$ + private final static String PATH_DLOCALTOOL = ICONS_PATH + "dlcl16/"; //$NON-NLS-1$ + private final static String PATH_ETOOL = ICONS_PATH + "etool16/"; //$NON-NLS-1$ + private final static String PATH_DTOOL = ICONS_PATH + "dtool16/"; //$NON-NLS-1$ + private final static String PATH_OBJECT = ICONS_PATH + "obj16/"; //$NON-NLS-1$ + private final static String PATH_WIZBAN = ICONS_PATH + "wizban/";//$NON-NLS-1$ + + // ------------------------------------------------------------------------ + // Operations + // ------------------------------------------------------------------------ + @Override + public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) { + return new ApplicationWorkbenchWindowAdvisor(configurer); + } + + @Override + public void initialize(IWorkbenchConfigurer configurer) { + configurer.setSaveAndRestore(true); + declareWorkbenchImages(); + } + + @Override + public String getInitialWindowPerspectiveId() { + return PERSPECTIVE_ID; + } + + @Override + public IAdaptable getDefaultPageInput() { + IWorkspace workspace = ResourcesPlugin.getWorkspace(); + return workspace.getRoot(); + } + + @Override + public void preStartup() { + IDE.registerAdapters(); + } + + @Override + public void postShutdown() { + // Save workspace + final MultiStatus status = new MultiStatus(TracingRcpPlugin.PLUGIN_ID, 1, Messages.Application_WorkspaceSavingError, null); + try { + IRunnableWithProgress runnable = new IRunnableWithProgress() { + @Override + public void run(IProgressMonitor monitor) { + try { + IWorkspace ws = ResourcesPlugin.getWorkspace(); + status.merge(ws.save(true, monitor)); + } catch (CoreException e) { + status.merge(e.getStatus()); + } + } + }; + new ProgressMonitorDialog(null).run(true, true, runnable); + } catch (InvocationTargetException e) { + status.merge(new Status(IStatus.ERROR, TracingRcpPlugin.PLUGIN_ID, Messages.Application_InternalError, e.getTargetException())); + } catch (InterruptedException e) { + status.merge(Status.CANCEL_STATUS); + } + if (!status.isOK()) { + ErrorDialog.openError(null, Messages.Application_WorkspaceSavingError, null, status, IStatus.ERROR | IStatus.WARNING); + TracingRcpPlugin.getDefault().getLog().log(status); + } + } + + // ------------------------------------------------------------------------ + // Helper methods + // ------------------------------------------------------------------------ + private void declareWorkbenchImages() { + + Bundle ideBundle = Platform.getBundle(IDEWorkbenchPlugin.IDE_WORKBENCH); + + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_BUILD_EXEC, + PATH_ETOOL + "build_exec.gif", false); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_BUILD_EXEC_HOVER, + PATH_ETOOL + "build_exec.gif", false); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_BUILD_EXEC_DISABLED, + PATH_DTOOL + "build_exec.gif", false); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_SEARCH_SRC, + PATH_ETOOL + "search_src.gif", false); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_SEARCH_SRC_HOVER, + PATH_ETOOL + "search_src.gif", false); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_SEARCH_SRC_DISABLED, + PATH_DTOOL + "search_src.gif", false); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_NEXT_NAV, PATH_ETOOL + + "next_nav.gif", false); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_PREVIOUS_NAV, + PATH_ETOOL + "prev_nav.gif", false); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_NEWPRJ_WIZ, + PATH_WIZBAN + "newprj_wiz.png", false); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_NEWFOLDER_WIZ, + PATH_WIZBAN + "newfolder_wiz.png", false); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_NEWFILE_WIZ, + PATH_WIZBAN + "newfile_wiz.png", false); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_IMPORTDIR_WIZ, + PATH_WIZBAN + "importdir_wiz.png", false); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_IMPORTZIP_WIZ, + PATH_WIZBAN + "importzip_wiz.png", false); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_EXPORTDIR_WIZ, + PATH_WIZBAN + "exportdir_wiz.png", false); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_EXPORTZIP_WIZ, + PATH_WIZBAN + "exportzip_wiz.png", false); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, + IDEInternalWorkbenchImages.IMG_WIZBAN_RESOURCEWORKINGSET_WIZ, PATH_WIZBAN + + "workset_wiz.png", false); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_DLGBAN_SAVEAS_DLG, + PATH_WIZBAN + "saveas_wiz.png", false); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_DLGBAN_QUICKFIX_DLG, + PATH_WIZBAN + "quick_fix.png", false); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OBJ_PROJECT, PATH_OBJECT + + "prj_obj.gif", true); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED, PATH_OBJECT + + "cprj_obj.gif", true); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OPEN_MARKER, PATH_ELOCALTOOL + + "gotoobj_tsk.gif", true); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ELCL_QUICK_FIX_ENABLED, + PATH_ELOCALTOOL + "smartmode_co.gif", true); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_DLCL_QUICK_FIX_DISABLED, + PATH_DLOCALTOOL + "smartmode_co.gif", true); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OBJS_TASK_TSK, PATH_OBJECT + + "taskmrk_tsk.gif", true); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OBJS_BKMRK_TSK, PATH_OBJECT + + "bkmrk_tsk.gif", true); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_COMPLETE_TSK, + PATH_OBJECT + "complete_tsk.gif", true); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_INCOMPLETE_TSK, + PATH_OBJECT + "incomplete_tsk.gif", true); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_WELCOME_ITEM, + PATH_OBJECT + "welcome_item.gif", true); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_WELCOME_BANNER, + PATH_OBJECT + "welcome_banner.gif", true); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_ERROR_PATH, + PATH_OBJECT + "error_tsk.gif", true); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_WARNING_PATH, + PATH_OBJECT + "warn_tsk.gif", true); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_INFO_PATH, PATH_OBJECT + + "info_tsk.gif", true); //$NON-NLS-1$ + + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_LCL_FLAT_LAYOUT, + PATH_ELOCALTOOL + "flatLayout.gif", true); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_LCL_HIERARCHICAL_LAYOUT, + PATH_ELOCALTOOL + "hierarchicalLayout.gif", true); //$NON-NLS-1$ + declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_PROBLEM_CATEGORY, + PATH_ETOOL + "problem_category.gif", true); //$NON-NLS-1$ + } + + /** + * Declares an IDE-specific workbench image. + * + * Declares all IDE-specific workbench images. This includes both "shared" + * images (named in ( @link IDE.SharedImages} ) and internal images (named in + * {@link org.eclipse.ui.internal.ide.IDEInternalWorkbenchImages}). + * + * @param symbolicName + * the symbolic name of the image + * @param path + * the path of the image file; this path is relative to the base + * of the IDE plug-in + * @param shared + * true if this is a shared image, and + * false if this is not a shared image + */ + private void declareWorkbenchImage(Bundle ideBundle, String symbolicName, String path, boolean shared) { + URL url = FileLocator.find(ideBundle, new Path(path), null); + ImageDescriptor desc = ImageDescriptor.createFromURL(url); + getWorkbenchConfigurer().declareImage(symbolicName, desc, shared); + } +} diff --git a/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationWorkbenchWindowAdvisor.java b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationWorkbenchWindowAdvisor.java new file mode 100644 index 0000000000..5e8f830446 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/ApplicationWorkbenchWindowAdvisor.java @@ -0,0 +1,165 @@ +/********************************************************************** + * Copyright (c) 2013, 2014 Ericsson + * + * All rights reserved. This program and the accompanying materials are + * made available under the terms of the Eclipse Public License v1.0 which + * accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Bernd Hufmann - Initial API and implementation + **********************************************************************/ +package org.eclipse.linuxtools.internal.tracing.rcp.ui; + +import org.eclipse.core.resources.IProject; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.linuxtools.internal.tracing.rcp.ui.cli.CliParser; +import org.eclipse.linuxtools.tmf.core.TmfCommonConstants; +import org.eclipse.linuxtools.tmf.ui.project.model.TmfOpenTraceHelper; +import org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectRegistry; +import org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder; +import org.eclipse.ui.IPerspectiveDescriptor; +import org.eclipse.ui.IPerspectiveListener; +import org.eclipse.ui.IWorkbenchPage; +import org.eclipse.ui.application.ActionBarAdvisor; +import org.eclipse.ui.application.IActionBarConfigurer; +import org.eclipse.ui.application.IWorkbenchWindowConfigurer; +import org.eclipse.ui.application.WorkbenchWindowAdvisor; + +/** + * The WorkbenchAdvisor implementation of the LTTng RCP. + * + * @author Bernd Hufmann + */ +public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor { + + // ------------------------------------------------------------------------ + // Constants + // ------------------------------------------------------------------------ + @SuppressWarnings("nls") + private static final String[] UNWANTED_ACTION_SET = { + "org.eclipse.search.searchActionSet", + "org.eclipse.rse.core.search.searchActionSet", + "org.eclipse.debug.ui.launchActionSet", + "org.eclipse.debug.ui.debugActionSet", + "org.eclipse.debug.ui.breakpointActionSet", + "org.eclipse.team.ui", + "org.eclipse.ui.externaltools.ExternalToolsSet", +// "org.eclipse.update.ui.softwareUpdates", +// "org.eclipse.ui.edit.text.actionSet.navigation", +// "org.eclipse.ui.actionSet.keyBindings", +// "org.eclipse.ui.edit.text.actionSet.navigation", + "org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo", +// "org.eclipse.ui.edit.text.actionSet.annotationNavigation", +// "org.eclipse.ui.NavigateActionSet", +// "org.eclipse.jdt.ui.JavaActionSet", +// "org.eclipse.jdt.ui.A_OpenActionSet", +// "org.eclipse.jdt.ui.text.java.actionSet.presentation", +// "org.eclipse.jdt.ui.JavaElementCreationActionSet", +// "org.eclipse.jdt.ui.CodingActionSet", +// "org.eclipse.jdt.ui.SearchActionSet", +// "org.eclipse.jdt.debug.ui.JDTDebugActionSet", + "org.eclipse.ui.edit.text.actionSet.openExternalFile", +// "org.eclipse.debug.ui.profileActionSet" + }; + + // ------------------------------------------------------------------------ + // Constructors + // ------------------------------------------------------------------------ + + /** + * Standard constructor + * + * @param configurer + * - the workbench window configurer + */ + public ApplicationWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) { + super(configurer); + } + + // ------------------------------------------------------------------------ + // Operations + // ------------------------------------------------------------------------ + @Override + public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer) { + return new ApplicationActionBarAdvisor(configurer); + } + + @Override + public void preWindowOpen() { + IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); + configurer.setShowCoolBar(false); + configurer.setShowStatusLine(true); + configurer.setShowProgressIndicator(true); + } + + @Override + public void postWindowCreate() { + super.postWindowOpen(); + TracingRcpPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().addPerspectiveListener(new PerspectiveListener()); + IProject defaultProject = createDefaultProject(); + hideActionSets(); + openTraceIfNecessary(defaultProject); + } + + + + private static void openTraceIfNecessary(IProject project) { + String traceToOpen = TracingRcpPlugin.getDefault().getCli().getArgument(CliParser.OPEN_FILE_LOCATION); + if (traceToOpen != null) { + try { + TmfTraceFolder destinationFolder = TmfProjectRegistry.getProject(project, true).getTracesFolder(); + TmfOpenTraceHelper.openTraceFromPath(destinationFolder, traceToOpen, TracingRcpPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getShell()); + } catch (CoreException e) { + TracingRcpPlugin.getDefault().logError(e.getMessage()); + } + + } + } + + // ------------------------------------------------------------------------ + // Helper methods + // ------------------------------------------------------------------------ + + /** + * Hides the unwanted action sets + */ + private static void hideActionSets() { + + IWorkbenchPage page = TracingRcpPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage(); + + for (int i = 0; i < UNWANTED_ACTION_SET.length; i++) { + page.hideActionSet(UNWANTED_ACTION_SET[i]); + } + } + + private static IProject createDefaultProject() { + return TmfProjectRegistry.createProject(TmfCommonConstants.DEFAULT_TRACE_PROJECT_NAME, null, new NullProgressMonitor()); + } + + /** + * A perspective listener implementation + * + * @author Bernd Hufmann + */ + public class PerspectiveListener implements IPerspectiveListener { + + /** + * Default Constructor + */ + public PerspectiveListener() { + } + + @Override + public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) { + createDefaultProject(); + hideActionSets(); + } + + @Override + public void perspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) { + } + } + +} diff --git a/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/TracingRcpPlugin.java b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/TracingRcpPlugin.java new file mode 100644 index 0000000000..1c1f3fea77 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/TracingRcpPlugin.java @@ -0,0 +1,167 @@ +/********************************************************************** + * Copyright (c) 2013, 2014 Ericsson + * + * All rights reserved. This program and the accompanying materials are + * made available under the terms of the Eclipse Public License v1.0 which + * accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Bernd Hufmann - Initial API and implementation + * Matthew Khouzam - Implementation of File->Open + **********************************************************************/ +package org.eclipse.linuxtools.internal.tracing.rcp.ui; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Platform; +import org.eclipse.core.runtime.Status; +import org.eclipse.jface.resource.ImageDescriptor; +import org.eclipse.linuxtools.internal.tracing.rcp.ui.cli.TracingRCPCliException; +import org.eclipse.linuxtools.internal.tracing.rcp.ui.cli.CliParser; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle. + * + * @author Bernd Hufmann + */ +public class TracingRcpPlugin extends AbstractUIPlugin { + + // ------------------------------------------------------------------------ + // Constants + // ------------------------------------------------------------------------ + /** + * The plug-in ID + */ + public static final String PLUGIN_ID = "org.eclipse.linuxtools.tracing.rcp.ui"; //$NON-NLS-1$ + + /** + * The default workspace name + */ + public static final String WORKSPACE_NAME = ".traceviewer"; //$NON-NLS-1$ + + // ------------------------------------------------------------------------ + // Attributes + // ------------------------------------------------------------------------ + + // The shared instance + private static TracingRcpPlugin fPlugin; + private static CliParser fCli; + + // ------------------------------------------------------------------------ + // Constructor(s) + // ------------------------------------------------------------------------ + /** + * The default constructor + */ + public TracingRcpPlugin() { + } + + // ------------------------------------------------------------------------ + // Accessors + // ------------------------------------------------------------------------ + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static TracingRcpPlugin getDefault() { + return fPlugin; + } + + /** + * Gets the tracing workspace root directory. By default it uses the user's + * home directory. This value can be overwritten by using the global + * TRACING_RCP_ROOT environment variable. + * + * @return the tracing workspace root directory + */ + public static String getWorkspaceRoot() { + /* Look for the environment variable in the global environment variables */ + String workspaceRoot = System.getenv().get("TRACING_RCP_ROOT"); //$NON-NLS-1$ + if (workspaceRoot == null) { + /* Use the user's home directory */ + workspaceRoot = System.getProperty("user.home"); //$NON-NLS-1$ + } + return workspaceRoot; + } + + // ------------------------------------------------------------------------ + // Operation + // ------------------------------------------------------------------------ + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + fPlugin = this; + String args[] = Platform.getCommandLineArgs(); + fCli = null; + try { + fCli = new CliParser(args); + } catch (TracingRCPCliException e) { + logError(e.getMessage()); + } + } + + @Override + public void stop(BundleContext context) throws Exception { + fPlugin = null; + super.stop(context); + } + + /** + * Gets the command line parser + * + * @return the command line parser + */ + public CliParser getCli() { + return fCli; + } + + /** + * Returns an image descriptor for the image file at the given plug-in + * relative path + * + * @param path + * the path + * @return the image descriptor + */ + public static ImageDescriptor getImageDescriptor(String path) { + return imageDescriptorFromPlugin(PLUGIN_ID, path); + } + + /** + * Log an error + * + * @param message + * the error message to log + */ + public void logError(String message) { + getDefault().getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, message)); + } + + /** + * Log an error + * + * @param message + * the error message to log + * @param e + * the exception to log + */ + public void logError(String message, Exception e) { + getDefault().getLog().log( + new Status(IStatus.ERROR, PLUGIN_ID, message, e)); + } + + /** + * Log a warning + * + * @param message + * the warning message to log + */ + public void logWarning(String message) { + getDefault().getLog().log( + new Status(IStatus.WARNING, PLUGIN_ID, message)); + } + +} diff --git a/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/cli/CliParser.java b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/cli/CliParser.java new file mode 100644 index 0000000000..f1e6977f0a --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/cli/CliParser.java @@ -0,0 +1,75 @@ +/********************************************************************** + * Copyright (c) 2013, 2014 Ericsson + * + * All rights reserved. This program and the accompanying materials are + * made available under the terms of the Eclipse Public License v1.0 which + * accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Matthew Khouzam- Initial API and implementation + **********************************************************************/ + +package org.eclipse.linuxtools.internal.tracing.rcp.ui.cli; + +import java.util.HashMap; +import java.util.Map; + +import org.eclipse.linuxtools.internal.tracing.rcp.ui.messages.Messages; + +/** + * Command line parser + * + * @author Matthew Khouzam + */ +public class CliParser { + + private static final String NOUI_ARG = "--NOUI"; //$NON-NLS-1$ + + private static final String OPEN_ARG = "--open"; //$NON-NLS-1$ + + private final Map params = new HashMap<>(); + + /** Open key */ + public static final String OPEN_FILE_LOCATION = ".,-=open=-,."; //$NON-NLS-1$ + /** No ui key */ + public static final String NO_UI = ".,-=noui=-,."; //$NON-NLS-1$ + + /** + * Constructor + * + * @param args + * the command line arguments + * @throws TracingRCPCliException + * an error occurred parsing the cli + */ + public CliParser(final String[] args) throws TracingRCPCliException { + for (int i = 0; i < args.length; i++) { + if (args[i].equals(OPEN_ARG)) { + put(OPEN_FILE_LOCATION, args, i); + // skip since we have two args + i++; + } + else if (args[i].equals(NOUI_ARG)) { + params.put(NO_UI, new String()); + } + } + } + + private void put(String key, String[] args, int pos) throws TracingRCPCliException { + if (args.length <= pos) { + throw new TracingRCPCliException(Messages.CliParser_MalformedCommand + ':' + ' ' + args[pos]); + } + params.put(key, args[pos + 1]); + } + + /** + * Get a parameter from the parsed command line + * @param key OPEN_FILE_LOCATION or NO_UI + * @return the value of the parameter, can be null + */ + public String getArgument(String key) { + return params.get(key); + } + +} diff --git a/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/cli/TracingRCPCliException.java b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/cli/TracingRCPCliException.java new file mode 100644 index 0000000000..8c20e1bdc2 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/cli/TracingRCPCliException.java @@ -0,0 +1,40 @@ +/********************************************************************** + * Copyright (c) 2013 Ericsson + * + * All rights reserved. This program and the accompanying materials are + * made available under the terms of the Eclipse Public License v1.0 which + * accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Matthew Khouzam- Initial API and implementation + **********************************************************************/ + +package org.eclipse.linuxtools.internal.tracing.rcp.ui.cli; + +/** + * Command line exceptions. + * + * @author Matthew Khouzam + */ +public class TracingRCPCliException extends Exception { + + /** + * Serial UID + */ + private static final long serialVersionUID = -844846299720475123L; + + /** + * Constructs a new exception with the specified detail message. The cause + * is not initialized, and may subsequently be initialized by a call to + * {@link #initCause}. + * + * @param message + * the detail message. The detail message is saved for later + * retrieval by the {@link #getMessage()} method. + */ + public TracingRCPCliException(String message) { + super(message); + } + +} diff --git a/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/messages/Messages.java b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/messages/Messages.java new file mode 100644 index 0000000000..06b5d266ef --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/messages/Messages.java @@ -0,0 +1,49 @@ +/********************************************************************** + * Copyright (c) 2013 Ericsson + * + * All rights reserved. This program and the accompanying materials are + * made available under the terms of the Eclipse Public License v1.0 which + * accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Bernd Hufmann - Initial API and implementation + **********************************************************************/ +package org.eclipse.linuxtools.internal.tracing.rcp.ui.messages; + +import org.eclipse.osgi.util.NLS; + +/** + * Messages file for the tracing RCP. + * + * @author Bernd Hufmann + */ +public class Messages extends NLS { + private static final String BUNDLE_NAME = "org.eclipse.linuxtools.internal.tracing.rcp.ui.messages.messages"; //$NON-NLS-1$ + + /** Error title for error during workspace creation */ + public static String Application_WorkspaceCreationError; + /** Error message if workspace root doesn't exist */ + public static String Application_WorkspaceRootNotExistError; + /** Error message if workspace root is write protected */ + public static String Application_WorkspaceRootPermissionError; + /** Error message if workspace is already in use */ + public static String Application_WorkspaceInUseError; + /** Error message if workspace can't be saved during shutdown */ + public static String Application_WorkspaceSavingError; + /** Error message for internal errors */ + public static String Application_InternalError; + + /** Malformed command */ + public static String CliParser_MalformedCommand; + /** Unkown command */ + public static String CliParser_UnknownCommand; + + static { + // initialize resource bundle + NLS.initializeMessages(BUNDLE_NAME, Messages.class); + } + + private Messages() { + } +} diff --git a/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/messages/messages.properties b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/messages/messages.properties new file mode 100644 index 0000000000..e10d1cd0c4 --- /dev/null +++ b/org.eclipse.tracecompass.rcp.ui/src/org/eclipse/linuxtools/internal/tracing/rcp/ui/messages/messages.properties @@ -0,0 +1,19 @@ +############################################################################### +# Copyright (c) 2013 Ericsson. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Bernd Hufmann - initial API and implementation +############################################################################### +Application_WorkspaceCreationError=Workspace Creation Error +Application_WorkspaceRootNotExistError=Workspace root {0} doesn't exists.\n\nPlease create the workspace root. +Application_WorkspaceRootPermissionError=No permission to create workspace in workspace root {0}\n\nPlease change permission of the workspace root. +Application_WorkspaceInUseError=Could not launch the application because the associated workspace is currently in use. \n\n{0} +Application_InternalError=Internal Error +Application_WorkspaceSavingError=Problem saving workspace +CliParser_MalformedCommand=malformed command +CliParser_UnknownCommand=unknown command diff --git a/org.eclipse.tracecompass.rcp/.project b/org.eclipse.tracecompass.rcp/.project new file mode 100644 index 0000000000..57e381b4e3 --- /dev/null +++ b/org.eclipse.tracecompass.rcp/.project @@ -0,0 +1,17 @@ + + + org.eclipse.tracecompass.rcp + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/org.eclipse.tracecompass.rcp/.settings/org.eclipse.core.resources.prefs b/org.eclipse.tracecompass.rcp/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/org.eclipse.tracecompass.rcp/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.eclipse.tracecompass.rcp/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.tracecompass.rcp/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..5a0ad22d2a --- /dev/null +++ b/org.eclipse.tracecompass.rcp/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\n diff --git a/org.eclipse.tracecompass.rcp/build.properties b/org.eclipse.tracecompass.rcp/build.properties new file mode 100644 index 0000000000..bc2d9af3a2 --- /dev/null +++ b/org.eclipse.tracecompass.rcp/build.properties @@ -0,0 +1,15 @@ +############################################################################### +# Copyright (c) 2014 Ericsson +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Ericsson - Initial API and implementation +############################################################################### + +bin.includes = feature.xml,\ + feature.properties,\ + p2.inf diff --git a/org.eclipse.tracecompass.rcp/feature.properties b/org.eclipse.tracecompass.rcp/feature.properties new file mode 100644 index 0000000000..ac4a877871 --- /dev/null +++ b/org.eclipse.tracecompass.rcp/feature.properties @@ -0,0 +1,20 @@ +############################################################################### +# Copyright (c) 2013 Ericsson +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Bernd Hufmann - Initial API and implementation +############################################################################### + +featureName=Trace Compass Trace Viewer Feature + +description=Feature aggregating the plug-in dependencies for the Trace Compass application. + +featureProvider=Eclipse Trace Compass + +copyright=Copyright 2014 Ericsson + diff --git a/org.eclipse.tracecompass.rcp/feature.xml b/org.eclipse.tracecompass.rcp/feature.xml new file mode 100644 index 0000000000..c8d8b5e5aa --- /dev/null +++ b/org.eclipse.tracecompass.rcp/feature.xml @@ -0,0 +1,85 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.tracecompass.rcp/p2.inf b/org.eclipse.tracecompass.rcp/p2.inf new file mode 100644 index 0000000000..5246a0c824 --- /dev/null +++ b/org.eclipse.tracecompass.rcp/p2.inf @@ -0,0 +1,3 @@ +instructions.configure=\ +org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/linuxtools/updates-nightly,type:0,name:Linux Tools,enabled:false); \ +org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/linuxtools/updates-nightly,type:1,name:Linux Tools,enabled:false); diff --git a/org.eclipse.tracecompass.rcp/pom.xml b/org.eclipse.tracecompass.rcp/pom.xml new file mode 100644 index 0000000000..6ee5dd132f --- /dev/null +++ b/org.eclipse.tracecompass.rcp/pom.xml @@ -0,0 +1,96 @@ + + + + 4.0.0 + + + org.eclipse.tracecompass + org.eclipse.tracecompass + 3.2.0-SNAPSHOT + + + org.eclipse.tracecompass.rcp + 1.1.0-SNAPSHOT + org.eclipse.tracecompass + eclipse-feature + + Trace Compass RCP Feature + + + + + org.eclipse.tycho.extras + tycho-source-feature-plugin + + + source-feature + package + + source-feature + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + org.eclipse.tycho + tycho-p2-plugin + ${tycho-version} + + + attached-p2-metadata + package + + p2-metadata + + + + + + + + diff --git a/org.eclipse.tracecompass.releng-site/category.xml b/org.eclipse.tracecompass.releng-site/category.xml index 9fdf635b52..29f1753517 100644 --- a/org.eclipse.tracecompass.releng-site/category.xml +++ b/org.eclipse.tracecompass.releng-site/category.xml @@ -15,10 +15,10 @@ - + - + diff --git a/pom.xml b/pom.xml index b558c65a79..58f64d82e4 100644 --- a/pom.xml +++ b/pom.xml @@ -171,11 +171,11 @@ org.eclipse.tracecompass.gdbtrace.ui.tests org.eclipse.tracecompass.gdbtrace.help - org.eclipse.linuxtools.tracing.rcp.branding - org.eclipse.linuxtools.tracing.rcp.branding.feature - org.eclipse.linuxtools.tracing.rcp - org.eclipse.linuxtools.tracing.rcp.help - org.eclipse.linuxtools.tracing.rcp.ui + org.eclipse.tracecompass.rcp.branding + org.eclipse.tracecompass.rcp.branding.feature + org.eclipse.tracecompass.rcp + org.eclipse.tracecompass.rcp.help + org.eclipse.tracecompass.rcp.ui org.eclipse.linuxtools.tracing.examples