camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r635601 - in /activemq/camel/trunk: ./ components/ components/camel-swing/ components/camel-swing/src/test/java/org/apache/camel/component.uface/ components/camel-swing/src/test/java/org/apache/camel/component/ components/camel-swing/src/te...
Date Mon, 10 Mar 2008 17:12:33 GMT
Author: jstrachan
Date: Mon Mar 10 10:12:18 2008
New Revision: 635601

URL: http://svn.apache.org/viewvc?rev=635601&view=rev
Log:
enabled support for UFace and Swing components

Added:
    activemq/camel/trunk/components/camel-swing/src/test/java/org/apache/camel/component/
    activemq/camel/trunk/components/camel-swing/src/test/java/org/apache/camel/component/swing/
Removed:
    activemq/camel/trunk/components/camel-swing/src/test/java/org/apache/camel/component.uface/
Modified:
    activemq/camel/trunk/components/camel-swing/pom.xml
    activemq/camel/trunk/components/camel-swing/src/test/resources/META-INF/spring/camel.xml
    activemq/camel/trunk/components/camel-uface/src/main/java/org/apache/camel/component.uface/UFaceBrowser.java
    activemq/camel/trunk/components/pom.xml
    activemq/camel/trunk/pom.xml

Modified: activemq/camel/trunk/components/camel-swing/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-swing/pom.xml?rev=635601&r1=635600&r2=635601&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-swing/pom.xml (original)
+++ activemq/camel/trunk/components/camel-swing/pom.xml Mon Mar 10 10:12:18 2008
@@ -82,7 +82,7 @@
         <artifactId>exec-maven-plugin</artifactId>
         <configuration>
           <mainClass>org.apache.camel.component.uface.swing.Main</mainClass>
-          <includePluginDependencies>false</includePluginDependencies>
+          <includePluginDependencies>true</includePluginDependencies>
         </configuration>
       </plugin>
 

Modified: activemq/camel/trunk/components/camel-swing/src/test/resources/META-INF/spring/camel.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-swing/src/test/resources/META-INF/spring/camel.xml?rev=635601&r1=635600&r2=635601&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-swing/src/test/resources/META-INF/spring/camel.xml
(original)
+++ activemq/camel/trunk/components/camel-swing/src/test/resources/META-INF/spring/camel.xml
Mon Mar 10 10:12:18 2008
@@ -30,5 +30,5 @@
 
   </camelContext>
 
-  <bean id="sender" class="org.apache.camel.component.uface.ExampleSender"/>
+  <bean id="sender" class="org.apache.camel.component.swing.ExampleSender"/>
 </beans>

Modified: activemq/camel/trunk/components/camel-uface/src/main/java/org/apache/camel/component.uface/UFaceBrowser.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-uface/src/main/java/org/apache/camel/component.uface/UFaceBrowser.java?rev=635601&r1=635600&r2=635601&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-uface/src/main/java/org/apache/camel/component.uface/UFaceBrowser.java
(original)
+++ activemq/camel/trunk/components/camel-uface/src/main/java/org/apache/camel/component.uface/UFaceBrowser.java
Mon Mar 10 10:12:18 2008
@@ -101,9 +101,9 @@
 
         BeanForm selectionForm = new BeanForm();
 
-        UITable table = ui.newTable(splitter, new UITable.TableUIInfo(new GridLayoutData(GridLayoutData.ALIGN_FILL,
GridLayoutData.ALIGN_FILL, true, true)),
-                new UITable.TableBindingInfo(selectionForm,
-                        selectionForm.detailList("exchanges", Collection.class)));
+        UITable table = ui.newTable(splitter, new UITable.TableUIInfo(new GridLayoutData(GridLayoutData.ALIGN_FILL,
GridLayoutData.ALIGN_FILL, true, true)));
+        selectionForm.add(table, new UITable.TableBindingInfo(selectionForm.detailList("exchanges",
Collection.class)));
+
         ui.newTableColumn(table, new UITableColumn.TableColumnUIInfo(null, new CellLabelProvider()
{
             public String getLabel(Object object) {
                 Exchange exchange = (Exchange) object;
@@ -126,7 +126,9 @@
         UIFactory ui = root.getFactory();
         AttributeDescriptor bindingData = form.detailList("endpoints", Collection.class);
 
-        UITable table = ui.newTable(root, new UITable.TableUIInfo(null), new UITable.TableBindingInfo(form,
bindingData));
+        UITable table = ui.newTable(root, new UITable.TableUIInfo(null));
+        form.add(table, new UITable.TableBindingInfo(bindingData));
+
         ui.newTableColumn(table, new UITableColumn.TableColumnUIInfo(null, new CellLabelProvider()
{
             public String getLabel(Object object) {
                 BrowsableEndpoint endpoint = (BrowsableEndpoint) object;

Modified: activemq/camel/trunk/components/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/pom.xml?rev=635601&r1=635600&r2=635601&view=diff
==============================================================================
--- activemq/camel/trunk/components/pom.xml (original)
+++ activemq/camel/trunk/components/pom.xml Mon Mar 10 10:12:18 2008
@@ -47,6 +47,7 @@
     <module>camel-jaxb</module>
     <module>camel-jdbc</module>
     <module>camel-jetty</module>
+    <!--<module>camel-jface</module>-->
     <module>camel-jhc</module>
     <module>camel-jing</module>
     <module>camel-jms</module>
@@ -69,6 +70,8 @@
     <module>camel-stringtemplate</module>
     <module>camel-stream</module>
     <!--<module>camel-supercsv</module>-->
+    <module>camel-swing</module>
+    <module>camel-uface</module>
     <module>camel-velocity</module>
     <module>camel-xmlbeans</module>
     <module>camel-xmpp</module>

Modified: activemq/camel/trunk/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/pom.xml?rev=635601&r1=635600&r2=635601&view=diff
==============================================================================
--- activemq/camel/trunk/pom.xml (original)
+++ activemq/camel/trunk/pom.xml Mon Mar 10 10:12:18 2008
@@ -128,7 +128,11 @@
         <enabled>true</enabled>
       </releases>
     </repository>
-
+    <repository>
+      <id>uface.m2</id>
+      <url>http://uface.googlecode.com/svn/maven/</url>
+      <name>UFace Maven Repository</name>
+    </repository>
   </repositories>
 
   <pluginRepositories>



Mime
View raw message