You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by bh...@apache.org on 2006/12/04 15:19:16 UTC

svn commit: r482181 [1/5] - in /incubator/qpid/trunk/qpid/java/management/eclipse-plugin: ./ META-INF/ bin/ configuration/ configuration/org.eclipse.osgi/ configuration/org.eclipse.osgi/bundles/ configuration/org.eclipse.osgi/bundles/16/ configuration/...

Author: bhupendrab
Date: Mon Dec  4 06:19:10 2006
New Revision: 482181

URL: http://svn.apache.org/viewvc?view=rev&rev=482181
Log: (empty)

Added:
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/META-INF/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/META-INF/MANIFEST.MF
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/bin/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/bin/qpidmc.bat   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.properties   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.xml   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/config.ini
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/org.eclipse.osgi/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/org.eclipse.osgi/bundles/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/org.eclipse.osgi/bundles/16/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/org.eclipse.osgi/bundles/16/1/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/org.eclipse.osgi/bundles/16/1/.cp/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/org.eclipse.osgi/bundles/16/1/.cp/swt-win32-3232.dll   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/Thumbs.db   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/add.gif   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/delete.gif   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/icon_ClosedFolder.gif   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/icon_OpenFolder.gif   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/mbean_view.png   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/notifications.gif   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidConnections.gif   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidmc.gif   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidmc32.bmp   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidmc32.gif   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/reconnect.gif   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/refresh.gif   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/stop.gif   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugin.properties   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugin.xml   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/com.ibm.icu_3.4.4.1.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.commands_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.contenttype_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.expressions_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.jobs_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.registry_3.2.0/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.registry_3.2.0/META-INF/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.registry_3.2.0/META-INF/MANIFEST.MF
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.registry_3.2.0/runtime_registry_compatibility.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.equinox.common_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.equinox.preferences_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.equinox.registry_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.help_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.jface_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.osgi_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.swt.win32.win32.x86_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.swt_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.forms_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench.compatibility_3.2.0/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench.compatibility_3.2.0/META-INF/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench.compatibility_3.2.0/META-INF/MANIFEST.MF
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench.compatibility_3.2.0/compatibility.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui_3.2.0.jar   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/splash.bmp   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Activator.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Application.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationActionBarAdvisor.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationRegistry.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationWorkbenchAdvisor.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationWorkbenchWindowAdvisor.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Constants.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ICommandIds.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ManagedBean.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ManagedObject.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ManagedServer.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Perspective.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ServerRegistry.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/actions/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/actions/AddServer.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/actions/CloseConnection.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/actions/EditAttribute.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/actions/ReconnectServer.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/actions/Refresh.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/actions/RemoveServer.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/exceptions/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/exceptions/InfoRequiredException.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/jmx/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/jmx/ClientListener.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/jmx/ClientNotificationListener.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/jmx/JMXManagedObject.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/jmx/JMXServerRegistry.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/jmx/MBeanUtility.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/model/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/model/AttributeData.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/model/ManagedAttributeModel.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/model/NotificationInfoModel.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/model/NotificationObject.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/model/OperationData.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/model/OperationDataModel.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/model/ParameterData.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/AttributesTabControl.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/INotificationViewer.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/MBeanView.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/NavigationView.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/NotificationsTabControl.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/OperationTabControl.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/TabControl.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/TreeObject.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/ViewUtility.java   (with props)
    incubator/qpid/trunk/qpid/java/management/eclipse-plugin/startup.jar   (with props)

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/META-INF/MANIFEST.MF?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/META-INF/MANIFEST.MF (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/META-INF/MANIFEST.MF Mon Dec  4 06:19:10 2006
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Qpid Management Console Plug-in
+Bundle-SymbolicName: org.apache.qpid.management.ui; singleton:=true
+Bundle-Version: 0.1.0
+Bundle-Activator: org.apache.qpid.management.ui.Activator
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.ui.forms
+Eclipse-LazyStart: true

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/bin/qpidmc.bat
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/bin/qpidmc.bat?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/bin/qpidmc.bat (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/bin/qpidmc.bat Mon Dec  4 06:19:10 2006
@@ -0,0 +1,55 @@
+@REM
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements.  See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership.  The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License.  You may obtain a copy of the License at
+@REM 
+@REM   http://www.apache.org/licenses/LICENSE-2.0
+@REM 
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied.  See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+@REM
+
+@echo off
+REM Script to run the Qpid Management Console
+
+rem Guess QPIDMC_HOME if not defined
+set CURRENT_DIR=%cd%
+if not "%QPIDMC_HOME%" == "" goto gotHome
+set QPIDMC_HOME=%CURRENT_DIR%
+echo %QPIDMC_HOME%
+if exist "%QPIDMC_HOME%\bin\qpidmc.bat" goto okHome
+cd ..
+set QPIDMC_HOME=%cd%
+cd %CURRENT_DIR%
+:gotHome
+if exist "%QPIDMC_HOME%\bin\qpidmc.bat" goto okHome
+echo The QPIDMC_HOME environment variable is not defined correctly
+echo This environment variable is needed to run this program
+goto end
+:okHome
+
+if not "%JAVA_HOME%" == "" goto gotJavaHome
+echo The JAVA_HOME environment variable is not defined
+echo This environment variable is needed to run this program
+goto exit
+:gotJavaHome
+if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
+goto okJavaHome
+:noJavaHome
+echo The JAVA_HOME environment variable is not defined correctly
+echo This environment variable is needed to run this program.
+goto exit
+:okJavaHome
+
+rem Slurp the command line arguments. This loop allows for an unlimited number
+rem of agruments (up to the command line limit, anyway).
+
+"%JAVA_HOME%\bin\java" -Xms40m -Xmx256m -Declipse.consoleLog=true  -jar %QPIDMC_HOME%\startup.jar org.eclipse.core.launcher.Main -name "Qpid Management Console" -nosplash -application org.apache.qpid.management.ui.application -data %QPIDMC_HOME%\data -configuration "file:%QPIDMC_HOME%/configuration" -os win32 -ws win32 -arch x86

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/bin/qpidmc.bat
------------------------------------------------------------------------------
    svn:eol-style = CRLF

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.properties
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.properties?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.properties (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.properties Mon Dec  4 06:19:10 2006
@@ -0,0 +1,8 @@
+source.. = src/main/java/
+output.. = target/classes/
+bin.includes = plugin.xml,\
+               META-INF/,\
+               .,\
+               icons/,\
+               plugin.properties,\
+               splash.bmp

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.xml?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.xml (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.xml Mon Dec  4 06:19:10 2006
@@ -0,0 +1,195 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="org.apache.qpid.management.ui" default="build.update.jar" basedir=".">
+
+    <property name="basews" value="${ws}"/>
+    <property name="baseos" value="${os}"/>
+    <property name="basearch" value="${arch}"/>
+    <property name="basenl" value="${nl}"/>
+
+    <!-- Compiler settings. -->
+    <property name="javacFailOnError" value="false"/>
+    <property name="javacDebugInfo" value="on"/>
+    <property name="javacVerbose" value="false"/>
+    <property name="logExtension" value=".log"/>
+    <property name="compilerArg" value=""/>
+    <property name="javacSource" value="1.5"/>
+    <property name="javacTarget" value="1.5"/>
+    <path id="path_bootclasspath">
+        <fileset dir="${java.home}/lib">
+            <include name="*.jar"/>
+        </fileset>
+    </path>
+    <property name="bootclasspath" refid="path_bootclasspath"/>
+    <property name="bundleJavacSource" value="${javacSource}"/>
+    <property name="bundleJavacTarget" value="${javacTarget}"/>
+    <property name="bundleBootClasspath" value="${bootclasspath}"/>
+    <property name="pluginName" value="org.apache.qpid.management.ui"/>
+    <property name="version" value="0.1.0"/>
+
+    <target name="init" depends="properties">
+        <condition property="pluginTemp" value="${buildTempFolder}/plugins">
+            <isset property="buildTempFolder"/>
+        </condition>
+        <property name="pluginTemp" value="${basedir}"/>
+        <condition property="build.result.folder" value="${pluginTemp}/eclipse-plugin">
+            <isset property="buildTempFolder"/>
+        </condition>
+        <property name="build.result.folder" value="${basedir}"/>
+        <property name="temp.folder" value="${basedir}/temp.folder"/>
+        <property name="plugin.destination" value="${basedir}"/>
+        <property name="target.folder" value="${basedir}/target"/>
+        <property name="compile.folder" value="${target.folder}/classes"/>
+        <property name="plugins.folder" value="${basedir}/plugins"/>
+    </target>
+
+    <target name="properties" if="eclipse.running">
+        <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
+
+    </target>
+
+    <target name="build.update.jar" depends="init" description="Build the plug-in: org.apache.qpid.management.ui for an update site.">
+        <delete dir="${temp.folder}"/>
+        <mkdir dir="${temp.folder}"/>
+        <antcall target="build.jars"/>
+        <antcall target="gather.bin.parts">
+            <param name="destination.temp.folder" value="${temp.folder}/"/>
+        </antcall>
+        <zip destfile="${plugins.folder}/${pluginName}_${version}.jar" basedir="${temp.folder}/${pluginName}" filesonly="false" whenempty="skip" update="false"/>
+        <delete dir="${temp.folder}"/>
+    </target>
+
+    <target name="compile" depends="init" unless="compile" description="Create jar: org.apache.qpid.management.ui compile.">
+        <delete dir="${temp.folder}/compile.bin"/>
+        <mkdir dir="${temp.folder}/compile.bin"/>
+        <path id="compile.classpath">
+            <pathelement path="plugins/org.eclipse.ui_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.core.runtime_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.osgi_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.equinox.common_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.core.jobs_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.core.runtime.compatibility.registry_3.2.0/runtime_registry_compatibility.jar"/>
+            <pathelement path="plugins/org.eclipse.equinox.registry_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.equinox.preferences_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.core.contenttype_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.core.runtime.compatibility.auth_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.swt_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.swt.win32.win32.x86_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.jface_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.core.commands_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.ui.workbench_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.ui.workbench.compatibility_3.2.0/compatibility.jar"/>
+            <pathelement path="plugins/com.ibm.icu_3.4.4.1.jar"/>
+            <pathelement path="plugins/org.eclipse.help_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.core.expressions_3.2.0.jar"/>
+            <pathelement path="plugins/org.eclipse.ui.forms_3.2.0.jar"/>
+        </path>
+        <!-- compile the source code -->
+        <javac destdir="${temp.folder}/compile.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bundleBootClasspath}" source="${bundleJavacSource}" target="${bundleJavacTarget}"     >
+            <compilerarg line="${compilerArg}" compiler="${build.compiler}"/>
+            <classpath refid="compile.classpath" />
+            <src path="src/main/java/"          />
+            <!--compilerarg value="@${basedir}/javaCompiler...args" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" -->
+            <compilerarg line="-log '${temp.folder}/compile.bin${logExtension}'" compiler="org.eclipse.jdt.core.JDTCompilerAdapter"/>
+        </javac>
+        <!-- Copy necessary resources -->
+        <copy todir="${temp.folder}/compile.bin" failonerror="true" overwrite="false">
+            <fileset dir="src/main/java/" excludes="**/*.java, **/package.htm*"         />
+        </copy>
+        <mkdir dir="${build.result.folder}"/>
+        <copy todir="${target.folder}/classes" failonerror="true" overwrite="false">
+            <fileset dir="${temp.folder}/compile.bin"           />
+        </copy>
+        <delete dir="${temp.folder}/compile.bin"/>
+    </target>
+
+    <target name="src.zip" depends="init" unless="src.zip">
+        <mkdir dir="${build.result.folder}"/>
+        <zip destfile="${build.result.folder}/src.zip" filesonly="false" whenempty="skip" update="false">
+            <fileset dir="src/main/java/" includes="**/*.java"          />
+        </zip>
+    </target>
+
+    <target name="build.jars" depends="init" description="Build all the jars for the plug-in: org.apache.qpid.management.ui.">
+        <available property="compile" file="${target.folder}/classes"/>
+        <antcall target="compile"/>
+    </target>
+
+    <target name="build.sources" depends="init">
+        <available property="src.zip" file="${build.result.folder}/src.zip"/>
+        <antcall target="src.zip"/>
+    </target>
+
+    <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
+        <mkdir dir="${destination.temp.folder}/${pluginName}"/>
+        <copy todir="${destination.temp.folder}/${pluginName}" failonerror="true" overwrite="false">
+            <fileset dir="${target.folder}/classes" includes="**"/>
+        </copy>
+        <copy todir="${destination.temp.folder}/${pluginName}" failonerror="true" overwrite="false">
+            <fileset dir="${basedir}" includes="plugin.xml,META-INF/,icons/,plugin.properties,splash.bmp"/>
+        </copy>
+    </target>
+
+    <target name="gather.sources" depends="init" if="destination.temp.folder">
+        <mkdir dir="${destination.temp.folder}"/>
+        <copy file="${build.result.folder}/src.zip" todir="${destination.temp.folder}" failonerror="false" overwrite="false"/>
+    </target>
+
+    <target name="gather.logs" depends="init" if="destination.temp.folder">
+        <mkdir dir="${destination.temp.folder}/${pluginName}_${version}"/>
+        <copy file="${temp.folder}/compile.bin${logExtension}" todir="${destination.temp.folder}/${pluginName}_${version}" failonerror="false" overwrite="false"/>
+    </target>
+
+    <target name="clean" depends="init" description="Clean the plug-in: org.apache.qpid.management.ui of all the zips, jars and logs created.">
+        <delete dir="${target.folder}/classes"/>
+        <delete file="${build.result.folder}/src.zip"/>
+        <delete file="${plugins.folder}/${pluginName}_${version}.jar"/>
+        <delete file="${target.folder}/${pluginName}_${version}.zip"/>
+        <delete dir="${temp.folder}"/>
+    </target>
+
+    <target name="build.zip" depends="init" description="Create a zip containing all the elements for the plug-in: org.apache.qpid.management.ui.">
+        <delete dir="${temp.folder}"/>
+        <mkdir dir="${temp.folder}"/>
+        <antcall target="build.update.jar"/>
+        <antcall target="build.sources"/>
+        <antcall target="gather.sources">
+            <param name="destination.temp.folder" value="${temp.folder}/plugins/${pluginName}_${version}/"/>
+        </antcall>
+        <delete>
+            <fileset dir="${temp.folder}" includes="**/*.bin${logExtension}"/>
+        </delete>
+        <copy todir="${temp.folder}/plugins" failonerror="true" overwrite="false">
+            <fileset dir="${plugins.folder}" includes="${pluginName}_${version}.jar"/>
+        </copy>
+        <zip destfile="${target.folder}/${pluginName}_${version}.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+        <delete dir="${temp.folder}"/>
+    </target>
+    
+    <target name="dist" depends="init" description="Create a zip containing all the elements for deploying the plug-in: org.apache.qpid.management.ui.">
+        <antcall target="clean"/>
+        <antcall target="build.update.jar"/>
+        <antcall target="build.sources"/>
+        <antcall target="gather.sources">
+            <param name="destination.temp.folder" value="${temp.folder}/${pluginName}"/>
+        </antcall>
+            <copy todir="${temp.folder}/${pluginName}/plugins" failonerror="true" overwrite="false">
+                <fileset dir="${plugins.folder}" includes="**"  />
+            </copy>
+         <copy todir="${temp.folder}/${pluginName}/bin" failonerror="true" overwrite="false">
+                <fileset dir="${basedir}/bin" includes="**" />
+        </copy>
+            <copy todir="${temp.folder}/${pluginName}" failonerror="true" overwrite="false">
+                <fileset dir="${basedir}" includes="startup.jar,plugin.xml,META-INF/,icons/,plugin.properties,splash.bmp"/>
+            </copy>
+            <copy todir="${temp.folder}/${pluginName}/configuration" failonerror="true" overwrite="false">
+                <fileset dir="${basedir}/configuration" includes="**"/>
+            </copy>
+        
+            <delete>
+                <fileset dir="${temp.folder}" includes="**/*.bin${logExtension}"/>
+            </delete>
+            <zip destfile="${target.folder}/${pluginName}_${version}.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+            <delete dir="${temp.folder}"/>
+        </target>
+
+</project>

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/config.ini
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/config.ini?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/config.ini (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/config.ini Mon Dec  4 06:19:10 2006
@@ -0,0 +1,6 @@
+#Product Runtime Configuration File
+
+osgi.splashPath=platform:/base/plugins/org.apache.qpid.management.ui
+eclipse.product=org.apache.qpid.management.ui.product
+osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.core.runtime@start,com.ibm.icu,org.apache.qpid.management.ui,org.eclipse.core.commands,org.eclipse.core.contenttype,org.eclipse.core.expressions,org.eclipse.core.jobs,org.eclipse.core.runtime.compatibility.auth,org.eclipse.core.runtime.compatibility.registry,org.eclipse.equinox.preferences,org.eclipse.equinox.registry,org.eclipse.help,org.eclipse.jface,org.eclipse.swt,org.eclipse.swt.win32.win32.x86,org.eclipse.ui,org.eclipse.ui.forms,org.eclipse.ui.workbench
+osgi.bundles.defaultStartLevel=4

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/org.eclipse.osgi/bundles/16/1/.cp/swt-win32-3232.dll
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/org.eclipse.osgi/bundles/16/1/.cp/swt-win32-3232.dll?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/configuration/org.eclipse.osgi/bundles/16/1/.cp/swt-win32-3232.dll
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/Thumbs.db
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/Thumbs.db?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/Thumbs.db
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/add.gif
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/add.gif?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/add.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/delete.gif
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/delete.gif?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/delete.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/icon_ClosedFolder.gif
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/icon_ClosedFolder.gif?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/icon_ClosedFolder.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/icon_OpenFolder.gif
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/icon_OpenFolder.gif?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/icon_OpenFolder.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/mbean_view.png
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/mbean_view.png?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/mbean_view.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/notifications.gif
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/notifications.gif?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/notifications.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidConnections.gif
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidConnections.gif?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidConnections.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidmc.gif
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidmc.gif?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidmc.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidmc32.bmp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidmc32.bmp?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidmc32.bmp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidmc32.gif
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidmc32.gif?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/qpidmc32.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/reconnect.gif
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/reconnect.gif?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/reconnect.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/refresh.gif
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/refresh.gif?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/refresh.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/stop.gif
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/stop.gif?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/icons/stop.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugin.properties
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugin.properties?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugin.properties (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugin.properties Mon Dec  4 06:19:10 2006
@@ -0,0 +1,10 @@
+aboutText=This RCP Application was generated from\n\
+the PDE Plug-in Project wizard.\n\n\
+This sample shows how to:\n\
+- add a top-level menu and toolbar with actions\n\
+- add keybindings to actions\n\
+- create views that can't be closed and\n\
+  multiple instances of the same view\n\
+- perspectives with placeholders for new views\n\
+- use the default about dialog\n\
+- create a product definition\n
\ No newline at end of file

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugin.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugin.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugin.xml?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugin.xml (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugin.xml Mon Dec  4 06:19:10 2006
@@ -0,0 +1,204 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+
+   <extension
+         id="application"
+         point="org.eclipse.core.runtime.applications">
+      <application>
+         <run
+               class="org.apache.qpid.management.ui.Application">
+         </run>
+      </application>
+   </extension>
+   <extension
+         point="org.eclipse.ui.perspectives">
+      <perspective
+            name="qpid.management.perspective"
+            class="org.apache.qpid.management.ui.Perspective"
+            id="org.apache.qpid.management.ui.perspective">
+      </perspective>
+   </extension>
+   <extension
+         point="org.eclipse.ui.views">
+      <category
+            id="org.apache.qpid.management.ui.viewcategory"
+            name="Qpid Management Console"/>
+      <view
+            allowMultiple="false"
+            category="org.apache.qpid.management.ui.viewcategory"
+            class="org.apache.qpid.management.ui.views.NavigationView"
+            icon="icons/qpidConnections.gif"
+            id="org.apache.qpid.management.ui.navigationView"
+            name="Qpid Connections">
+      </view>
+      <view
+            allowMultiple="false"
+            category="org.apache.qpid.management.ui.viewcategory"
+            class="org.apache.qpid.management.ui.views.MBeanView"
+            icon="icons/mbean_view.png"
+            id="org.apache.qpid.management.ui.mbeanView"
+            name="Qpid Management">
+      </view>
+   </extension>
+   <extension
+         point="org.eclipse.ui.commands">
+      <category
+            name="qpid.manager.commands"
+            id="org.apache.qpid.management.ui.category">
+      </category>
+      <command
+            name="New Connection"
+            description="Created a new Qpid server connection"
+            categoryId="org.apache.qpid.management.ui.category"
+            id="org.apache.qpid.management.ui.actions.cmd_add">
+      </command>
+      <command
+            categoryId="org.apache.qpid.management.ui.category"
+            description="Reconnect the Qpid server connection"
+            id="org.apache.qpid.management.ui.actions.cmd_reconnect"
+            name="Reconnect"/>
+      <command
+            categoryId="org.apache.qpid.management.ui.category"
+            description="Disconnects the Qpid server connection"
+            id="org.apache.qpid.management.ui.actions.cmd_disconnect"
+            name="Disconnect"/>
+      <command
+            categoryId="org.apache.qpid.management.ui.category"
+            description="Removes the server from management console"
+            id="org.apache.qpid.management.ui.actions.cmd_remove"
+            name="Remove Connection"/>
+      <command
+            categoryId="org.apache.qpid.management.ui.category"
+            description="refreshes the views"
+            id="org.apache.qpid.management.ui.actions.cmd_refresh"
+            name="Refresh"/>
+      <command
+            categoryId="org.apache.qpid.management.ui.category"
+            description="pops up the window for editing selected attribute"
+            id="org.apache.qpid.management.ui.actions.cmd_editAttribute"
+            name="Edit Attribute"/>
+   </extension>
+   <extension
+         point="org.eclipse.ui.bindings">
+      <key
+            commandId="org.apache.qpid.management.ui.actions.cmd_add"
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+            sequence="CTRL+Alt+N">
+      </key>
+      <key
+            commandId="org.apache.qpid.management.ui.actions.cmd_reconnect"
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+            sequence="CTRL+Alt+C"/>
+      <key
+            commandId="org.apache.qpid.management.ui.actions.cmd_disconnect"
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+            sequence="CTRL+Alt+D">
+      </key>
+      <key
+            commandId="org.apache.qpid.management.ui.actions.cmd_remove"
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+            sequence="CTRL+Alt+R"/>
+      <key
+            commandId="org.apache.qpid.management.ui.actions.cmd_refresh"
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+            sequence="CTRL+Alt+F5"/>
+      <key
+            commandId="org.apache.qpid.management.ui.actions.cmd_editAttribute"
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+            sequence="CTRL+Alt+E"/>
+      <key
+            commandId="org.eclipse.ui.file.exit"
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+            sequence="CTRL+Alt+X">
+      </key>
+   </extension>
+   
+   <extension
+         id="product"
+         point="org.eclipse.core.runtime.products">
+      <product
+            application="org.apache.qpid.management.ui.application"
+            name="Qpid Management Console">
+         <property
+               name="about Qpid Management Console"
+               value="version 0.1.0">
+         </property>
+         <property
+               name="windowImages"
+               value="icons/qpidmc32.gif">
+         </property>
+         <property
+               name="aboutText"
+               value="Qpid Management Console&#x0A;version 0.1.0"/>
+      </product>
+   </extension>
+   <extension
+         point="org.eclipse.ui.actionSets">
+      <actionSet
+            id="org.apache.qpid.management.ui.actionSet"
+            label="Qpid Action Set"
+            visible="true">
+         <menu
+               id="qpidmanager"
+               label="&amp;Qpid Manager">
+            <separator name="qpidActionsGroup"/>
+         </menu>
+         <action
+               class="org.apache.qpid.management.ui.actions.EditAttribute"
+               definitionId="org.apache.qpid.management.ui.actions.cmd_editAttribute"
+               id="org.apache.qpid.management.ui.actions.editAttribute"
+               label="Edit Attribute"
+               menubarPath="qpidmanager/mbeanactions"
+               style="push"
+               tooltip="Edit Attribute"/>
+         <action
+               class="org.apache.qpid.management.ui.actions.Refresh"
+               definitionId="org.apache.qpid.management.ui.actions.cmd_refresh"
+               icon="icons/refresh.gif"
+               id="org.apache.qpid.management.ui.actions.refresh"
+               label="Refresh"
+               menubarPath="qpidmanager/additions"
+               style="push"
+               toolbarPath="qpidActionsGroup"
+               tooltip="Refresh"/>
+         <action
+               class="org.apache.qpid.management.ui.actions.RemoveServer"
+               definitionId="org.apache.qpid.management.ui.actions.cmd_remove"
+               icon="icons/delete.gif"
+               id="org.apache.qpid.management.ui.actions.remove"
+               label="Remove Connection"
+               menubarPath="qpidmanager/additions"
+               style="push"
+               toolbarPath="qpidActionsGroup"/>
+         <action
+               class="org.apache.qpid.management.ui.actions.CloseConnection"
+               definitionId="org.apache.qpid.management.ui.actions.cmd_disconnect"
+               icon="icons/stop.gif"
+               id="org.apache.qpid.management.ui.disconnect"
+               label="Disconnect"
+               menubarPath="qpidmanager/additions"
+               toolbarPath="qpidActionsGroup"
+               tooltip="Disconnect"/>
+         <action
+               class="org.apache.qpid.management.ui.actions.ReconnectServer"
+               definitionId="org.apache.qpid.management.ui.actions.cmd_reconnect"
+               icon="icons/reconnect.gif"
+               id="org.apache.qpid.management.ui.reconnect"
+               label="Reconnect"
+               menubarPath="qpidmanager/additions"
+               toolbarPath="qpidActionsGroup"
+               tooltip="Reconnect"/>
+         <action
+         	   class="org.apache.qpid.management.ui.actions.AddServer"
+               definitionId="org.apache.qpid.management.ui.actions.cmd_add"
+               icon="icons/add.gif"
+               id="org.apache.qpid.management.ui.add"
+               label="New Connection"
+               menubarPath="qpidmanager/additions"
+               toolbarPath="qpidActionsGroup"
+               tooltip="New Connection"/>         
+      </actionSet>
+   </extension>
+
+</plugin>

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/com.ibm.icu_3.4.4.1.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/com.ibm.icu_3.4.4.1.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/com.ibm.icu_3.4.4.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.commands_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.commands_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.commands_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.contenttype_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.contenttype_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.contenttype_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.expressions_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.expressions_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.expressions_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.jobs_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.jobs_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.jobs_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.registry_3.2.0/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.registry_3.2.0/META-INF/MANIFEST.MF?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.registry_3.2.0/META-INF/MANIFEST.MF (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.registry_3.2.0/META-INF/MANIFEST.MF Mon Dec  4 06:19:10 2006
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-Name: %fragmentName
+Bundle-ClassPath: runtime_registry_compatibility.jar
+Bundle-RequiredExecutionEnvironment: CDC-1.0/Foundation-1.0,J2SE-1.3
+Eclipse-PatchFragment: true
+Bundle-Vendor: %providerName
+Bundle-ManifestVersion: 2
+Fragment-Host: org.eclipse.equinox.registry
+Bundle-Localization: fragment
+Bundle-SymbolicName: org.eclipse.core.runtime.compatibility.registry
+Bundle-Version: 3.2.0.v20060603
+

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.registry_3.2.0/runtime_registry_compatibility.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.registry_3.2.0/runtime_registry_compatibility.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime.compatibility.registry_3.2.0/runtime_registry_compatibility.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.core.runtime_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.equinox.common_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.equinox.common_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.equinox.common_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.equinox.preferences_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.equinox.preferences_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.equinox.preferences_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.equinox.registry_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.equinox.registry_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.equinox.registry_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.help_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.help_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.help_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.jface_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.jface_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.jface_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.osgi_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.osgi_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.osgi_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.swt.win32.win32.x86_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.swt.win32.win32.x86_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.swt.win32.win32.x86_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.swt_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.swt_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.swt_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.forms_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.forms_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.forms_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench.compatibility_3.2.0/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench.compatibility_3.2.0/META-INF/MANIFEST.MF?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench.compatibility_3.2.0/META-INF/MANIFEST.MF (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench.compatibility_3.2.0/META-INF/MANIFEST.MF Mon Dec  4 06:19:10 2006
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-Name: %fragmentName
+Bundle-RequiredExecutionEnvironment: J2SE-1.4
+Bundle-Vendor: %providerName
+Bundle-ManifestVersion: 2
+Fragment-Host: org.eclipse.ui.workbench;bundle-version="[3.0.0,4.0.0)"
+Bundle-Localization: fragment-compatibility
+Bundle-SymbolicName: org.eclipse.ui.workbench.compatibility
+Require-Bundle: org.eclipse.core.resources;bundle-version="[3.2.0,4.0.
+ 0)"
+Bundle-Version: 3.2.0.I20060605-1400
+

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench.compatibility_3.2.0/compatibility.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench.compatibility_3.2.0/compatibility.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench.compatibility_3.2.0/compatibility.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui.workbench_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui_3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui_3.2.0.jar?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/plugins/org.eclipse.ui_3.2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/splash.bmp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/splash.bmp?view=auto&rev=482181
==============================================================================
Binary file - no diff available.

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/splash.bmp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Activator.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Activator.java?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Activator.java (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Activator.java Mon Dec  4 06:19:10 2006
@@ -0,0 +1,84 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.qpid.management.ui;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin
+{
+	// The plug-in ID
+	public static final String PLUGIN_ID = "org.apache.qpid.management.ui";
+
+	// The shared instance
+	private static Activator plugin;
+	
+	/**
+	 * The constructor
+	 */
+	public Activator()
+    {
+		plugin = this;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+	 */
+	public void start(BundleContext context) throws Exception
+    {
+		super.start(context);
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+	 */
+	public void stop(BundleContext context) throws Exception
+    {
+		plugin = null;
+		super.stop(context);
+	}
+
+	/**
+	 * Returns the shared instance
+	 *
+	 * @return the shared instance
+	 */
+	public static Activator getDefault() {
+		return plugin;
+	}
+
+	/**
+	 * 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);
+	}
+}

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Activator.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Application.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Application.java?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Application.java (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Application.java Mon Dec  4 06:19:10 2006
@@ -0,0 +1,63 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.qpid.management.ui;
+
+import org.eclipse.core.runtime.IPlatformRunnable;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.PlatformUI;
+
+/**
+ * This class controls all aspects of the application's execution
+ * @author Bhupendra Bhardwaj
+ */
+public class Application implements IPlatformRunnable
+{
+    static Shell shell = null;
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.eclipse.core.runtime.IPlatformRunnable#run(java.lang.Object)
+     */
+    public Object run(Object args) throws Exception
+    {
+        Display display = PlatformUI.createDisplay();
+        try
+        {
+            int returnCode = PlatformUI.createAndRunWorkbench(display,
+                    new ApplicationWorkbenchAdvisor());
+            if (returnCode == PlatformUI.RETURN_RESTART)
+            {
+                return IPlatformRunnable.EXIT_RESTART;
+            }
+            return IPlatformRunnable.EXIT_OK;
+        } finally
+        {
+            display.dispose();
+        }
+    }
+
+    static Shell getActiveShell()
+    {
+        return shell;
+    }
+}

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/Application.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationActionBarAdvisor.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationActionBarAdvisor.java?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationActionBarAdvisor.java (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationActionBarAdvisor.java Mon Dec  4 06:19:10 2006
@@ -0,0 +1,96 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.qpid.management.ui;
+
+import org.eclipse.jface.action.GroupMarker;
+import org.eclipse.jface.action.ICoolBarManager;
+import org.eclipse.jface.action.IMenuManager;
+import org.eclipse.jface.action.MenuManager;
+import org.eclipse.jface.action.Separator;
+import org.eclipse.ui.IWorkbenchActionConstants;
+import org.eclipse.ui.IWorkbenchWindow;
+import org.eclipse.ui.actions.ActionFactory;
+import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;
+import org.eclipse.ui.application.ActionBarAdvisor;
+import org.eclipse.ui.application.IActionBarConfigurer;
+
+/**
+ * An action bar advisor is responsible for creating, adding, and disposing of the
+ * actions added to a workbench window. Each window will be populated with
+ * new actions.
+ */
+public class ApplicationActionBarAdvisor extends ActionBarAdvisor
+{
+
+    // Actions - important to allocate these only in makeActions, and then use them
+    // in the fill methods.  This ensures that the actions aren't recreated
+    // when fillActionBars is called with FILL_PROXY.
+    private IWorkbenchAction exitAction;
+    private IWorkbenchAction aboutAction;
+    
+
+    public ApplicationActionBarAdvisor(IActionBarConfigurer configurer)
+    {
+        super(configurer);
+    }
+    
+    protected void makeActions(final IWorkbenchWindow window)
+    {        
+        // Creates the actions and registers them.
+        // Registering is needed to ensure that key bindings work.
+        // The corresponding commands keybindings are defined in the plugin.xml file.
+        // Registering also provides automatic disposal of the actions when
+        // the window is closed.
+
+        exitAction = ActionFactory.QUIT.create(window);
+        register(exitAction);
+        
+        aboutAction = ActionFactory.ABOUT.create(window);
+        register(aboutAction);
+    }
+    
+    
+    protected void fillMenuBar(IMenuManager menuBar)
+    {
+        MenuManager fileMenu = new MenuManager("&Qpid Manager", "qpidmanager");
+        MenuManager helpMenu = new MenuManager("&Help", IWorkbenchActionConstants.M_HELP);
+        
+        menuBar.add(fileMenu);
+        // Add a group marker indicating where action set menus will appear.
+        menuBar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
+        menuBar.add(helpMenu);
+        
+        fileMenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
+        fileMenu.add(new Separator());
+        fileMenu.add(new GroupMarker("mbeanactions"));
+        fileMenu.add(new Separator());
+        fileMenu.add(exitAction);
+        
+        // Help
+        //aboutAction.setText("about Qpid Management Console");
+        helpMenu.add(aboutAction);        
+    }
+    
+    protected void fillCoolBar(ICoolBarManager coolBar)
+    {
+        
+    }
+}

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationActionBarAdvisor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationRegistry.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationRegistry.java?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationRegistry.java (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationRegistry.java Mon Dec  4 06:19:10 2006
@@ -0,0 +1,129 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.qpid.management.ui;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
+
+import org.eclipse.jface.resource.FontRegistry;
+import org.eclipse.jface.resource.ImageRegistry;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.graphics.Font;
+import org.eclipse.swt.graphics.FontData;
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.ui.ISharedImages;
+import org.eclipse.ui.PlatformUI;
+
+public abstract class ApplicationRegistry
+{
+    private static ImageRegistry imageRegistry = new ImageRegistry();
+    private static FontRegistry fontRegistry = new FontRegistry();
+
+    static
+    {
+        imageRegistry.put(Constants.CONSOLE_IMAGE, 
+                org.apache.qpid.management.ui.Activator.getImageDescriptor("/icons/qpidmc.gif"));
+        imageRegistry.put(Constants.CLOSED_FOLDER_IMAGE, 
+                org.apache.qpid.management.ui.Activator.getImageDescriptor("/icons/icon_ClosedFolder.gif"));
+        imageRegistry.put(Constants.OPEN_FOLDER_IMAGE,
+                PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_FOLDER));
+        imageRegistry.put(Constants.MBEAN_IMAGE,
+                PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_ELEMENT));
+        imageRegistry.put(Constants.NOTIFICATION_IMAGE,
+                org.apache.qpid.management.ui.Activator.getImageDescriptor("/icons/notifications.gif"));
+    }
+    
+    static
+    {
+        fontRegistry.put(Constants.FONT_BUTTON, new FontData[]{new FontData("Arial", 8, SWT.BOLD)} );
+        fontRegistry.put(Constants.FONT_BOLD, new FontData[]{new FontData("Bold", 9, SWT.BOLD)} );
+        fontRegistry.put(Constants.FONT_ITALIC, new FontData[]{new FontData("Italic", 9, SWT.ITALIC)} );
+        fontRegistry.put(Constants.FONT_TABLE_CELL, new FontData[]{new FontData("Tablecell", 8, SWT.NORMAL)} );
+        fontRegistry.put(Constants.FONT_NORMAL, new FontData[]{new FontData("Normal", 9, SWT.NORMAL)} );
+    }
+    
+    /*
+     * This maps all the managed servers to the respective server registry.
+     * Server can be JMX MBeanServer or a C++ server
+     */
+    private static HashMap<ManagedServer, ServerRegistry> _serverRegistryMap = new HashMap<ManagedServer, ServerRegistry>();
+    
+    // This map gets updated when a server connection closes.
+    private static List<ManagedServer> _closedServerList = new CopyOnWriteArrayList<ManagedServer>();    
+    
+    public static Image getImage(String key)
+    {
+        return imageRegistry.get(key);
+    }
+    
+    public static Font getFont(String key)
+    {
+        return fontRegistry.get(key);
+    }
+    
+    public static void addServer(ManagedServer server, ServerRegistry registry)
+    {
+        _serverRegistryMap.put(server, registry);
+    }
+    
+    public static void removeServer(ManagedServer server)
+    {
+        _serverRegistryMap.remove(server);
+    }
+    
+    public static ServerRegistry getServerRegistry(ManagedServer server)
+    {
+        return _serverRegistryMap.get(server);
+    }
+    
+    public static ServerRegistry getServerRegistry(ManagedBean mbean)
+    {
+        ManagedServer server = mbean.getServer();
+        return _serverRegistryMap.get(server);
+    }
+    
+    public static boolean isServerConnected(ManagedServer server)
+    {
+        return _serverRegistryMap.containsKey(server);
+    }
+    
+    // remove the server from the registry
+    public static void serverConnectionClosed(ManagedServer server)
+    {
+        _closedServerList.add(server);
+        _serverRegistryMap.remove(server);
+    }
+    
+    /*
+     * Returns the lis of closed servers. The Thread in GUI, which keeps checking for closed connection
+     * will check this and will remove the server links from the GUI.
+     */
+    public static List<ManagedServer> getClosedServers()
+    {
+        if (_closedServerList.isEmpty())
+            return null;
+        
+        List<ManagedServer> list = new CopyOnWriteArrayList<ManagedServer>(_closedServerList);
+        _closedServerList.clear();
+        return list;
+    }
+}

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationRegistry.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationWorkbenchAdvisor.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationWorkbenchAdvisor.java?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationWorkbenchAdvisor.java (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationWorkbenchAdvisor.java Mon Dec  4 06:19:10 2006
@@ -0,0 +1,46 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.qpid.management.ui;
+
+import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
+import org.eclipse.ui.application.WorkbenchAdvisor;
+import org.eclipse.ui.application.WorkbenchWindowAdvisor;
+
+/**
+ * This workbench advisor creates the window advisor, and specifies
+ * the perspective id for the initial window.
+ */
+public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor
+{	
+	public static final String PERSPECTIVE_ID = "org.apache.qpid.management.ui.perspective";
+	
+    public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer)
+    {
+        return new ApplicationWorkbenchWindowAdvisor(configurer);
+    }
+
+	
+	public String getInitialWindowPerspectiveId()
+    {
+		return PERSPECTIVE_ID;
+	} 
+	
+}

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationWorkbenchAdvisor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationWorkbenchWindowAdvisor.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationWorkbenchWindowAdvisor.java?view=auto&rev=482181
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationWorkbenchWindowAdvisor.java (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationWorkbenchWindowAdvisor.java Mon Dec  4 06:19:10 2006
@@ -0,0 +1,61 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.qpid.management.ui;
+
+import org.eclipse.swt.graphics.Point;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.application.ActionBarAdvisor;
+import org.eclipse.ui.application.IActionBarConfigurer;
+import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
+import org.eclipse.ui.application.WorkbenchWindowAdvisor;
+
+public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor
+{
+    public ApplicationWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer)
+    {
+        super(configurer);
+    }
+    
+    public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer)
+    {
+        return new ApplicationActionBarAdvisor(configurer);
+    }
+    
+    public void preWindowOpen()
+    {
+        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
+        int x = Display.getDefault().getBounds().width;
+        int y = Display.getDefault().getBounds().height;
+        configurer.setInitialSize(new Point(4*x/5, 3*y/4));
+        configurer.setShowCoolBar(true);
+        configurer.setShowStatusLine(false);
+        
+        configurer.setTitle("Qpid Management Console");
+    }  
+    
+    public void postWindowCreate()
+    {
+        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
+        Shell shell = configurer.getWindow().getShell();
+        shell.setImage(ApplicationRegistry.getImage(Constants.CONSOLE_IMAGE));
+    }
+}
\ No newline at end of file

Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/ApplicationWorkbenchWindowAdvisor.java
------------------------------------------------------------------------------
    svn:eol-style = native