public final class Main extends Object implements com.google.gwt.core.client.EntryPoint, HasLanguageHandlerExtension, HasLanguageEvent
HasLanguageEvent.LanguageEventConstant
LANGUAGE_CHANGED
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
void |
addLanguageHandlerExtension(LanguageHandlerExtension handlerExtension) |
void |
fireEvent(HasLanguageEvent.LanguageEventConstant event) |
static Main |
get() |
List<String> |
getExtensionUuidList()
getExtensionUuidList
|
String |
getLang()
Gets the actual lang
|
static String |
i18n(String property)
Gets the i18n param translation
|
String |
i18nExtension(String property)
Gets the i18n extension param translation
|
void |
loadTranslations()
loadTranslations
|
void |
onModuleLoad() |
void |
onModuleLoad2()
onModuleLoad2
|
void |
refreshLang(String lang)
Refresh language
|
void |
setExtensionUuidList(List<String> extensionUuidList)
setExtensionUuidList
|
void |
setLangMap(Map<String,String> hI18n)
Sets the lang map values
|
void |
showError(Class<?> clazz,
String callback,
Throwable caught)
Shows popup error message ( unique entry point for error on all application )
|
void |
showError(String callback,
Throwable caught)
Shows popup error message ( unique entry point for error on all application )
|
public static String CONTEXT
public ExtendedDockPanel mainPanel
public StartUpPopup startUpPopup
public FileUploadPopup fileUpload
public ErrorPopup errorPopup
public ErrorPopup errorPopupLogout
public MsgPopup msgPopup
public ExternalURLPopup externalURLPopup
public LogoutPopup logoutPopup
public SecurityPopup securityPopup
public AboutPopup aboutPopup
public UserPopup userPopup
public ConfirmPopup confirmPopup
public Draggable draggable
public PropertyGroupPopup propertyGroupPopup
public WorkflowPopup workflowPopup
public NotifyPopup notifyPopup
public DebugConsolePopup debugConsolePopup
public FindFolderSelectPopup findFolderSelectPopup
public FindDocumentSelectPopup findDocumentSelectPopup
public FindSimilarDocumentSelectPopup findSimilarDocumentSelectPopup
public WizardPopup wizardPopup
public ReportPopup reportPopup
public TemplateWizardPopup templateWizardPopup
public OnlineUsersPopup onlineUsersPopup
public TestPopup testPopup
public NotesPopup notesPopup
public CategoriesPopup categoriesPopup
public KeywordsPopup keywordsPopup
public PdfMergePopup pdfMergePopup
public TemplatePopup templatePopup
public ConversionStatus conversionStatus
public UpdatePropertyGroupPopup updatePropertyGroupPopup
public ConvertPopup convertPopup
public WorkspaceUserProperties workspaceUserProperties
public String fldPath
public String docPath
public String taskInstanceId
public boolean hasHeaderCustomization
public GWTFolder taxonomyRootFolder
public GWTFolder categoriesRootFolder
public GWTFolder metadataRootFolder
public GWTFolder thesaurusRootFolder
public GWTFolder personalRootFolder
public GWTFolder templatesRootFolder
public GWTFolder mailRootFolder
public GWTFolder trashRootFolder
public GWTUserConfig userHome
public FolderTree activeFolderTree
public StartUp startUp
public Location loc
public RepositoryContext repositoryContext
public boolean windowClosing
public static Main get()
public void onModuleLoad()
onModuleLoad
in interface com.google.gwt.core.client.EntryPoint
public void loadTranslations()
public void onModuleLoad2()
public void refreshLang(String lang)
lang
- The language codepublic String getLang()
public void showError(Class<?> clazz, String callback, Throwable caught)
okme
- The exception errorpublic void showError(String callback, Throwable caught)
okm
- The exception errorpublic static String i18n(String property)
properties
- The propetie code locatorpublic String i18nExtension(String property)
properties
- The propetier code locatorpublic void setExtensionUuidList(List<String> extensionUuidList)
extensionUuidList
- public void addLanguageHandlerExtension(LanguageHandlerExtension handlerExtension)
addLanguageHandlerExtension
in interface HasLanguageHandlerExtension
public void fireEvent(HasLanguageEvent.LanguageEventConstant event)
fireEvent
in interface HasLanguageEvent
Copyright © 2017 Open Knowledge Management System S.L.. All rights reserved.