litesoft
Diff Revisions
948
vs
950
for /trunk/GWT_Sandbox/Prioritizer/src/org/litesoft/prioritizer/client/ui/views/admin/RestrictedResourceEditorFactory.java
|
@@ -1,20 +1,20 @@ |
1 |
|
- |
package org.litesoft.prioritizer.client.ui.views.admin; |
2 |
|
- |
|
3 |
|
- |
import org.litesoft.GWT.client.view.*; |
4 |
|
- |
import org.litesoft.core.*; |
5 |
|
- |
import org.litesoft.prioritizer.client.*; |
6 |
|
- |
import org.litesoft.uispecification.*; |
7 |
|
- |
|
8 |
|
- |
public class RestrictedResourceEditorFactory extends ScreenViewFactory { |
9 |
|
- |
private static final String SECTION = ViewDefs.HOME_SECTION_ADMIN; |
10 |
|
- |
private static final ViewDef VIEW_DEF = ViewDefs.ADMIN_RESTRICTED_RESOURCE_EDITOR; |
11 |
|
- |
|
12 |
|
- |
public RestrictedResourceEditorFactory() { |
13 |
|
- |
super( VIEW_DEF ); |
14 |
|
- |
} |
15 |
|
- |
|
16 |
|
- |
@Override |
17 |
|
- |
public ScreenView createScreen( ClientContext pClientContext, UriFragmentIdParams pParams ) { |
18 |
|
- |
return new RestrictedResourceEditor( SECTION, VIEW_DEF ); |
19 |
|
- |
} |
20 |
|
- |
} |
|
1 |
+ |
package org.litesoft.prioritizer.client.ui.views.admin; |
|
2 |
+ |
|
|
3 |
+ |
import org.litesoft.GWT.client.view.*; |
|
4 |
+ |
import org.litesoft.core.*; |
|
5 |
+ |
import org.litesoft.prioritizer.client.*; |
|
6 |
+ |
import org.litesoft.uispecification.*; |
|
7 |
+ |
|
|
8 |
+ |
public class RestrictedResourceEditorFactory extends ScreenViewFactory { |
|
9 |
+ |
private static final String SECTION = ViewDefs.HOME_SECTION_ADMIN; |
|
10 |
+ |
private static final ViewDef VIEW_DEF = ViewDefs.ADMIN_RESTRICTED_RESOURCE_EDITOR; |
|
11 |
+ |
|
|
12 |
+ |
public RestrictedResourceEditorFactory() { |
|
13 |
+ |
super( VIEW_DEF ); |
|
14 |
+ |
} |
|
15 |
+ |
|
|
16 |
+ |
@Override |
|
17 |
+ |
public ScreenView createScreen( ClientContext pClientContext, UriFragmentIdParams pParams ) { |
|
18 |
+ |
return new RestrictedResourceEditor( SECTION, VIEW_DEF ); |
|
19 |
+ |
} |
|
20 |
+ |
} |