commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/impl ApplicationWindowImpl.java
Date Thu, 09 Sep 2004 12:12:40 GMT
dion        2004/09/09 05:12:40

  Modified:    jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface
                        JFaceDemo.java
               jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/window
                        ApplicationWindowTag.java
                        ApplicationWindowImpl.java
               jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface
                        ViewerTag.java JFaceTagLibrary.java
                        JFaceLayoutTag.java JFaceImageTag.java
                        JFaceWidgetTag.java DoubleClickListenerTag.java
                        SelectionChangedListenerTag.java
                        ContributionItemTag.java MenuManagerTag.java
               jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/preference
                        PreferenceDemo.java
               jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/preference
                        PreferenceDialogTag.java PreferencePageTag.java
                        FieldEditorTag.java
               jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/wizard
                        WizardDialogTag.java WizardPageTag.java
               jelly/jelly-tags/jetty/src/test/org/apache/commons/jelly/jetty
                        TestJettyHttpServerTags.java
               jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/wizard
                        WizardDemo.java
               jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/impl
                        ApplicationWindowImpl.java
  Log:
  Fix license file whitespace
  
  Revision  Changes    Path
  1.3       +9 -9      jakarta-commons/jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/JFaceDemo.java
  
  Index: JFaceDemo.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/JFaceDemo.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JFaceDemo.java	25 Feb 2004 01:32:00 -0000	1.2
  +++ JFaceDemo.java	9 Sep 2004 12:12:39 -0000	1.3
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -22,25 +22,25 @@
   import org.apache.commons.jelly.tags.jface.JFaceTagLibrary;
   
   /**
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class JFaceDemo {
   
       public static void main(String[] args) {
           try {
  -          
  +
               JellyContext context = new JellyContext();
  -            
  +
               /** @todo zap the following line once the Jelly core has this default */
               context.registerTagLibrary("jelly:jface", new JFaceTagLibrary());
  -            
  +
               URL url = JFaceDemo.class.getResource("JFaceDemo.jelly");
  -            
  +
               XMLOutput output = XMLOutput.createXMLOutput(System.out, true);
               context.runScript( url, output );
               output.flush();
   
  -        } 
  +        }
           catch (Exception e) {
               e.printStackTrace();
           }
  
  
  
  1.6       +10 -10    jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/window/ApplicationWindowTag.java
  
  Index: ApplicationWindowTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/window/ApplicationWindowTag.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ApplicationWindowTag.java	7 Sep 2004 16:29:42 -0000	1.5
  +++ ApplicationWindowTag.java	9 Sep 2004 12:12:39 -0000	1.6
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -29,14 +29,14 @@
   
   /**
    * This tag creates an JFace ApplicationWindow
  - *  
  + *
    * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class ApplicationWindowTag extends UseBeanTag {
   
       private Shell parent;
       private int style = SWT.NULL;
  -    
  +
       /**
        * @param widgetClass
        */
  @@ -44,7 +44,7 @@
           super(tagClass);
       }
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.Tag#doTag(org.apache.commons.jelly.XMLOutput)
        */
       public void doTag(XMLOutput output)
  @@ -62,9 +62,9 @@
                           + parent);
               }
           }
  -        
  +
           super.doTag(output);
  -        
  +
           // set Title of aaplicationWindow
           Object title = attributes.remove("title");
           if (title != null) {
  @@ -79,7 +79,7 @@
           }
       }
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.tags.core.UseBeanTag#newInstance(java.lang.Class,
java.util.Map, org.apache.commons.jelly.XMLOutput)
        */
       protected Object newInstance(
  @@ -102,5 +102,5 @@
           }
           return null;
       }
  -    
  +
   }
  
  
  
  1.4       +7 -7      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/window/ApplicationWindowImpl.java
  
  Index: ApplicationWindowImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/window/ApplicationWindowImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ApplicationWindowImpl.java	25 Feb 2004 01:32:00 -0000	1.3
  +++ ApplicationWindowImpl.java	9 Sep 2004 12:12:39 -0000	1.4
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -22,8 +22,8 @@
   
   /**
    * This is the default implementation for a ApplicationWindowTag
  - * 
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class ApplicationWindowImpl extends ApplicationWindow {
   
  @@ -41,11 +41,11 @@
   
           setBlockOnOpen(true);
   
  -        // create window 
  +        // create window
           create();
       }
   
  -    /* 
  +    /*
        * override to make public
        * @see org.eclipse.jface.window.Window#getContents()
        */
  
  
  
  1.5       +6 -6      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/ViewerTag.java
  
  Index: ViewerTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/ViewerTag.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ViewerTag.java	25 Feb 2004 01:31:51 -0000	1.4
  +++ ViewerTag.java	9 Sep 2004 12:12:39 -0000	1.5
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -27,7 +27,7 @@
   
   /**
    * This tag creates an JFace Viewer
  - *  
  + *
    * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class ViewerTag extends WidgetTag {
  @@ -51,7 +51,7 @@
           this.style = style;
       }
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.tags.core.UseBeanTag#newInstance(java.lang.Class,
java.util.Map, org.apache.commons.jelly.XMLOutput)
        */
       protected Object newInstance(
  @@ -68,7 +68,7 @@
   
           return viewer;
       }
  -    
  +
       /**
        * @return the visible viewer, if there is one.
        */
  
  
  
  1.7       +6 -6      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/JFaceTagLibrary.java
  
  Index: JFaceTagLibrary.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/JFaceTagLibrary.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JFaceTagLibrary.java	25 Feb 2004 01:31:51 -0000	1.6
  +++ JFaceTagLibrary.java	9 Sep 2004 12:12:39 -0000	1.7
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -44,7 +44,7 @@
   /**
    * A Jelly custom tag library that creates JFace user interfaces
    * This taglib extends the SWT tag lib
  - *  
  + *
    * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class JFaceTagLibrary extends SwtTagLibrary {
  @@ -120,7 +120,7 @@
   
       /**
        * Register a widget tag for the given name
  -     *      
  +     *
        * @param name
        * @param widgetClass
        * @param style
  @@ -138,7 +138,7 @@
   
       /**
        * Register a widget tag for the given name
  -     *      
  +     *
        * @param name
        * @param widgetClass
        * @param style
  
  
  
  1.4       +7 -7      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/JFaceLayoutTag.java
  
  Index: JFaceLayoutTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/JFaceLayoutTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- JFaceLayoutTag.java	25 Feb 2004 01:31:51 -0000	1.3
  +++ JFaceLayoutTag.java	9 Sep 2004 12:12:39 -0000	1.4
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -25,8 +25,8 @@
   
   /**
    * Implementation of SWT LayoutTag
  - * 
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class JFaceLayoutTag extends LayoutTag {
   
  @@ -60,9 +60,9 @@
           }
   
       }
  -    
  +
       /**
  -     * @return the parent window 
  +     * @return the parent window
        */
       public Window getParentWindow() {
           ApplicationWindowTag tag =
  
  
  
  1.5       +7 -7      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/JFaceImageTag.java
  
  Index: JFaceImageTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/JFaceImageTag.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JFaceImageTag.java	25 Feb 2004 01:31:51 -0000	1.4
  +++ JFaceImageTag.java	9 Sep 2004 12:12:39 -0000	1.5
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -26,13 +26,13 @@
   
   /**
    * Implementation of SWT ImageTag
  - * 
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class JFaceImageTag extends ImageTag {
   
       /**
  -     * @return the parent window 
  +     * @return the parent window
        */
       public Window getParentWindow() {
           ApplicationWindowTag tag =
  @@ -52,7 +52,7 @@
           window.getShell().setImage(image);
       }
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.Tag#doTag(org.apache.commons.jelly.XMLOutput)
        */
       public void doTag(XMLOutput output) throws JellyTagException {
  
  
  
  1.4       +8 -8      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/JFaceWidgetTag.java
  
  Index: JFaceWidgetTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/JFaceWidgetTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- JFaceWidgetTag.java	25 Feb 2004 01:31:51 -0000	1.3
  +++ JFaceWidgetTag.java	9 Sep 2004 12:12:39 -0000	1.4
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -26,9 +26,9 @@
   import org.eclipse.swt.widgets.Widget;
   
   /**
  - * Implementation of SWT WidgetTag  
  - * 
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + * Implementation of SWT WidgetTag
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class JFaceWidgetTag extends WidgetTag implements Tag {
   
  @@ -47,7 +47,7 @@
           super(widgetClass, style);
       }
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.tags.swt.WidgetTag#attachWidgets(java.lang.Object,
org.eclipse.swt.widgets.Widget)
        */
       protected void attachWidgets(Object parent, Widget widget) throws JellyTagException
{
  @@ -66,7 +66,7 @@
           }
       }
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.tags.swt.WidgetTag#getParentWidget()
        */
       public Widget getParentWidget() {
  
  
  
  1.4       +7 -7      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/DoubleClickListenerTag.java
  
  Index: DoubleClickListenerTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/DoubleClickListenerTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DoubleClickListenerTag.java	25 Feb 2004 01:31:51 -0000	1.3
  +++ DoubleClickListenerTag.java	9 Sep 2004 12:12:39 -0000	1.4
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -28,8 +28,8 @@
   
   /**
    * This tag adds a listener for double-clicks in this viewer.
  - * 
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class DoubleClickListenerTag
       extends TagSupport
  @@ -41,7 +41,7 @@
       private String var = "event";
       private XMLOutput output;
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.Tag#doTag(org.apache.commons.jelly.XMLOutput)
        */
       public void doTag(XMLOutput output)
  @@ -87,7 +87,7 @@
   
       //  Listener interface
       //-------------------------------------------------------------------------
  -    /* 
  +    /*
        * @see org.eclipse.jface.viewers.IDoubleClickListener#doubleClick(org.eclipse.jface.viewers.DoubleClickEvent)
        */
       public void doubleClick(DoubleClickEvent event) {
  
  
  
  1.4       +7 -7      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/SelectionChangedListenerTag.java
  
  Index: SelectionChangedListenerTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/SelectionChangedListenerTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SelectionChangedListenerTag.java	25 Feb 2004 01:31:51 -0000	1.3
  +++ SelectionChangedListenerTag.java	9 Sep 2004 12:12:39 -0000	1.4
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -27,8 +27,8 @@
   
   /**
    * This tag adds a listener for selection changes in this viewer.
  - * 
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class SelectionChangedListenerTag
       extends TagSupport
  @@ -41,7 +41,7 @@
       private String var = "event";
       private XMLOutput output;
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.Tag#doTag(org.apache.commons.jelly.XMLOutput)
        */
       public void doTag(XMLOutput output)
  @@ -85,7 +85,7 @@
       //  Listener interface
       //-------------------------------------------------------------------------
   
  -    /* 
  +    /*
        * @see org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent)
        */
       public void selectionChanged(SelectionChangedEvent event) {
  
  
  
  1.4       +5 -5      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/ContributionItemTag.java
  
  Index: ContributionItemTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/ContributionItemTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ContributionItemTag.java	25 Feb 2004 01:31:51 -0000	1.3
  +++ ContributionItemTag.java	9 Sep 2004 12:12:39 -0000	1.4
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -24,8 +24,8 @@
   
   /**
    * This tag creates an JFace ContributionItem
  - * 
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class ContributionItemTag extends UseBeanTag {
   
  
  
  
  1.5       +6 -6      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/MenuManagerTag.java
  
  Index: MenuManagerTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/MenuManagerTag.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MenuManagerTag.java	25 Feb 2004 01:31:51 -0000	1.4
  +++ MenuManagerTag.java	9 Sep 2004 12:12:39 -0000	1.5
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -28,14 +28,14 @@
   
   /**
    * This tag creates an JFace MenuManager
  - * 
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class MenuManagerTag extends UseBeanTag {
   
       private String text;
       private MenuManager mm;
  -    
  +
       /**
        * @return the parent window which this widget will be added to.
        */
  
  
  
  1.3       +9 -9      jakarta-commons/jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/preference/PreferenceDemo.java
  
  Index: PreferenceDemo.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/preference/PreferenceDemo.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PreferenceDemo.java	25 Feb 2004 01:31:52 -0000	1.2
  +++ PreferenceDemo.java	9 Sep 2004 12:12:39 -0000	1.3
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -22,25 +22,25 @@
   import org.apache.commons.jelly.tags.jface.JFaceTagLibrary;
   
   /**
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class PreferenceDemo {
   
       public static void main(String[] args) {
           try {
  -          
  +
               JellyContext context = new JellyContext();
  -            
  +
               /** @todo zap the following line once the Jelly core has this default */
               context.registerTagLibrary("jelly:jface", new JFaceTagLibrary());
  -            
  +
               URL url = PreferenceDemo.class.getResource("PreferenceDemo.jelly");
  -            
  +
               XMLOutput output = XMLOutput.createXMLOutput(System.out, true);
               context.runScript( url, output );
               output.flush();
   
  -        } 
  +        }
           catch (Exception e) {
               e.printStackTrace();
           }
  
  
  
  1.5       +7 -7      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/preference/PreferenceDialogTag.java
  
  Index: PreferenceDialogTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/preference/PreferenceDialogTag.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PreferenceDialogTag.java	25 Feb 2004 01:31:59 -0000	1.4
  +++ PreferenceDialogTag.java	9 Sep 2004 12:12:39 -0000	1.5
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -27,8 +27,8 @@
   
   /**
    * This Tag creates a JFace PreferenceDialog
  - * 
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class PreferenceDialogTag extends UseBeanTag {
   
  @@ -57,7 +57,7 @@
   
           if (tag != null) {
               return tag.getWindow().getShell();
  -            
  +
           } else {
               Map attributes = getAttributes();
               Object parent = attributes.remove("parent");
  @@ -69,7 +69,7 @@
           }
       }
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.tags.core.UseBeanTag#newInstance(java.lang.Class,
java.util.Map, org.apache.commons.jelly.XMLOutput)
        */
       protected Object newInstance(Class arg0, Map arg1, XMLOutput arg2) throws JellyTagException
{
  
  
  
  1.3       +11 -11    jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/preference/PreferencePageTag.java
  
  Index: PreferencePageTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/preference/PreferencePageTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PreferencePageTag.java	25 Feb 2004 01:31:59 -0000	1.2
  +++ PreferencePageTag.java	9 Sep 2004 12:12:39 -0000	1.3
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -33,10 +33,10 @@
   
   /**
    * This Tag creates a JFace PreferencePage
  - * 
  + *
    * Provides a concrete preference store implementation based on an internal java.util.Properties
object
  - * 
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class PreferencePageTag extends TagSupport {
   
  @@ -81,20 +81,20 @@
   
       /** The Log to which logging calls will be made. */
       private static final Log log = LogFactory.getLog(PreferencePageTag.class);
  -    
  +
       /** Filename of the store */
       private String filename;
   
       /** Jelly XMLOutput */
       private XMLOutput output;
  -    
  +
       /** Current PreferencePageImpl */
       private PreferencePageImpl page;
  -    
  -    /** Title of both PreferenceNode and PreferencePage */ 
  +
  +    /** Title of both PreferenceNode and PreferencePage */
       private String title;
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.Tag#doTag(org.apache.commons.jelly.XMLOutput)
        */
       public void doTag(XMLOutput output) throws JellyTagException {
  
  
  
  1.3       +8 -8      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/preference/FieldEditorTag.java
  
  Index: FieldEditorTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/preference/FieldEditorTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- FieldEditorTag.java	25 Feb 2004 01:31:59 -0000	1.2
  +++ FieldEditorTag.java	9 Sep 2004 12:12:39 -0000	1.3
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -28,8 +28,8 @@
   
   /**
    * This Tag creates a JFace FieldEditor
  - * 
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class FieldEditorTag extends UseBeanTag {
   
  @@ -37,7 +37,7 @@
           super(arg0);
       }
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.Tag#doTag(org.apache.commons.jelly.XMLOutput)
        */
       public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
{
  @@ -58,7 +58,7 @@
   
       }
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.tags.core.UseBeanTag#newInstance(java.lang.Class,
java.util.Map, org.apache.commons.jelly.XMLOutput)
        */
       protected Object newInstance(Class theClass, Map attributes, XMLOutput output)
  @@ -83,7 +83,7 @@
               throw new MissingAttributeException("parentComposite");
           }
   
  -        // let's try to call a constructor 
  +        // let's try to call a constructor
           try {
               Class[] types = { String.class, String.class, Composite.class };
               Constructor constructor = theClass.getConstructor(types);
  
  
  
  1.4       +8 -8      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/wizard/WizardDialogTag.java
  
  Index: WizardDialogTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/wizard/WizardDialogTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WizardDialogTag.java	25 Feb 2004 01:31:56 -0000	1.3
  +++ WizardDialogTag.java	9 Sep 2004 12:12:40 -0000	1.4
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -31,8 +31,8 @@
   
   /**
    *  This Tag creates a JFace WizardDialog
  - *  
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class WizardDialogTag extends UseBeanTag {
   
  @@ -86,7 +86,7 @@
               return true;
           }
       }
  -    
  +
       /** The Log to which logging calls will be made. */
       private static final Log log = LogFactory.getLog(WizardDialogTag.class);
   
  @@ -106,7 +106,7 @@
           super(theClass);
       }
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.Tag#doTag(org.apache.commons.jelly.XMLOutput)
        */
       public void doTag(XMLOutput output) throws JellyTagException {
  @@ -158,7 +158,7 @@
           return null;
       }
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.tags.core.UseBeanTag#newInstance(java.lang.Class,
java.util.Map, org.apache.commons.jelly.XMLOutput)
        */
       protected Object newInstance(Class theClass, Map attributes, XMLOutput output)
  
  
  
  1.3       +10 -10    jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/wizard/WizardPageTag.java
  
  Index: WizardPageTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/wizard/WizardPageTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- WizardPageTag.java	25 Feb 2004 01:31:56 -0000	1.2
  +++ WizardPageTag.java	9 Sep 2004 12:12:40 -0000	1.3
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -29,8 +29,8 @@
   
   /**
    *  This Tag creates a JFace WizardPage
  - * 
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class WizardPageTag extends UseBeanTag {
   
  @@ -49,14 +49,14 @@
               // set initial parent Control to avoid a NPE during invokeBody
               setControl(parent);
   
  -            // create page contents 
  +            // create page contents
               try {
                   invokeBody(output);
               } catch (JellyTagException e) {
                   log.error(e);
               }
  -            
  -            // parentComposite should be first Composite child 
  +
  +            // parentComposite should be first Composite child
               if (parentComposite != null) {
                   setControl(parentComposite);
               }
  @@ -84,7 +84,7 @@
           super(theClass);
       }
   
  -    /* 
  +    /*
        * @see org.apache.commons.jelly.Tag#doTag(org.apache.commons.jelly.XMLOutput)
        */
       public void doTag(XMLOutput output) throws JellyTagException {
  @@ -108,7 +108,7 @@
           String var = (String) getAttributes().get("var");
           processBean(var, page);
   
  -        // get Wizard 
  +        // get Wizard
           WizardDialogTag.WizardDialogImpl dialog = wizardTag.getWizardDialogImpl();
           Wizard wizard = (Wizard) dialog.getWizard();
   
  
  
  
  1.7       +3 -3      jakarta-commons/jelly/jelly-tags/jetty/src/test/org/apache/commons/jelly/jetty/TestJettyHttpServerTags.java
  
  Index: TestJettyHttpServerTags.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jetty/src/test/org/apache/commons/jelly/jetty/TestJettyHttpServerTags.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TestJettyHttpServerTags.java	25 Feb 2004 01:32:00 -0000	1.6
  +++ TestJettyHttpServerTags.java	9 Sep 2004 12:12:40 -0000	1.7
  @@ -1,12 +1,12 @@
   /*
    * Copyright 1999-2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  
  
  
  1.3       +9 -9      jakarta-commons/jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/wizard/WizardDemo.java
  
  Index: WizardDemo.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/wizard/WizardDemo.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- WizardDemo.java	25 Feb 2004 01:31:58 -0000	1.2
  +++ WizardDemo.java	9 Sep 2004 12:12:40 -0000	1.3
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -22,25 +22,25 @@
   import org.apache.commons.jelly.tags.jface.JFaceTagLibrary;
   
   /**
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class WizardDemo {
   
       public static void main(String[] args) {
           try {
  -          
  +
               JellyContext context = new JellyContext();
  -            
  +
               /** @todo zap the following line once the Jelly core has this default */
               context.registerTagLibrary("jelly:jface", new JFaceTagLibrary());
  -            
  +
               URL url = WizardDemo.class.getResource("WizardDemo.jelly");
  -            
  +
               XMLOutput output = XMLOutput.createXMLOutput(System.out, true);
               context.runScript( url, output );
               output.flush();
   
  -        } 
  +        }
           catch (Exception e) {
               e.printStackTrace();
           }
  
  
  
  1.4       +7 -7      jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/impl/ApplicationWindowImpl.java
  
  Index: ApplicationWindowImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/java/org/apache/commons/jelly/tags/jface/impl/ApplicationWindowImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ApplicationWindowImpl.java	25 Feb 2004 01:32:00 -0000	1.3
  +++ ApplicationWindowImpl.java	9 Sep 2004 12:12:40 -0000	1.4
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -22,8 +22,8 @@
   
   /**
    * This is the default implementation for a ApplicationWindowTag
  - * 
  - * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 
  + *
  + * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    */
   public class ApplicationWindowImpl extends ApplicationWindow {
   
  @@ -41,11 +41,11 @@
   
           setBlockOnOpen(true);
   
  -        // create window 
  +        // create window
           create();
       }
   
  -    /* 
  +    /*
        * override to make public
        * @see org.eclipse.jface.window.Window#getContents()
        */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message