rcp

RCP unit-tests via fragment delays any view to be shown after all test are finished

hi, I have strange problem using fragment with tests for my plug-in. all I do in the test is initialize the view in set-up and then in test I wait 20 second (with Thread.sleep). the result is that my application (view) never show until the test finish. can I do something about it? this is just an example, my test are about testing ui ...

Create and bind a GUI from xsd file automatically in eclipse rcp app

I want to create GUI components from XSD files. The generated GUIs should be used for concrete xml instances of the corresponding schema with databinding to "interesting" elements or attributes content. I have considered these solutions: jaxfront. (commercial tool). This does not generate source code. This is important for me because I...

how to get paramater from commandline when running rcp in command window?

as we know, we can run eclipse in command line as follows: eclipse.exe -clean I need run my eclipse rcp program in the same way myrcp.exe path then how can I get the parameter "path" in myrcp code? thanks~ ...

Recheck rcp handler after execute

I’m having an issue with our propertyTester and enabling handlers. The property is areUpdatesAvailable and the handler is enabled when this property is true. After the handler executes the areUpdatesAvailable value becomes false, but how I currently have it set up, it only checks when the selection changes. So if I right click on an item...

Eclipse RCP: How to troubleshoot plugin dependencies & classpath problems?

I am working on an RCP project based on eclipse. It has been working fine but recently I thought I'd upgrade it to use a new eclipse version (3.2 -> 3.5). After a bit of trouble, it was running on the new platform. Then I did something. Don't know what. The end result is that I'm now getting a classpath error when one of my plugins (A) ...

Columns & FilteredTree in Eclipse

I'm trying to create a FilteredTree with several columns with no luck. If I use a TreeViewer the columns work fine but when I switch to using a FilteredTree I can only get it to work if I remove the columns, so I'm wondering if there is a way to use FilteredTree with columns. ...

How to update HtmlDisplayName on a NetBeans AbstractNode

I am working on NetBeans Platform 6.7 I have a simple BeanTreeView to display some nodes. They all start in normal text and I wish to change some of them to bold and/or underline, in response to events in the software. Trouble is, I cannot see how to get the Tree to refresh the Nodes display. I can call AbstractNode.setName() which wi...

TableViewer inital sorting

Hi everybody, I have a problem with JFace TableViewer in RCP. Basically I have a table with 4 rows, and as input I give an already sorted list of elements. So I expect that first element in my input list is first row in a table. However, the TableViewer reorders the elements, and shows them sorted in DESC order for first column. Since t...

Update of RCP-3.5 based application with old update-site failes

I am trying to update an eclipse-RCP-3.5 based application by an "old school" (not p2) update-site. It's a feature beased application with two features. Update process itself works fine. Application starts the update process if there is a new features an the update-site. The application downloads all new bundles but after restart the ol...

P2 Update of RCP based application failes

I trying to update an Eclipse-RCP-3.5 based application by an P2 update-site. Application contains two features. Product is build by Eclipse Buckminster. Creation of the P2 update site is part of the product build. When start the update by Menu: Update -> Check for Updates a messages box is shown: There is nothing to update. When i tr...

Configure a p2 update repository programmatically

There is an article in the Eclipse wiki how to configure user's p2 default repositories of an RCP application by adding a static conf file to your product: Equinox/p2/Adding Self-Update to an RCP Application - Configuring the user's default repositories I want to do the same programmatically in a Java class when the user changes some ...

Rcp problem using extension

Hello everyone, I have a problem with loading an "extension" into an RCP application. I have an "extension point" defined in a "eclipse-rcp" plug-in project, this "extension point" is already extended in 3 other RCP applications. But I encounter a problem using it in another RCP applications. When I go around the table of IExtension fo...

How to connect to Mysql through Eclipse RCP

Hello Everyone, I am try to connect to mysql database through a RCP project. I downloaded the Mysql Jconnect file. Extracted to a folder. Set the classpath variable as mentioned in the document. Still I am not able to connect to Mysql. I am getting this error SQLException: No suitable driver found for jdbc:mysql://localhost:3306/test ...

How to hide "Preferences" item in Mac application menu

I have an application built atop the Eclipse rich-client platform. It does not yet have any user preferences. Currently on the Mac, the "Preferences" menu item in the application menu is enabled, but does nothing. Is there an easy way to hide or disable it? ...

Eclipse/SWT: Rectangle taking up entire canvas.

I am writing an Eclipse RCP-based application and am trying to draw a rectangle on top of a ViewPart. However, the rectangle seems to take up the whole screen even when specifiying the bounds. The following is my code. public void createPartControl(Composite parent) { Shell shell = parent.getShell(); Canvas canvas = n...

Is there a way to make an RCP view Toolbar left align?

I added a toolbar to my view and it displays on the right side. Is there anyway to set it so that it is on the left side? ...

Set Size of JFace Wizard

Hi, I am building an Eclipse RCP application and am having trouble on settings the size of a JFace Wizard. ...

RCP app & change background color and putting image in center of application

Hello, I would like to set the background color of my RCP application to white and show a center image (logo). This is because due to the fact, that no views or editors are shown beforehand and the user should select which perspective to open. This is necessary because I defined a backgroundview which would be shown first, but this prev...

How to create a custom toolbar in Eclipse RCP applications where the toolbar contains large icons

How to create a custom toolbar in Eclipse RCP applications where the toolbar contains large icons. We would like to brand our application and allow larger in icons in perspective toolbars to make the user experience more comfortable. ...

How to use Bonjour's dns_sd.jar with Eclipse's plugins?

We have an Eclipse RCP application in which we bundle Bonjour's dns_sd.jar. We would like to decouple our app by using the installed version of this jar file from the JRE/JDK dirs. That way we can ship the same app for many OS and Bonjour versions. The plugins compile correctly with the jar, but trying to launch the product either from ...