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

Bug 394333

Summary: Hard-coupling between MinMaxAddon and DndAddon via the TrimStack class
Product: [Eclipse Project] Platform Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: emoffatt, Lars.Vogel, nobody, wim.jongman
Version: 4.2.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 394231    
Bug Blocks:    

Description Lars Vogel CLA 2012-11-14 16:02:21 EST
During the splitting of the Addons in Bug 394231 I noticed that the DnDAddon as well as the MinMaxAdd are using the the TrimStack class.

Eric Moffatt suggested to solve that via tags, Quote:
-----
one way to do this would involve using tags...if the DnDAddon were to tag the MTC as 'Dragging' then the MinMax could listen for that tag being set and close the TrimStack
---------
Comment 1 Eric Moffatt CLA 2012-11-14 16:09:15 EST
Just to clarify:

We need some non-addon specific mechanism (a tag) that can be used to control whether a minimized stack is 'open' or not. In this specific case what's needed is a generic way to 'close' (hide) the stack if it's owning trim control is being dragged, eliminating the dependency in the DnDAddon.
Comment 2 Lars Vogel CLA 2014-03-17 17:40:55 EDT
This is a dup of Bug 394231

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