Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364318

Summary: Create Outline below Desktop
Product: z_Archived Reporter: Matthias Villiger <mvi>
Component: ScoutAssignee: Project Inbox <scout.sdk-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Villiger CLA 2011-11-21 08:00:40 EST
Creating a new outline in Scout Explorer in the "Outlines" folder below a Desktop or Desktop Extension does not add the outline to the desktop even the corresponding checkbox in the wizard is ticked.

It works fine when the getConfiguredOutlines method in the desktop is of the following format:
ArrayList<Class> outlines = new ArrayList<Class>();
outlines.add(MyOutline1.class);
outlines.add(MyOutline2.class);
return outlines.toArray(new Class[outlines.size()]);

But if the getConfiguredOutlines is of the following format the outline cannot be added by the wizard:
return new Class[]{MyOutline1.class, MyOutline2.class};

The second format should also be supported.
Comment 1 Matthias Villiger CLA 2011-11-21 08:04:51 EST
support for array type added.
Comment 2 Matthias Zimmermann CLA 2012-07-09 06:50:41 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)