Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360928 - [Handlers] HandlerUtil returns null for getCurrentSelection
Summary: [Handlers] HandlerUtil returns null for getCurrentSelection
Status: CLOSED DUPLICATE of bug 242246
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Paul Webster CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-14 04:47 EDT by Wim Jongman CLA
Modified: 2011-10-26 13:24 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wim Jongman CLA 2011-10-14 04:47:27 EDT
Hi,

On linux when a jface dialog is opened before fetching the current selection from the HandlerUtil in the handler's execute method, the call

HandlerUtil.getCurrentSelection(event)

returns null.

This is different from windows where this does not occur.

build-id: M20110909-1335
Comment 1 Remy Suen CLA 2011-10-14 07:48:57 EDT
Probably the same bug as bug 242246.
Comment 2 Paul Webster CLA 2011-10-26 13:24:29 EDT

*** This bug has been marked as a duplicate of bug 242246 ***