| Summary: | [Tooling][templates] Invalid value for org.eclipse.rap.ui/initialFastViewBarLocation preference. | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Elias Volanakis <elias> |
| Component: | Workbench | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | austin.riddle |
| Version: | 1.1 | ||
| Target Milestone: | 1.2 M5 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 259061 | ||
| Bug Blocks: | |||
|
Description
Elias Volanakis
Most people already know this, but I just thought that I would post it here for someone who might want to get rid of the error for their application.
Just add this line to preWindowOpen() in your implementation/subclass of WorkbenchWindowAdvisor:
@Override
public void preWindowOpen()
{
PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.INITIAL_FAST_VIEW_BAR_LOCATION, IWorkbenchPreferenceConstants.LEFT);
}
For what it's worth: it really seems to be caused by 259061. I've stepped through the code (1.2 M4) and a valid value is put into the prefs, however when retrieving the value it's "". This was solved with resolving bug #259061 |