Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » An rcp application can start the other application?
An rcp application can start the other application? [message #463827] Fri, 16 February 2007 04:30
Eclipse UserFriend
Originally posted by: jayam.balasubramaniam.gmail.com

Hai all,
I am having an application with login dialog and main screen.In
login dialog i have an option to select the language, so the coming up
screen will be in selected language.
For internationalize the application if made the entry in
config.ini
it is working fine,if want to set the language dynamically i have to make
the entry in config.ini and to restart the application.Till this i am clear

This is my code in Application class

Display display = PlatformUI.createDisplay();

LoginDialog loginDialog = new LoginDialog(new Shell());
loginDialog.open();

try {
int returnCode = PlatformUI.createAndRunWorkbench(display, new
ApplicationWorkbenchAdvisor());
if (returnCode == PlatformUI.RETURN_RESTART) {
return IPlatformRunnable.EXIT_RESTART;
}
return IPlatformRunnable.EXIT_OK;
} finally {
display.dispose();
}

in LoginDialog class i made the entry in config.ini file once user is
authenducated ,if i restart the application againg my LoginDialog is poped
up,how i cant stop the dialog and start the workbench in user selected
language?

how i can resolve this scenario?

i can make the logindialog and main screen as seprate applications and

LoginDialog starting the main screen application.

(ie) An rcp application can start the other application?Is it feasible?

Could you suggest any other option to resolve this issue?

Thanks,
Jayam
Previous Topic:An rcp application can start another rcp application?
Next Topic:Why we need plugin_customizations.ini?
Goto Forum:
  


Current Time: Fri Mar 21 04:32:02 EDT 2025

Powered by FUDForum. Page generated in 0.06380 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top