|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oberon.client.Application com.oberon.client.OberonClient
public class OberonClient
Basic SWT Client
Field Summary | |
---|---|
org.eclipse.swt.widgets.Label |
statusBar
|
org.eclipse.swt.custom.CTabFolder |
topTabFolder
|
Fields inherited from class com.oberon.client.Application |
---|
appIcon, application_MainMenu, conf, CONF_FILE_SECTION, CONF_VIEW_SECTION, dialogs, dictionary_common_section, dictionary_default_language, dictionary_menu_section, dictionary_section, display, driverManager, framework, globalfont, ID, isRWT, locale, name, name_revision_separator, number_separator_symbols, ON_TOP, search_all_label, selectApplication, session, shell, show_object_class, show_object_namerev, sToken, subname, uploadDir, URL_JAVAAPI, URL_OBERON, URL_OOQL, use_search_patterns |
Constructor Summary | |
---|---|
OberonClient(java.lang.String mainMenu)
Creates the client SWT structure and open the Home page |
Method Summary | |
---|---|
void |
addPageToContainer(org.eclipse.swt.widgets.Composite panel,
java.lang.String title,
ApplicationRequest request)
Add page to a TabFolder's Item |
static void |
confirmExit()
Ask confirm message when exit from the application |
org.eclipse.swt.widgets.Composite |
createPagePanel(java.lang.String title,
java.lang.String subTitle,
boolean objectMenu,
ApplicationRequest request)
Creates the page container |
void |
doActivityCompletion(ApplicationRequest request)
Open the default activity completion popup |
void |
doActivityList(ApplicationRequest request)
Open the activity list page |
void |
doChangeUser(ApplicationRequest request)
Open the Change User pop-up dialog |
void |
doClose(ApplicationRequest request)
Close a page or a pop-up dialog |
void |
doEdit(ApplicationRequest request)
Open a object Create/Edit page |
void |
doEditLink(ApplicationRequest request)
Open a link Edit page |
void |
doFiles(ApplicationRequest request)
Open the files panel |
void |
doHome(ApplicationRequest request)
Open the Home page |
void |
doLifecycle(ApplicationRequest request)
Open the lifecycle page |
void |
doNavigate(ApplicationRequest request)
Open the object navigation page |
void |
doSearch(ApplicationRequest request)
Open a search filter page |
void |
doSearchResult(ApplicationRequest request)
Open the search result set page |
void |
doSelect(ApplicationRequest request)
Open a object selection page |
void |
doSpaceTree(ApplicationRequest request)
Open the object spacetree |
void |
doValidations(ApplicationRequest request)
Open the validations panel |
void |
doWork(ApplicationRequest request)
Perform object operations |
void |
goForward(org.eclipse.swt.widgets.Widget targetwin,
java.lang.String url)
Open a URL in a target window |
boolean |
handleRequest(ApplicationRequest request)
Handle an Application request |
void |
log(java.lang.String message)
Show a message in the application Log panel or in the status bar |
static void |
main(java.lang.String[] args)
|
void |
setCSSStyles()
Defines CSS styles |
void |
setFramework()
Open the Framework dialog to login into OBEROn |
void |
setpassword()
Open the Password dialog to change the OBEROn password |
java.lang.String |
translateOberonLanguageToISO639Language(java.lang.String language)
Convert the language code from the Application format to standard ISO code |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public org.eclipse.swt.widgets.Label statusBar
public org.eclipse.swt.custom.CTabFolder topTabFolder
Constructor Detail |
---|
public OberonClient(java.lang.String mainMenu)
mainMenu
- the application main menu; if null the main menu is read from the
configuration file (is the "application" property in the
[CONNECTION] section)Method Detail |
---|
public void setFramework()
setFramework
in class Application
public void setpassword()
public static void confirmExit() throws java.lang.Exception
java.lang.Exception
public boolean handleRequest(ApplicationRequest request)
handleRequest
in class Application
public void doHome(ApplicationRequest request)
public void doChangeUser(ApplicationRequest request)
public void doClose(ApplicationRequest request)
public void doSearch(ApplicationRequest request)
public void doSearchResult(ApplicationRequest request)
public void doSelect(ApplicationRequest request)
public void doEdit(ApplicationRequest request)
public void doEditLink(ApplicationRequest request)
public void doLifecycle(ApplicationRequest request)
public void doValidations(ApplicationRequest request)
public void doNavigate(ApplicationRequest request)
public void doSpaceTree(ApplicationRequest request)
public void doFiles(ApplicationRequest request)
public void doActivityList(ApplicationRequest request)
public void doActivityCompletion(ApplicationRequest request)
public void doWork(ApplicationRequest request)
public void goForward(org.eclipse.swt.widgets.Widget targetwin, java.lang.String url)
targetwin
- the target window (a CTabItem or a dialog Shell)url
- the URL to openpublic org.eclipse.swt.widgets.Composite createPagePanel(java.lang.String title, java.lang.String subTitle, boolean objectMenu, ApplicationRequest request)
title
- the page titlesubTitle
- the page subtitleobjectMenu
- if true show the object contextual menurequest
- related Application requestpublic void addPageToContainer(org.eclipse.swt.widgets.Composite panel, java.lang.String title, ApplicationRequest request)
panel
- the page paneltitle
- the TabItem titlerequest
- related Application requestpublic java.lang.String translateOberonLanguageToISO639Language(java.lang.String language)
translateOberonLanguageToISO639Language
in class Application
public void log(java.lang.String message)
log
in class Application
public void setCSSStyles()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |