Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351319 - IGanttEventListener#evetsSelected is only called with non-empty selection
Summary: IGanttEventListener#evetsSelected is only called with non-empty selection
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Nebula (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Laurent CARON CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 08:38 EDT by Christian Sell CLA
Modified: 2021-07-05 11:40 EDT (History)
1 user (show)

See Also:


Attachments
unified patch, workspace root (5.33 KB, text/plain)
2011-07-06 08:58 EDT, Christian Sell CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Sell CLA 2011-07-06 08:38:20 EDT
Build Identifier: HEAD

when multiple event selection is allowed, an application should be able to handle the case where an event is un-selected, resulting in an empty selection. Currently, this case is explicitly excluded in code.

Reproducible: Always
Comment 1 Christian Sell CLA 2011-07-06 08:58:37 EDT
Created attachment 199182 [details]
unified patch, workspace root

I have fixed this issue in my local workspace, by adding a configuration option to ISettings, which by default (AbstractSettings) is false. Depending on that option, #eventSelected will also be fired for empty selection. A patch is attached (unified, workspace root)
Comment 2 Laurent CARON CLA 2019-09-08 12:42:39 EDT
But fixed in Nebula 2.3.0

Big thanks to Christian Sell for this patch.