public abstract class AbstractModule extends Object implements com.google.gwt.core.client.EntryPoint, Module
| Modifier and Type | Field and Description |
|---|---|
protected String |
moduleKey |
protected String |
moduleTitle |
protected Integer |
order |
protected LinkedHashMap<String,String[]> |
pages |
protected List<Section> |
sections |
| Constructor and Description |
|---|
AbstractModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConstants(i18nConstants constants) |
void |
addStandardSection(String modulePrefix,
String basePackageName)
Calls setSection using module standards for the arguments.
|
String |
getModuleKey() |
String |
getModuleTitle() |
Integer |
getOrder() |
LinkedHashMap<String,String[]> |
getPages() |
protected List<Section> |
getSections() |
void |
onModuleLoad() |
void |
postDraw() |
void |
preDraw() |
void |
registerModule() |
void |
removeSection(String sectionTitle) |
void |
setModuleKey(String moduleKey)
If 2 modules have the same key, the sections in that module are merged together.
|
void |
setModuleTitle(String moduleTitle) |
void |
setOrder(Integer order) |
void |
setSection(String sectionTitle,
String sectionViewKey,
String sectionViewClass,
String sectionPresenterKey,
String sectionPresenterClass,
List<String> sectionPermissions) |
protected void |
setSections(List<Section> sections) |
void |
setSecurity(String sectionViewKey,
List<String> sectionPermissions) |
protected LinkedHashMap<String,String[]> pages
protected String moduleTitle
protected String moduleKey
protected Integer order
public void registerModule()
public String getModuleTitle()
getModuleTitle in interface Modulepublic void setModuleTitle(String moduleTitle)
public String getModuleKey()
getModuleKey in interface Modulepublic void setModuleKey(String moduleKey)
moduleKey - public void addConstants(i18nConstants constants)
public void addStandardSection(String modulePrefix, String basePackageName)
modulePrefix - public void setSection(String sectionTitle, String sectionViewKey, String sectionViewClass, String sectionPresenterKey, String sectionPresenterClass, List<String> sectionPermissions)
public void removeSection(String sectionTitle)
public LinkedHashMap<String,String[]> getPages()
public void onModuleLoad()
onModuleLoad in interface com.google.gwt.core.client.EntryPointCopyright © 2013. All rights reserved.