Author: craigmcc
Date: Tue Feb 28 22:41:06 2006
New Revision: 381930

URL: http://svn.apache.org/viewcvs?rev=381930&view=rev
Log:
Correct line endings from a Windows initial commit.  Why, oh why, does the
Windows version of the Subversion command line client seem to ignore the
default settings for native EOL propogation that the Linux client respects?

Modified:
    
struts/shale/trunk/core-library/src/designtime/org/apache/shale/design/AbstractActionSourceBeanInfo.java
    
struts/shale/trunk/core-library/src/designtime/org/apache/shale/design/AbstractBeanInfo.java
    
struts/shale/trunk/core-library/src/designtime/org/apache/shale/design/AbstractDesignInfo.java
    
struts/shale/trunk/core-library/src/designtime/org/apache/shale/design/AbstractEditableValueHolderBeanInfo.java
    
struts/shale/trunk/core-library/src/designtime/org/apache/shale/design/AbstractValueHolderBeanInfo.java
    
struts/shale/trunk/core-library/src/designtime/org/apache/shale/design/Categories.java

Modified: 
struts/shale/trunk/core-library/src/designtime/org/apache/shale/design/AbstractActionSourceBeanInfo.java
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/designtime/org/apache/shale/design/AbstractActionSourceBeanInfo.java?rev=381930&r1=381929&r2=381930&view=diff
==============================================================================
--- 
struts/shale/trunk/core-library/src/designtime/org/apache/shale/design/AbstractActionSourceBeanInfo.java
 (original)
+++ 
struts/shale/trunk/core-library/src/designtime/org/apache/shale/design/AbstractActionSourceBeanInfo.java
 Tue Feb 28 22:41:06 2006
@@ -1,148 +1,148 @@
-/*
- * Copyright 2006 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Id$
- */
-
-package org.apache.shale.design;
-
-import com.sun.jsfcl.std.Action;
-import com.sun.rave.designtime.Constants;
-import com.sun.rave.designtime.markup.AttributeDescriptor;
-import java.beans.EventSetDescriptor;
-import java.beans.IntrospectionException;
-import java.beans.PropertyDescriptor;
-import java.lang.reflect.Method;
-import javax.faces.event.ActionEvent;
-import javax.faces.event.ActionListener;
-
-/**
- * <p>Convenience base class for <code>BeanInfo</code> implementations for
- * JavaServer Faces components that implement <code>ActionSource</code>.</p>
- */
-public class AbstractActionSourceBeanInfo extends AbstractBeanInfo {
-    
-
-    // ------------------------------------------------------------ 
Constructors
-
-
-    /**
-     * <p>Create a new <code>BeanInfo</code> instance for the specified
-     * bean class.  Default the icon filenames based on the simple class
-     * name of the bean class.</p>
-     *
-     * @param clazz Bean class for which to create a <code>BeanInfo</code>
-     */
-    public AbstractActionSourceBeanInfo(Class clazz) {
-        super(clazz);
-    }
-
-
-    // ------------------------------------------------------- Protected 
Methods
-
-
-    /**
-     * <p>Add the additional event sets defined by 
<code>ActionSource</code>.</p>
-     */
-    protected void initEventSetDescriptors() throws Exception {
-
-        super.initEventSetDescriptors();
-
-        EventSetDescriptor event = null;
-        Method method = null;
-
-        method = Action.class.getMethod
-                ("action",
-                 new Class[] { });
-        event = new EventSetDescriptor
-                ("action",
-                 Action.class,
-                 new Method[] { method },
-                 null,
-                 null);
-        event.setValue(Constants.EventSetDescriptor.BINDING_PROPERTY,
-                       propertyDescriptor("action"));
-        event.setValue(Constants.EventDescriptor.DEFAULT_EVENT_BODY,
-                       bundle.getString("ActionSource.actionHandler"));
-        eventDescriptorsList.add(event);
-
-        method = ActionListener.class.getMethod
-                ("processAction",
-                 new Class[] { ActionEvent.class });
-        event = new EventSetDescriptor
-                ("actionListener",
-                 ActionListener.class,
-                 new Method[] { method },
-                 null,
-                 null);
-        event.setHidden(true);
-        event.setValue(Constants.EventSetDescriptor.BINDING_PROPERTY,
-                       propertyDescriptor("actionListener"));
-        event.setValue(Constants.EventDescriptor.DEFAULT_EVENT_BODY,
-                       bundle.getString("ActionSource.actionListenerHandler"));
-        eventDescriptorsList.add(event);
-
-    }
-
-
-    /**
-     * <p>Add the additional properties defined by 
<code>ActionSource</code>.</p>
-     */
-    protected void initPropertyDescriptors() throws Exception {
-
-        super.initPropertyDescriptors();
-
-        AttributeDescriptor ad = null;
-        PropertyDescriptor pd = null;
-
-        pd = new PropertyDescriptor("action", beanClass);
-        pd.setDisplayName(bundle.getString("ActionSource.action.displayName"));
-        
pd.setShortDescription(bundle.getString("ActionSource.action.shortDescription"));
-        pd.setExpert(false);
-        pd.setHidden(true);  //prevent action from showing up as event and 
property
-        pd.setPreferred(false);
-        
pd.setPropertyEditorClass(loadClass("com.sun.jsfcl.std.MethodBindingPropertyEditor"));
-        ad = new AttributeDescriptor("action", false, null, true);
-        pd.setValue(Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR, ad);
-        pd.setValue(Constants.PropertyDescriptor.CATEGORY, 
Categories.ADVANCED);
-        propDescriptorsList.add(pd);
-
-        pd = new PropertyDescriptor("actionListener", beanClass);
-        
pd.setDisplayName(bundle.getString("ActionSource.actionListener.displayName"));
-        
pd.setShortDescription(bundle.getString("ActionSource.actionListener.shortDescription"));
-        pd.setExpert(false);
-        pd.setHidden(false);
-        pd.setPreferred(false);
-        
pd.setPropertyEditorClass(loadClass("com.sun.jsfcl.std.MethodBindingPropertyEditor"));
-        ad = new AttributeDescriptor("action", false, null, true);
-        pd.setValue(Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR, ad);
-        pd.setValue(Constants.PropertyDescriptor.CATEGORY, 
Categories.ADVANCED);
-        propDescriptorsList.add(pd);
-
-        pd = new PropertyDescriptor("immediate", beanClass);
-        
pd.setDisplayName(bundle.getString("ActionSource.immediate.displayName"));
-        
pd.setShortDescription(bundle.getString("ActionSource.immediate.shortDescription"));
-        pd.setExpert(false);
-        pd.setHidden(false);
-        pd.setPreferred(false);
-        ad = new AttributeDescriptor("immediate", false, null, true);
-        pd.setValue(Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR, ad);
-        pd.setValue(Constants.PropertyDescriptor.CATEGORY, 
Categories.ADVANCED);
-        propDescriptorsList.add(pd);
-
-    }
-
-
-}
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Id$
+ */
+
+package org.apache.shale.design;
+
+import com.sun.jsfcl.std.Action;
+import com.sun.rave.designtime.Constants;
+import com.sun.rave.designtime.markup.AttributeDescriptor;
+import java.beans.EventSetDescriptor;
+import java.beans.IntrospectionException;
+import java.beans.PropertyDescriptor;
+import java.lang.reflect.Method;
+import javax.faces.event.ActionEvent;
+import javax.faces.event.ActionListener;
+
+/**
+ * <p>Convenience base class for <code>BeanInfo</code> implementations for
+ * JavaServer Faces components that implement <code>ActionSource</code>.</p>
+ */
+public class AbstractActionSourceBeanInfo extends AbstractBeanInfo {
+    
+
+    // ------------------------------------------------------------ 
Constructors
+
+
+    /**
+     * <p>Create a new <code>BeanInfo</code> instance for the specified
+     * bean class.  Default the icon filenames based on the simple class
+     * name of the bean class.</p>
+     *
+     * @param clazz Bean class for which to create a <code>BeanInfo</code>
+     */
+    public AbstractActionSourceBeanInfo(Class clazz) {
+        super(clazz);
+    }
+
+
+    // ------------------------------------------------------- Protected 
Methods
+
+
+    /**
+     * <p>Add the additional event sets defined by 
<code>ActionSource</code>.</p>
+     */
+    protected void initEventSetDescriptors() throws Exception {
+
+        super.initEventSetDescriptors();
+
+        EventSetDescriptor event = null;
+        Method method = null;
+
+        method = Action.class.getMethod
+                ("action",
+                 new Class[] { });
+        event = new EventSetDescriptor
+                ("action",
+                 Action.class,
+                 new Method[] { method },
+                 null,
+                 null);
+        event.setValue(Constants.EventSetDescriptor.BINDING_PROPERTY,
+                       propertyDescriptor("action"));
+        event.setValue(Constants.EventDescriptor.DEFAULT_EVENT_BODY,
+                       bundle.getString("ActionSource.actionHandler"));
+        eventDescriptorsList.add(event);
+
+        method = ActionListener.class.getMethod
+                ("processAction",
+                 new Class[] { ActionEvent.class });
+        event = new EventSetDescriptor
+                ("actionListener",
+                 ActionListener.class,
+                 new Method[] { method },
+                 null,
+                 null);
+        event.setHidden(true);
+        event.setValue(Constants.EventSetDescriptor.BINDING_PROPERTY,
+                       propertyDescriptor("actionListener"));
+        event.setValue(Constants.EventDescriptor.DEFAULT_EVENT_BODY,
+                       bundle.getString("ActionSource.actionListenerHandler"));
+        eventDescriptorsList.add(event);
+
+    }
+
+
+    /**
+     * <p>Add the additional properties defined by 
<code>ActionSource</code>.</p>
+     */
+    protected void initPropertyDescriptors() throws Exception {
+
+        super.initPropertyDescriptors();
+
+        AttributeDescriptor ad = null;
+        PropertyDescriptor pd = null;
+
+        pd = new PropertyDescriptor("action", beanClass);
+        pd.setDisplayName(bundle.getString("ActionSource.action.displayName"));
+        
pd.setShortDescription(bundle.getString("ActionSource.action.shortDescription"));
+        pd.setExpert(false);
+        pd.setHidden(true);  //prevent action from showing up as event and 
property
+        pd.setPreferred(false);
+        
pd.setPropertyEditorClass(loadClass("com.sun.jsfcl.std.MethodBindingPropertyEditor"));
+        ad = new AttributeDescriptor("action", false, null, true);
+        pd.setValue(Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR, ad);
+        pd.setValue(Constants.PropertyDescriptor.CATEGORY, 
Categories.ADVANCED);
+        propDescriptorsList.add(pd);
+
+        pd = new PropertyDescriptor("actionListener", beanClass);
+        
pd.setDisplayName(bundle.getString("ActionSource.actionListener.displayName"));
+        
pd.setShortDescription(bundle.getString("ActionSource.actionListener.shortDescription"));
+        pd.setExpert(false);
+        pd.setHidden(false);
+        pd.setPreferred(false);
+        
pd.setPropertyEditorClass(loadClass("com.sun.jsfcl.std.MethodBindingPropertyEditor"));
+        ad = new AttributeDescriptor("action", false, null, true);
+        pd.setValue(Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR, ad);
+        pd.setValue(Constants.PropertyDescriptor.CATEGORY, 
Categories.ADVANCED);
+        propDescriptorsList.add(pd);
+
+        pd = new PropertyDescriptor("immediate", beanClass);
+        
pd.setDisplayName(bundle.getString("ActionSource.immediate.displayName"));
+        
pd.setShortDescription(bundle.getString("ActionSource.immediate.shortDescription"));
+        pd.setExpert(false);
+        pd.setHidden(false);
+        pd.setPreferred(false);
+        ad = new AttributeDescriptor("immediate", false, null, true);
+        pd.setValue(Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR, ad);
+        pd.setValue(Constants.PropertyDescriptor.CATEGORY, 
Categories.ADVANCED);
+        propDescriptorsList.add(pd);
+
+    }
+
+
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to