Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » WorkbenchAdvisor SHOW_SYSTEM_JOBS
WorkbenchAdvisor SHOW_SYSTEM_JOBS [message #1176691] Fri, 08 November 2013 13:48
Martin Ganserer is currently offline Martin GansererFriend
Messages: 3
Registered: March 2011
Junior Member
Hi,

I have a question regarding the WorkbenchAdvisor:

Is this class basically supported by RAP? If yes, how can I enable showing system jobs and the filter text feature?

I just copied the existing class to my RAP project:

public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor
{
	/* (non-Javadoc)
	 * @see org.eclipse.ui.application.WorkbenchAdvisor#createWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer)
	 */
	@Override
	public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer)
	{
		return new ApplicationWorkbenchWindowAdvisor(configurer);
	}

	/* (non-Javadoc)
	 * @see org.eclipse.ui.application.WorkbenchAdvisor#getInitialWindowPerspectiveId()
	 */
	@Override
	public String getInitialWindowPerspectiveId()
	{
		return Perspective.ID;
	}

	/* (non-Javadoc)
	 * @see org.eclipse.ui.application.WorkbenchAdvisor#initialize(org.eclipse.ui.application.IWorkbenchConfigurer)
	 */
	@Override
	public void initialize(IWorkbenchConfigurer configurer)
	{
		PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.SHOW_FILTERED_TEXTS, true);
		PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.SHOW_SYSTEM_JOBS, true);

		// Tell configurer to save workbench state when application goes down
		configurer.setSaveAndRestore(true);
	}
}


But both features are not displayed!
Is there maybe further configuration necessary?

Previous Topic:dropdown widget - autosuggest
Next Topic:RCP to RAP Example - Error
Goto Forum:
  


Current Time: Sun Nov 23 19:02:32 GMT 2014

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

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