JFace
How to resize a scroll composite to always fit its contents horizontally?
I have a scrolled composite ,it contains a tableViewer. My requirement is that if the table is increased in width,the scroll composite should not show horizontal scroll ,but it should expand to fit ta[详细]
2023-04-13 04:17 分类:问答Double click event for TreeViewer column header?
All I would like to do is to add double-click-to-sort at a JFace TreeViewer column.I could find the question asked in Eclipse forum since May 2010 but no response so far.[详细]
2023-04-12 22:55 分类:问答Java (SWT/JFace)- handling all exceptions within Runnable
I have an SWT/JFace application that uses the Realm (not sure of the concept) class to run the main program as a thread. I\'m trying to catch any uncaught exceptions using a try/catch block around my[详细]
2023-04-12 15:40 分类:问答How to bind multi selection indices of an SWT list?
I want to bind the current multiselection i开发者_如何学JAVAndices of a SWT list to my model. Ideally I would bind an int[] that represents the selected indices as returned by list.getSelectionIndices[详细]
2023-04-12 00:17 分类:问答Draw trees with links between them
I\'m developing a schema matching visualization tool. I have the problem that I have to draw trees and开发者_JAVA百科 the links between them like this image:[详细]
2023-04-11 02:38 分类:问答How do you get a TreeViewer in SWT to refresh properly?
I have an app that uses a JFace TreeViewer.I have it hooked up to a ContentProvider.Mostly, it works great.However, for some actions, like adding a Node in the middle of a list of Nodes or changing a[详细]
2023-04-10 23:36 分类:问答SWT/JFace Column and Line Span in TableViewer
I need to span some column and rows in a TableViewer. The image bellow pretty much speaks for itself.[详细]
2023-04-10 07:22 分类:问答eclipse rcp : custom drawing on composite which has a FillLayout not work
I am trying to ad开发者_如何学God a PaintListener to draw a top border on a Composite : pageComposite.addPaintListener(new PaintListener(){[详细]
2023-04-08 18:25 分类:问答SWT needs to much lines of code
I wondering why swt is so inconvenient to use. We as programmers have 开发者_开发问答to produce tons of unnecessary source code. Here an example.[详细]
2023-04-07 21:18 分类:问答eclipse rcp : help to create a customized StyledText widget
I want a customized StyledText widget which开发者_StackOverflow社区 can accept a keyword list,then highlight these keywords![详细]
2023-04-07 03:25 分类:问答