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

Bug 383573

Summary: Be able to pass certain commands through layers that have no area
Product: [Technology] NatTable Reporter: Edwin Park <esp1>
Component: CoreAssignee: Project Inbox <nattable.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dirk.fauth
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Edwin Park CLA 2012-06-26 13:14:41 EDT
NatTable will automatically clip commands from being propagated down the layer stack if the command's coordinates are outside the layer's area. This is a problem in the case of trying to send commands like hide/show column to the body layer stack when there are no rows, and hence the body layer has no area.
Comment 1 Edwin Park CLA 2012-06-26 13:16:15 EDT
split out from bug 379916
Comment 2 Dirk Fauth CLA 2021-10-29 06:03:46 EDT
This is possible in the meantime by using the AbstractContextFreeCommand.

For column hide/show the HideColumnByIndexCommand can be used to hide a column that is not visible in the viewport, and the MultiColumnShowCommand can be used to show columns by index again.

I therefore close this ticket. If other commands are needed to be executed in areas outside the layer (e.g. viewport) a new ticket should be opened.