By using warproduct, Compilation errors occurred during the operation [message #758499] |
Wed, 23 November 2011 08:18 |
Eclipse User |
|
|
|
In the login dialog to add the Application class
public class Application implements IApplication {
public Object start(IApplicationContext context) throws Exception {
Display display = PlatformUI.createDisplay();
LoginDialog loginDialog = new LoginDialog(display.getActiveShell());
// 加载登录切入点
if (loginDialog.open() != Window.OK) {
return IApplication.EXIT_OK;
}
return PlatformUI.createAndRunWorkbench(display,
new ApplicationWorkbenchAdvisor());
}
public void stop() {
// Do nothing
}
}
ERROR in D:\work\eoffice\src\eoffice\startup\Application.java (at line 21)
int result = loginDialog.open();
^^^^^^^^^^^
loginDialog cannot be resolved
|
|
|
Powered by
FUDForum. Page generated in 0.02776 seconds