litesoft
@ 947
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
// This Source Code is in the Public Domain per: http://unlicense.org package org.litesoft.testplan; import org.litesoft.GWT.client.*; import org.litesoft.GWT.client.dev.ui.testplan.*; import org.litesoft.commonfoundation.typeutils.*; import org.litesoft.xml.*; public class TestPlanParserActionFactoryClickTableCell implements TestPlanActionFactory { private static final String TAG_NAME = TestPlanActionClickTableCell.FORM; @Override public TestPlanAction parse( PullParserProxy pParser ) { pParser.validateIsStartTag( TAG_NAME ); String zStrNth = Strings.noEmpty( pParser.getAttributeValue( "nth" ) ); int zRow = Integer.parseInt( Strings.noEmpty( pParser.getAttributeValue( "row" ) ) ); int zCol = Integer.parseInt( Strings.noEmpty( pParser.getAttributeValue( "col" ) ) ); String zModifiers = Strings.noEmpty( pParser.getAttributeValue( "modifiers" ) ); pParser.validateNextIsEndTag( TAG_NAME ); KeyboardKeyModifier zKeyboardKeyModifier = (zModifiers != null) ? KeyboardKeyModifier.valueOf( zModifiers ) : null; Integer zNth = (zStrNth != null) ? new Integer( zStrNth ) : null; return new TestPlanActionClickTableCell( zNth, zRow, zCol, zKeyboardKeyModifier ); } } |
Commits for litesoft/trunk/Java/GWT/Server/src/org/litesoft/testplan/TestPlanParserActionFactoryClickTableCell.java
Revision | Author | Commited | Message |
---|---|---|---|
947 Diff | GeorgeS | Fri 06 Jun, 2014 23:36:56 +0000 | Correct Spelling of package! |
939 Diff | GeorgeS | Mon 02 Jun, 2014 21:30:31 +0000 | Extracting commonfoundation |
801 Diff | GeorgeS | Wed 15 Aug, 2012 03:59:02 +0000 | |
49 Diff | GeorgeS | Mon 12 Apr, 2010 02:59:10 +0000 | License Text |
25 Diff | GeorgeS | Mon 01 Mar, 2010 14:09:51 +0000 | |
2 | GeorgeS | Sun 07 Feb, 2010 12:50:58 +0000 |