litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/Prioritizer/src/org/litesoft/prioritizer/client/ui/views/stories/InitialPrioritizingFactory.java
|
@@ -6,30 +6,25 @@ |
6 |
6 |
|
import org.litesoft.prioritizer.client.*; |
7 |
7 |
|
import org.litesoft.uispecification.*; |
8 |
8 |
|
|
9 |
|
- |
public class InitialPrioritizingFactory extends ScreenViewFactory |
10 |
|
- |
{ |
|
9 |
+ |
public class InitialPrioritizingFactory extends ScreenViewFactory { |
11 |
10 |
|
private static final String SECTION = ViewDefs.HOME_SECTION_STORIES; |
12 |
11 |
|
private static final ViewDef VIEW_DEF = ViewDefs.INITIAL_PRIORITIZING_STORIES; |
13 |
12 |
|
|
14 |
|
- |
public InitialPrioritizingFactory() |
15 |
|
- |
{ |
|
13 |
+ |
public InitialPrioritizingFactory() { |
16 |
14 |
|
super( VIEW_DEF ); |
17 |
15 |
|
UriFragmentIdInteger.FACTORY.register(); |
18 |
16 |
|
} |
19 |
17 |
|
|
20 |
18 |
|
@Override |
21 |
|
- |
public ScreenView createScreen( ClientContext pClientContext, UriFragmentIdParams pParams ) |
22 |
|
- |
{ |
|
19 |
+ |
public ScreenView createScreen( ClientContext pClientContext, UriFragmentIdParams pParams ) { |
23 |
20 |
|
return new InitialPrioritizing( SECTION, VIEW_DEF, decodeParams( pParams ) ); |
24 |
21 |
|
} |
25 |
22 |
|
|
26 |
|
- |
protected static Integer decodeParams( UriFragmentIdParams pParams ) |
27 |
|
- |
{ |
|
23 |
+ |
protected static Integer decodeParams( UriFragmentIdParams pParams ) { |
28 |
24 |
|
return UriFragmentIdInteger.decode( pParams ); |
29 |
25 |
|
} |
30 |
26 |
|
|
31 |
|
- |
public static UriFragmentIdParams encodeParams( Integer pTopRowOffset ) |
32 |
|
- |
{ |
|
27 |
+ |
public static UriFragmentIdParams encodeParams( Integer pTopRowOffset ) { |
33 |
28 |
|
return UriFragmentIdInteger.encode( pTopRowOffset ); |
34 |
29 |
|
} |
35 |
30 |
|
} |