swt

How could I know whether org.eclipse.swt.browser.Browser.setText(html) renderred html completed

org.eclipse.swt.events.Progresslistner{ public void completed(ProgressEvent e){} } the method completed(ProgressEvent) only means the browser has loaded the html, but still not ready to render. What I needed is a callback when render completed. Is there any way could do this? thx ...

Triangle in draw2d library

Hi! I can't understand org.eclipse.draw2d.Triangle's api. There are some fields for manipulation: protected int direction The direction this triangle will face. Possible values are PositionConstants.NORTH, PositionConstants.SOUTH, PositionConstants.EAST and PositionConstants.WEST. protected int orientation The orientation of t...

Eclipse' docking framework

Can Eclipse' docking framework be used independent of Eclipse/RCP for, e.g., a lightweight SWT application? ...

SWT basics: difference between Display and Shell

A typical SWT sample code looks like the following: final Display display = Display.getDefault(); final Shell shell = createMyShell(display); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } What is the difference between the Display and the Shell? If multiple windows have to b...

SWT on OS X: menu without window

On OS X if you close the last window, the application still is living and, if focused, shows a menu bar (without any window). What is the simplest SWT example code demonstrating this behavior? Thanks in advance. ...

Where can I buy commercial SWT components ?

Hello, I'm looking for commercial-grade SWT components such as polished charts, grids, or layout managers (similar to what's available on .Net with DevExpress Charts and Grids for instance). Do you have some pointers to provide ? Thanks! ...

SWT-Documentation for Swing-experienced developers

Are there good SWT-tutorials for developers experienced with Swing? Which, especially, explain how to do different Swing-features with SWT? ...

Writing ONLY in the last line of a text box in Java SWT

Hi all, I'm developing a program like Terminal in Linux or Command Prompt in Windows, but I'm developing it on Linux, and I don't care much about portability. The program is written in Java, using SWT. The user writes the commands in a text box, and when he presses 'enter' it reads this line and interpret it. The problem is that the ...

Using Eclipse SWT Image, JAVA and SQLite to insert, store and retrieve Images.

Hi all, Any help would be greatly appreciated. I'm writing a basic Java application that allows a user to insert details about individuals into an SQLite database. I'm using Eclipse SWT for the GUI. Eclipse SWT defines a type Image (org.eclipse.swt.graphics.Image) for displaying Images in a GUI. I am trying to allow a user to browse...

SWT on OS X: unified toolbar?

Does SWT support OS-X-specific unified toolbars or button bars? ...

How to find components within IWorkbenchPart?

I'm writing a plugin for a poorly-documented Eclipse RCP application and I need to add a listener to what I believe is a TreeViewer within a view. I have access to the IWorkbenchPart representing the view, but how can I get the TreeViewer it contains? I'd guess I need a method to return the child components (i.e. something equivalent t...

SWT on OS X: NSSheet equivalent

Is SWT capable of showing an NSSheet like Quaqua simulates it using Swing? ...

Read Flash Cookie from javascript or ASP.Net

We have a flash video that was created for our project, we dont the source so we have to work around the compiled flash file. We are going to host the video on our domain and the video creates a sol cookie (flash cookie) file to store how far the user has proceeded though the video. So my plan is to access this cookie to see how far th...

Eclipse Plugin development: How do you prevent another job from running

Greetings all. I have 2 actions: "Find" and "Run". They can be invoked in 3 ways: Find only; Run only; and Find and Run. I want to put both actions in Jobs. For the case of "Find and Run", what is the best way in Eclipse to have the "Run" job wait for the "Find" job to complete. Importantly, the "Run" job depends on the results from t...

How can I show all of String in Console View

I docked console plug-in in my rcp application. and the problem is even I set the buffer size by 'setWarterMark()' , not able to show all of the String. It is cut out . How can I solve this. How can I show it up all ...