What I'd like to do is be able to tab between elements in table.
I currently am creating my table like this.
this.tableViewer =
new TableViewer(parent , SWT.FULL_SELECTION);
tableViewer.setUseHashlookup(true);
table = tableViewer.getTable();
GridData gridData = new GridData(GridData.FILL_BOTH);
...
Which are the reasons to choose the Eclipse Rich Client Platform as the base of my application, instead of just using SWT/JFace?
...
For my UI, I need a month selector (i.e. not a day but "what happened in August 2008"). Has anyone seen such an UI element?
Obviously, I'm looking for more than two combo boxes (one for the months and one for the year). What I want to know if someone has encountered a cool month selector. :)
...
If i write a text on SWT say "this text" in a particular font/style , i want the individual coords of 't' 'h' 'i' 's' and so on. Is there any way to obtain the same.
...
Anyone know if it's possible to enable/disable individual JFace TextCellEditor fields.
For instance if I have a table with 5 columns, I want the last cell to be empty unless field #4 is filled in.
...
Is there a simple way to draw underlined text in draw2d without manually drawing a line under the text?
...
I would like to use a "magnifying glass" (with + and -) cursor in my SWT application. I'm aware that it is pretty easy to create a cursor for oneself, I just don't want to invest the time right now. Has anyone a link, or a codesnippet with a "zoom in" and "zoom out" cursor which I could use?
...
I am trying to display a large SQLite table in SWT. The problem is that SQLite's ResultSet does not support TYPE_SCROLL_INSENSITIVE which is needed when using the Listener approach. Is there a different approach for creating a virtual SWT table from an SQLite ResultSet?
...
I'd like to be able to detect keyboard input (namely the TAB key) when an SWT menu is open, but it doesn't seem to broadcast any events when listeners are added with the addListener method, and there are no addKeyListener or addTraverseListener methods.
I've also tried adding listeners to the control to which the menu is added (it's a ...
Hi,
I have a section with TITLE_BAR, and i try to add a menu to the section header (like in the PDE editors).
All I could find is the context menu.
...
How do I get a Font object representing the font set as the "Text Font" in the Eclipse Preferences -> General -> Appearance -> Colors and Fonts? I'm implementing a table-view where one of the columns is supposed to contained fixed-width text.
...
I'm running Mac OS X Snow Leopard and wan't to access the Display from the activator in an OSGi bundle.
Below is the start method for my activator:
@Override
public void start(BundleContext context) throws Exception {
ExecutorService service = Executors.newSingleThreadExecutor();
service.execute(new Runnable() {
@Over...
My app is cross-platform, hence why SWT is being used. I can easily monitor for the Mac Command/Flower key press when the app is running using SWT (they have SWT.COMMAND as a key press).
I want to know how to see if the command key is being pressed and held down as the app opens. I found a few examples on here, but those were for caps ...
I am using EmbeddedSwingComposite (built on SWT_AWT bridge) which is mentioned in the following article :
http://www.eclipse.org/articles/article.php?file=Article-Swing-SWT-Integration/index.html
Though it says that using the above technique modality issues are resolved. But in my case there are still some modality issues left. I guess ...
I'm looking to unit test some SWT and Swing code for a project I'm working on and the tests run fine as long as I'm running them from eclipse.
As soon as I run them in my hudson environment it fails since hudson runs the tests in headless mode.
What's the best way of doing this? Open source solutions only please (since the project is ...
I am currently reading about SWT. There is often written, that Eclipse as an SWT application looks like the standard GUIs of the host platform or OS. But I dont think so. At least under windows the tabs of the eclipse views does not look like the standard windows tabs.
Why is this?
Was this ever different?
What about other SWT applicat...
So, I'm working on a plugin at work and I've run into a situation where I could use a ContentProposalAdapter to my benefit. Basically, a person will start typing in someone's name and then a list of names matching the current query will be returned in a type-ahead manner (a la Google). So, I created a class IContentProposalProvider which...
I have a large project which uses SWT on several different platforms like windows (32 and 64 bits), linux-gtk (32 and 64 bits) etc. The project has several modules in a simple structure:
project-parent
+- core
+- swt-bridge (uses SWT)
+- module1 (uses swt-bridge module)
+- module2
+- ...
+- module17 (uses swt-bridge module)
I w...
I'm trying to develop a UI using SWT and Java Webstart. As a starting point I've created a simple app that works fine with Windows and Linux, but fails to work on Mac. My test app is available here. There are also links to the jar files and class code.
Can anyone explain how to make this work on Mac?
...
hi all,
i bought a third-party java library which include a jar file and two dll files. i wrote my own java program which invoke the third-party jar file. now my question is how can i package all my code into a single jar file which include all my code and the third-party jar and dlls? great thanks.
ps:
i know swt is such a case. the s...