Author: alexsmirnov
Date: 2009-06-12 19:10:46 -0400 (Fri, 12 Jun 2009)
New Revision: 14608
Added:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/PropertyBean.java
Removed:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/builder/jsfmodel/
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/Component.java
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/Property.java
Modified:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/annotations/Component.java
Log:
improve APT model
Modified:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/annotations/Component.java
===================================================================
---
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/annotations/Component.java 2009-06-12
17:52:45 UTC (rev 14607)
+++
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/annotations/Component.java 2009-06-12
23:10:46 UTC (rev 14608)
@@ -37,4 +37,8 @@
public @interface Component {
public String type();
+
+ public String family();
+
+ public String className();
}
Copied: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model (from rev
14599, branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/builder/jsfmodel)
Deleted:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/Component.java
===================================================================
---
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/builder/jsfmodel/Component.java 2009-06-11
17:48:45 UTC (rev 14599)
+++
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/Component.java 2009-06-12
23:10:46 UTC (rev 14608)
@@ -1,28 +0,0 @@
-package org.richfaces.builder.jsfmodel;
-
-import java.util.List;
-
-/**
- * That class represents JSF component in the CDK.
- * @author asmirnov(a)exadel.com
- *
- */
-public class Component {
-
- private String type;
-
- private String family;
-
- private String classname;
-
- private String superclass;
-
- private String description;
-
- private String displayname;
-
- private String icon;
-
- private List<Property> properties;
-
-}
Added:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java
===================================================================
---
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java
(rev 0)
+++
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java 2009-06-12
23:10:46 UTC (rev 14608)
@@ -0,0 +1,30 @@
+package org.richfaces.cdk.model;
+
+import java.util.List;
+
+/**
+ * That class represents JSF component in the CDK.
+ * @author asmirnov(a)exadel.com
+ *
+ */
+public class ComponentBean {
+
+ private String type;
+
+ private String family;
+
+ private String className;
+
+ private String superClass;
+
+ private String description;
+
+ private String displayname;
+
+ private String icon;
+
+ private List<PropertyBean> properties;
+
+ private TagBean tag;
+
+}
Property changes on:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/Property.java
===================================================================
---
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/builder/jsfmodel/Property.java 2009-06-11
17:48:45 UTC (rev 14599)
+++
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/Property.java 2009-06-12
23:10:46 UTC (rev 14608)
@@ -1,115 +0,0 @@
-/**
- * License Agreement.
- *
- * Rich Faces - Natural Ajax for Java Server Faces (JSF)
- *
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package org.richfaces.builder.jsfmodel;
-
-/**
- * That class represents JSF component property.
- * @author asmirnov(a)exadel.com
- *
- */
-public class Property {
-
- /**
- * <p class="changed_added_4_0">Bean property name of component
attribute</p>
- */
- private String name;
-
- /**
- * <p class="changed_added_4_0">Name of the attribute type
class</p>
- */
- private String classname;
-
- /**
- * <p class="changed_added_4_0">Attribute description</p>
- */
- private String description;
-
- /**
- * <p class="changed_added_4_0">Display name for IDE</p>
- */
- private String displayname;
-
- /**
- * <p class="changed_added_4_0"></p>
- * @return the name
- */
- public String getName() {
- return name;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @param name the name to set
- */
- public void setName(String name) {
- this.name = name;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @return the classname
- */
- public String getClassname() {
- return classname;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @param classname the classname to set
- */
- public void setClassname(String classname) {
- this.classname = classname;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @return the description
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @param description the description to set
- */
- public void setDescription(String description) {
- this.description = description;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @return the displayname
- */
- public String getDisplayname() {
- return displayname;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @param displayname the displayname to set
- */
- public void setDisplayname(String displayname) {
- this.displayname = displayname;
- }
-
-}
Added:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/PropertyBean.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/PropertyBean.java
(rev 0)
+++
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/PropertyBean.java 2009-06-12
23:10:46 UTC (rev 14608)
@@ -0,0 +1,115 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.cdk.model;
+
+/**
+ * That class represents JSF component property.
+ * @author asmirnov(a)exadel.com
+ *
+ */
+public class PropertyBean {
+
+ /**
+ * <p class="changed_added_4_0">Bean property name of component
attribute</p>
+ */
+ private String name;
+
+ /**
+ * <p class="changed_added_4_0">Name of the attribute type
class</p>
+ */
+ private String classname;
+
+ /**
+ * <p class="changed_added_4_0">Attribute description</p>
+ */
+ private String description;
+
+ /**
+ * <p class="changed_added_4_0">Display name for IDE</p>
+ */
+ private String displayname;
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @return the name
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @param name the name to set
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @return the classname
+ */
+ public String getClassname() {
+ return classname;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @param classname the classname to set
+ */
+ public void setClassname(String classname) {
+ this.classname = classname;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @return the description
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @param description the description to set
+ */
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @return the displayname
+ */
+ public String getDisplayname() {
+ return displayname;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @param displayname the displayname to set
+ */
+ public void setDisplayname(String displayname) {
+ this.displayname = displayname;
+ }
+
+}
Property changes on:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/PropertyBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Show replies by date