|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.app.LyMain
public class LyMain
This class contains the main method used to create Leonardi applications. It must be used for fat clients (win viewer, swing viewer...). The usage is:
java LyMain [appname <project>.ini]+
where appname
is the name of the application and <project>.ini
the path of the ini file.
LyApplication
,
LySession
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Constructor Summary | |
---|---|
LyMain()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
Main method. |
static void |
startApplication(java.lang.String appname,
java.lang.String iniFile)
Method used to start an application. |
static void |
startApplication(java.lang.String appname,
java.lang.String iniFile,
java.lang.String perspectiveId)
Method used to start an application. |
static void |
startApplication(java.lang.String appname,
java.lang.String iniFile,
java.lang.String perspectiveId,
java.lang.ClassLoader classLoader)
Method used to start an application. |
static void |
startApplication(java.lang.String appname,
java.lang.String iniFile,
java.lang.String perspectiveId,
java.lang.ClassLoader classLoader,
java.lang.String chosenLanguage)
Method used to start an application. |
static void |
startApplicationWithChosenLanguage(java.lang.String appname,
java.lang.String iniFile,
java.lang.String chosenLanguage)
Method used to start an application. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyMain()
Method Detail |
---|
public static void main(java.lang.String[] argv)
LyApplication
started it creates a new LySession
based
on this application.
argv
- Parameters that describe applications that must be created (see usage in the
class description).LyApplication
,
LySession
public static void startApplication(java.lang.String appname, java.lang.String iniFile)
startApplication(appname,
iniFile, null, null)
.
appname
- Identifier of the application to start.iniFile
- Initialization file of the application (may be null).LyApplication
,
LySession
,
startApplication(String, String, String, ClassLoader)
public static void startApplicationWithChosenLanguage(java.lang.String appname, java.lang.String iniFile, java.lang.String chosenLanguage)
startApplication(appname,
iniFile, null, null)
.
appname
- Identifier of the application to start.iniFile
- Initialization file of the application (may be null).chosenLanguage
- the desired languageLyApplication
,
LySession
,
startApplication(String, String, String, ClassLoader)
public static void startApplication(java.lang.String appname, java.lang.String iniFile, java.lang.String perspectiveId)
startApplication(appname,
iniFile, perspectiveId, null)
.
appname
- Identifier of the application to start.iniFile
- Initialization file of the application (may be null).perspectiveId
- The persectiveId.LyApplication
,
LySession
,
startApplication(String, String, String, ClassLoader)
public static void startApplication(java.lang.String appname, java.lang.String iniFile, java.lang.String perspectiveId, java.lang.ClassLoader classLoader)
appname
- I dentifier of the application to start.iniFile
- Initialization file of the application (may be null).perspectiveId
- The persectiveId.classLoader
- The applicationClassLoader.LyApplication
,
LySession
public static void startApplication(java.lang.String appname, java.lang.String iniFile, java.lang.String perspectiveId, java.lang.ClassLoader classLoader, java.lang.String chosenLanguage)
appname
- Identifier of the application to start.iniFile
- Initialization file of the application (may be null).perspectiveId
- The persectiveId.classLoader
- The applicationClassLoader.chosenLanguage
- Language of the application to start (may be null).LyApplication
,
LySession
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |