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?