Skip to main content



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

Hai all,
I am having an application with login dialog and some 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 i 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.


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();
}
Previous Topic:Attaching SWT 3.2.2 source to 'Plug-in Dependencies' ?
Next Topic:An rcp application can start the other application?
Goto Forum:
  


Current Time: Mon Mar 17 21:56:05 EDT 2025

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

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

Back to the top