Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364318 - Create Outline below Desktop
Summary: Create Outline below Desktop
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-21 08:00 EST by Matthias Villiger CLA
Modified: 2021-08-19 11:20 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)