avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oberh...@apache.org
Subject svn commit: rev 37410 - in avalon/trunk/central/laboratory/studio/eclipse/ui: . src/org/apache/metro/studio/eclipse/ui/tabgroup
Date Thu, 02 Sep 2004 19:38:41 GMT
Author: oberhack
Date: Thu Sep  2 12:38:41 2004
New Revision: 37410

Added:
   avalon/trunk/central/laboratory/studio/eclipse/ui/src/org/apache/metro/studio/eclipse/ui/tabgroup/
   avalon/trunk/central/laboratory/studio/eclipse/ui/src/org/apache/metro/studio/eclipse/ui/tabgroup/MerlinServerTabGroup.java
Modified:
   avalon/trunk/central/laboratory/studio/eclipse/ui/plugin.xml
Log:


Modified: avalon/trunk/central/laboratory/studio/eclipse/ui/plugin.xml
==============================================================================
--- avalon/trunk/central/laboratory/studio/eclipse/ui/plugin.xml	(original)
+++ avalon/trunk/central/laboratory/studio/eclipse/ui/plugin.xml	Thu Sep  2 12:38:41 2004
@@ -29,6 +29,8 @@
       <import plugin="org.eclipse.core.runtime"/>
       <import plugin="org.apache.metro.studio.core"/>
       <import plugin="org.apache.metro.studio.launch"/>
+      <import plugin="org.eclipse.debug.ui"/>
+      <import plugin="org.eclipse.jdt.debug.ui"/>
    </requires>
 
 
@@ -72,7 +74,14 @@
             id="Viewer.editors.XMLEditor">
       </editor>
    </extension>
-
+   <extension
+         point="org.eclipse.debug.ui.launchConfigurationTabGroups">
+      <launchConfigurationTabGroup
+            type="org.apache.metro.studio.launch.metroLaunchConfigurationDelegate"
+            class="org.apache.metro.studio.eclipse.ui.tabgroup.MerlinServerTabGroup"
+            id="org.apache.metro.studio.metroServerTabGroup">
+      </launchConfigurationTabGroup>
+   </extension>
    <extension
          point="org.eclipse.ui.preferencePages">
       <page

Added: avalon/trunk/central/laboratory/studio/eclipse/ui/src/org/apache/metro/studio/eclipse/ui/tabgroup/MerlinServerTabGroup.java
==============================================================================
--- (empty file)
+++ avalon/trunk/central/laboratory/studio/eclipse/ui/src/org/apache/metro/studio/eclipse/ui/tabgroup/MerlinServerTabGroup.java
Thu Sep  2 12:38:41 2004
@@ -0,0 +1,53 @@
+/*
+   
+      Copyright 2004. The Apache Software Foundation.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License. 
+   
+ */
+package org.apache.metro.studio.eclipse.ui.tabgroup;
+
+import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
+import org.eclipse.debug.ui.CommonTab;
+import org.eclipse.debug.ui.EnvironmentTab;
+import org.eclipse.debug.ui.ILaunchConfigurationDialog;
+import org.eclipse.debug.ui.ILaunchConfigurationTab;
+import org.eclipse.debug.ui.sourcelookup.SourceLookupTab;
+import org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab;
+import org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab;
+import org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab;
+
+
+/**
+ * @author <a href="mailto:dev@avalon.apache.org">Avalon Development Team</a>
+ *  
+ */
+
+public class MerlinServerTabGroup extends AbstractLaunchConfigurationTabGroup
+{
+
+    public void createTabs(ILaunchConfigurationDialog dialog, String mode)
+    {
+        ILaunchConfigurationTab[] tabs =
+            new ILaunchConfigurationTab[] {
+                //new JavaMainTab(),
+                new JavaArgumentsTab(),
+                new JavaJRETab(),
+                new JavaClasspathTab(),
+                new SourceLookupTab(),
+                new EnvironmentTab(),
+                new CommonTab()};
+        setTabs(tabs);
+    }
+
+}

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message