Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-06-29 06:56:38 +0000
committerUwe Stieber2012-06-29 06:56:38 +0000
commit17aa1c5e2c4020b0a71a2f4253aaa988f542f973 (patch)
treeef3c931b8b7078cdf9c3531fd6a44c0bb00107af /target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui
parentf1170fc7ec4ac8549afe3a1a05dda42b4bf6dc22 (diff)
downloadorg.eclipse.tcf-17aa1c5e2c4020b0a71a2f4253aaa988f542f973.tar.gz
org.eclipse.tcf-17aa1c5e2c4020b0a71a2f4253aaa988f542f973.tar.xz
org.eclipse.tcf-17aa1c5e2c4020b0a71a2f4253aaa988f542f973.zip
Target Explorer: Add launch configuration tab container editor page
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.properties55
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml31
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/editor/MemoryMapEditorPage.java30
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/editor/PathMapEditorPage.java30
4 files changed, 113 insertions, 33 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.properties b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.properties
index 507c01d04..96f35d4d3 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.properties
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.properties
@@ -1,25 +1,30 @@
-##################################################################################
-# Copyright (c) 2011, 2012 Wind River Systems, Inc. and others. 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:
-# Wind River Systems - initial API and implementation
-##################################################################################
-
-pluginName = Target Explorer, TCF Launching, UI
-providerName = Eclipse.org - TCF
-
-# ***** Command contributions *****
-
-Command.showInDebugView.name=Show In Debug View Command
-Command.showInDebugView.description=Show the selection in the Debug View.
-
-LauchTree.name=Launches
-
-LaunchShortcutHandler.Remote.App.run.name=Run Remote Application
-LaunchShortcutHandler.Remote.App.debug.name=Debug Remote Application
-LaunchShortcut.Remote.App.name=Remote Application
-
-LaunchShortcut.Attach.name=Attach
+##################################################################################
+# Copyright (c) 2011, 2012 Wind River Systems, Inc. and others. 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:
+# Wind River Systems - initial API and implementation
+##################################################################################
+
+pluginName = Target Explorer, TCF Launching, UI
+providerName = Eclipse.org - TCF
+
+# ***** Editor Pages *****
+
+MemoryMapEditorPage.name=Symbol Files
+PathMapEditorPage.name=Path Map
+
+# ***** Command contributions *****
+
+Command.showInDebugView.name=Show In Debug View Command
+Command.showInDebugView.description=Show the selection in the Debug View.
+
+LauchTree.name=Launches
+
+LaunchShortcutHandler.Remote.App.run.name=Run Remote Application
+LaunchShortcutHandler.Remote.App.debug.name=Debug Remote Application
+LaunchShortcut.Remote.App.name=Remote Application
+
+LaunchShortcut.Attach.name=Attach
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml
index 7456361d7..c9e55e800 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml
@@ -47,7 +47,7 @@
label="%LaunchShortcut.Remote.App.name"
icon="icons/obj16/remote_app.gif"
modes="run">
- <class class="org.eclipse.tcf.te.launch.ui.internal.handler.LaunchShortcutHandler">
+ <class class="org.eclipse.tcf.te.launch.ui.handler.LaunchShortcutHandler">
<parameter name="typeId" value="org.eclipse.tcf.te.tcf.launch.type.remote.app"/>
</class>
<contextualLaunch>
@@ -69,7 +69,7 @@
label="%LaunchShortcut.Remote.App.name"
icon="icons/obj16/remote_app.gif"
modes="debug">
- <class class="org.eclipse.tcf.te.launch.ui.internal.handler.LaunchShortcutHandler">
+ <class class="org.eclipse.tcf.te.launch.ui.handler.LaunchShortcutHandler">
<parameter name="typeId" value="org.eclipse.tcf.te.tcf.launch.type.remote.app"/>
</class>
<contextualLaunch>
@@ -91,7 +91,7 @@
label="%LaunchShortcut.Attach.name"
icon="icons/obj16/attach.gif"
modes="debug">
- <class class="org.eclipse.tcf.te.launch.ui.internal.handler.LaunchShortcutHandler">
+ <class class="org.eclipse.tcf.te.launch.ui.handler.LaunchShortcutHandler">
<parameter name="typeId" value="org.eclipse.tcf.te.tcf.launch.type.attach"/>
</class>
<contextualLaunch>
@@ -110,6 +110,21 @@
</shortcut>
</extension>
+<!-- Editor page contributions -->
+ <extension point="org.eclipse.tcf.te.ui.views.editorPages">
+ <editorPage
+ class="org.eclipse.tcf.te.tcf.launch.ui.editor.MemoryMapEditorPage"
+ name="%MemoryMapEditorPage.name"
+ id="org.eclipse.tcf.te.tcf.launch.ui.MemoryMapEditorPage">
+ </editorPage>
+
+ <editorPage
+ class="org.eclipse.tcf.te.tcf.launch.ui.editor.PathMapEditorPage"
+ name="%PathMapEditorPage.name"
+ id="org.eclipse.tcf.te.tcf.launch.ui.PathMapEditorPage">
+ </editorPage>
+ </extension>
+
<!-- Editor page binding contributions -->
<extension point="org.eclipse.tcf.te.ui.views.editorPageBindings">
<editorPageBinding
@@ -145,8 +160,8 @@
name="%LauchTree.name"
icon="icons/obj16/launches_root.gif"
activeByDefault="false"
- contentProvider="org.eclipse.tcf.te.launch.ui.internal.viewer.LaunchNavigatorContentProvider"
- labelProvider="org.eclipse.tcf.te.launch.ui.internal.viewer.LaunchTreeLabelProvider"
+ contentProvider="org.eclipse.tcf.te.launch.ui.viewer.LaunchNavigatorContentProvider"
+ labelProvider="org.eclipse.tcf.te.launch.ui.viewer.LaunchTreeLabelProvider"
priority="lowest">
<triggerPoints>
<instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
@@ -154,7 +169,7 @@
<possibleChildren>
<instanceof value="org.eclipse.tcf.te.launch.ui.model.LaunchNode"/>
</possibleChildren>
- <commonSorter class="org.eclipse.tcf.te.launch.ui.internal.viewer.LaunchTreeViewerSorter"/>
+ <commonSorter class="org.eclipse.tcf.te.launch.ui.viewer.LaunchTreeViewerSorter"/>
</navigatorContent>
</extension>
@@ -279,7 +294,7 @@
<!-- Handler contributions -->
<extension point="org.eclipse.ui.handlers">
<handler commandId="org.eclipse.tcf.te.tcf.ui.launch.remote.app.command.run">
- <class class="org.eclipse.tcf.te.launch.ui.internal.handler.LaunchShortcutHandler">
+ <class class="org.eclipse.tcf.te.launch.ui.handler.LaunchShortcutHandler">
<parameter name="mode" value="run"/>
<parameter name="typeId" value="org.eclipse.tcf.te.tcf.launch.type.remote.app"/>
</class>
@@ -306,7 +321,7 @@
</enabledWhen>
</handler>
<handler commandId="org.eclipse.tcf.te.tcf.ui.launch.remote.app.command.debug">
- <class class="org.eclipse.tcf.te.launch.ui.internal.handler.LaunchShortcutHandler">
+ <class class="org.eclipse.tcf.te.launch.ui.handler.LaunchShortcutHandler">
<parameter name="mode" value="debug"/>
<parameter name="typeId" value="org.eclipse.tcf.te.tcf.launch.type.remote.app"/>
</class>
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/editor/MemoryMapEditorPage.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/editor/MemoryMapEditorPage.java
new file mode 100644
index 000000000..5f099bb35
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/editor/MemoryMapEditorPage.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Wind River Systems, Inc. and others. 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:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.tcf.te.tcf.launch.ui.editor;
+
+import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;
+import org.eclipse.tcf.internal.debug.ui.launch.TCFMemoryMapTab;
+import org.eclipse.tcf.te.launch.ui.editor.AbstractLaunchTabContainerEditorPage;
+
+/**
+ * TCF memory map launch configuration tab container page implementation.
+ */
+@SuppressWarnings("restriction")
+public class MemoryMapEditorPage extends AbstractLaunchTabContainerEditorPage {
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.launch.ui.editor.AbstractLaunchTabContainerEditorPage#createLaunchConfigurationTab()
+ */
+ @Override
+ protected AbstractLaunchConfigurationTab createLaunchConfigurationTab() {
+ return new TCFMemoryMapTab();
+ }
+
+}
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/editor/PathMapEditorPage.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/editor/PathMapEditorPage.java
new file mode 100644
index 000000000..b621108ec
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/editor/PathMapEditorPage.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Wind River Systems, Inc. and others. 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:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.tcf.te.tcf.launch.ui.editor;
+
+import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;
+import org.eclipse.tcf.internal.debug.ui.launch.TCFPathMapTab;
+import org.eclipse.tcf.te.launch.ui.editor.AbstractLaunchTabContainerEditorPage;
+
+/**
+ * TCF path map launch configuration tab container page implementation.
+ */
+@SuppressWarnings("restriction")
+public class PathMapEditorPage extends AbstractLaunchTabContainerEditorPage {
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.launch.ui.editor.AbstractLaunchTabContainerEditorPage#createLaunchConfigurationTab()
+ */
+ @Override
+ protected AbstractLaunchConfigurationTab createLaunchConfigurationTab() {
+ return new TCFPathMapTab();
+ }
+
+}

Back to the top