Author: jjamrich
Date: 2012-01-05 08:28:12 -0500 (Thu, 05 Jan 2012)
New Revision: 23129
Added:
modules/tests/metamer/branches/contextMenu/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richContextMenu/
modules/tests/metamer/branches/contextMenu/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richContextMenu/ContextMenuAttributes.java
Modified:
modules/tests/metamer/branches/contextMenu/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/attributes/AttributeList.java
Log:
RF-10197: Add rich:contextMenu attributes list
Add attributes list into ftest-source for rich:contextMenu component
Modified:
modules/tests/metamer/branches/contextMenu/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/attributes/AttributeList.java
===================================================================
---
modules/tests/metamer/branches/contextMenu/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/attributes/AttributeList.java 2012-01-05
13:27:55 UTC (rev 23128)
+++
modules/tests/metamer/branches/contextMenu/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/attributes/AttributeList.java 2012-01-05
13:28:12 UTC (rev 23129)
@@ -16,6 +16,7 @@
import
org.richfaces.tests.metamer.ftest.richCollapsibleSubTableToggler.CollapsibleSubTableTogglerAttributes;
import org.richfaces.tests.metamer.ftest.richColumn.ColumnAttributes;
import
org.richfaces.tests.metamer.ftest.richComponentControl.ComponentControlAttributes;
+import org.richfaces.tests.metamer.ftest.richContextMenu.ContextMenuAttributes;
import org.richfaces.tests.metamer.ftest.richDataScroller.DataScrollerAttributes;
import org.richfaces.tests.metamer.ftest.richDragIndicator.DragIndicatorAttributes;
import org.richfaces.tests.metamer.ftest.richDragSource.DragSourceAttributes;
@@ -65,5 +66,6 @@
public static Attributes<PickListAttributes> pickListAttributes = new
Attributes<PickListAttributes>();
public static Attributes<TreeAttributes> treeAttributes = new
Attributes<TreeAttributes>(jq("span[id*=attributes]"));
public static Attributes<MenuItemAttributes> menuItemAttributes = new
Attributes<MenuItemAttributes>();
+ public static Attributes<ContextMenuAttributes> contextMenuAttributes = new
Attributes<ContextMenuAttributes>();
}
Added:
modules/tests/metamer/branches/contextMenu/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richContextMenu/ContextMenuAttributes.java
===================================================================
---
modules/tests/metamer/branches/contextMenu/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richContextMenu/ContextMenuAttributes.java
(rev 0)
+++
modules/tests/metamer/branches/contextMenu/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richContextMenu/ContextMenuAttributes.java 2012-01-05
13:28:12 UTC (rev 23129)
@@ -0,0 +1,66 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat, Inc., and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software 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 software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.richfaces.tests.metamer.ftest.richContextMenu;
+
+import org.richfaces.tests.metamer.ftest.attributes.AttributeEnum;
+
+/**
+ * Component attributes for rich:contextMenu
+ *
+ * @author <a href="mailto:jjamrich@redhat.com">Jan Jamrich</a>
+ * @version $Revision$
+ */
+public enum ContextMenuAttributes implements AttributeEnum {
+ attachTo,
+ dir,
+ direction,
+ disabled,
+ hideDelay,
+ horizontalOffset,
+ jointPoint,
+ label,
+ lang,
+ mode,
+ onclick,
+ ondblclick,
+ ongrouphide,
+ ongroupshow,
+ onhide,
+ onitemclick,
+ onkeydown,
+ onkeypress,
+ onkeyup,
+ onmousedown,
+ onmousemove,
+ onmouseout,
+ onmouseover,
+ onmouseup,
+ onshow,
+ popupWidth,
+ endered,
+ showDelay,
+ showEvent,
+ style,
+ styleClass,
+ title,
+ verticalOffset
+}