|combining "SWT stuff" with "view/perspective stuff" [message #489381]
||Fri, 02 October 2009 17:13
| Dave Combs
Registered: July 2009
I'm working on an RCP app where the majority of the page can work just fine as a set of perspectives and their views. However, the app designers have specified the layout such that the top of the window (where a coolbar would normally go) is really a set of stylized tabs and section headers buttons and search box and such (what I might say looks fairly "web-like".) |
This top area of the screen isn't something that should ever wrap, and it does not contain just a set of homogenous toolbar items.
I was trying to figure out how to do this with a coolbar, and couldn't come up with anything that works, because of the different item types and coolbars tendency to wrap. I was then trying to figure out if I could just have a view that all perspectives would share, but it can't be resizable while the rest of the views can, so I can't declare a fixed perspective layout. Then I wondered if it was possible to just try to bypass some of the Application window setup logic (the stuff that's creating the coolbar and such and placing everything) so that I basically build what's really a straight SWT app, but also contains views and perspectives.
None of these seem like particularly good solutions to this problem, so I was wondering what others would suggest--are any of the above reasonably possible to implement cleanly, or do I really have to pick either "build with views and editors and only put stuff inside them" or "build with SWT widgets entirely, and ignore views and editors and perspectives". I *really* would like to use views/perspectives, though--a lot of our functionality is precisely the sort of things they do well, and I don't want to reinvent the wheel unless I have to.
Powered by FUDForum
. Page generated in 0.12679 seconds