Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/GWT/Dev/src/org/litesoft/GWT/client/dev/ui/testplan/TestPlanActionScreenView.java

Diff revisions: vs.
  @@ -1,49 +1,49 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.GWT.client.dev.ui.testplan;
3 -
4 - import org.litesoft.testplan.*;
5 -
6 - import com.google.gwt.user.client.*;
7 -
8 - public class TestPlanActionScreenView implements TestPlanAction
9 - {
10 - private static final long serialVersionUID = 1L;
11 -
12 - private /* final */ String mURL;
13 -
14 - @SuppressWarnings({"deprecation", "UnusedDeclaration"}) @Deprecated /** for Serialization */
15 - protected TestPlanActionScreenView()
16 - {
17 - }
18 -
19 - public TestPlanActionScreenView( String pURL )
20 - {
21 - mURL = pURL;
22 - }
23 -
24 - public String getURL()
25 - {
26 - return mURL;
27 - }
28 -
29 - @Override
30 - public String toString()
31 - {
32 - return "ScreenView w/ URL: " + mURL;
33 - }
34 -
35 - public boolean execute( Object pClickHandlerSharedObject )
36 - {
37 - int zFragmentAt = mURL.indexOf( '#' );
38 - if ( zFragmentAt != -1 )
39 - {
40 - String zFragment = mURL.substring( zFragmentAt + 1 ).trim();
41 - if ( zFragment.length() != 0 )
42 - {
43 - History.newItem( zFragment, true );
44 - return true;
45 - }
46 - }
47 - return false;
48 - }
49 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.GWT.client.dev.ui.testplan;
3 +
4 + import org.litesoft.testplan.*;
5 +
6 + import com.google.gwt.user.client.*;
7 +
8 + public class TestPlanActionScreenView implements TestPlanAction
9 + {
10 + private static final long serialVersionUID = 1L;
11 +
12 + private /* final */ String mURL;
13 +
14 + @SuppressWarnings({"deprecation", "UnusedDeclaration"}) @Deprecated /** for Serialization */
15 + protected TestPlanActionScreenView()
16 + {
17 + }
18 +
19 + public TestPlanActionScreenView( String pURL )
20 + {
21 + mURL = pURL;
22 + }
23 +
24 + public String getURL()
25 + {
26 + return mURL;
27 + }
28 +
29 + @Override
30 + public String toString()
31 + {
32 + return "ScreenView w/ URL: " + mURL;
33 + }
34 +
35 + public boolean execute( Object pClickHandlerSharedObject )
36 + {
37 + int zFragmentAt = mURL.indexOf( '#' );
38 + if ( zFragmentAt != -1 )
39 + {
40 + String zFragment = mURL.substring( zFragmentAt + 1 ).trim();
41 + if ( zFragment.length() != 0 )
42 + {
43 + History.newItem( zFragment, true );
44 + return true;
45 + }
46 + }
47 + return false;
48 + }
49 + }