I need to target both win32.x86 and win32.x86_64 architectures when building an RCP plug-in that uses OS.getRegOpenKey(...). The types of the arguments for the method are different for the two architectures.
I understand now that there is no straightforward way to have an x86 or x86_64 fragment (depending upon the build) override a met...
Is it possible to nest FormPages?
I tried this:
public class MyClass extends FormPage {
@Override
protected void createFormContent(final IManagedForm managedForm) {
FormToolkit toolkit = managedForm.getToolkit();
final ScrolledForm form = managedForm.getForm();
// ...
pointSection = toolkit.creat...
Hi,
I am newbie for eclipse. I have created a EMF model and generated a model code for that. I have created one plugin project and i have created one class named as 'CommandTest' which is having "public static void main()" method which reads mymodel resource file.
Its working fine in eclipse 3.5.2. There is no issues am able to read t...
Hi,
I am creating a RCP application. I need to open multiple instances of the same view but with different data. I did it by setting secondary id for different instances of the same view. Specifically, my problem is as follows: Please take a look,
i have a graph view called "Views.GraphView". I opened different instances of it from a ...
Hi,
sorry for posting the same problem again, but the previous one is not in good format. I dont know why.
I am creating a RCP application. I need to open multiple instances of the same view but with different data. I did it by setting secondary id for different instances of the same view. Specifically, my problem is as follows: Plea...
Hi,
I have some problem managing the RCP Views and commands. In my application, I have a view (GraphView, its a ViewPart) which displays graphs using GraphViewer (ZEST graph viewer). Now different instance of the view(GraphView) displays different graphs. Graph contents are provided by the content providers.
Then in a command (TreeLayo...
Hi all!
I'm working at a spring-integrated Eclipse RCP application,but i got a error while spring framework initializing at application start.
My code in Activator.java below:
...
public void start(BundleContext context) throws Exception {
super.start(context);
initializeApplicationContext();
plugin = thi...
Hi there,
I am writing an Eclipse GUI to consume a data-feed which is unknown at compile-time. The configuration for consuming the feed will be passed to the ViewPart subclass at construction-time and displayed in a TableViewer contained withing a stacked-tab view.
I would like to update the text value contained in the CTabItem display...
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...
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...
I am installing Eclipse for RCP and RAP Developers, my old copy went rogue and decided to act up.
So clean install time! Yay! I downloaded the new version copied it to opt folder and extracted it, then ran it.
For some reason I cant install any plugins due to some crap error*, and it doesn't have list of default plugins, i deleted my ...
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 ...
Hello!
Why my RCP project cannot build-generate update site?
I've created 3 projects for my Eclipse RCP application:
a plug-in project named 'formicary-client2';
a feature project named 'formicary-client-feature';
a update site project named 'formicary-client-site'.
Now the plug-in project works well and can be exported as a product...
I have a RCP application that reuses "org.eclipse.ui.navigator.CommonNavigator" to give us a project view. It works well, except for one thing: Some hotkeys (Ctrl+C, Ctrl+V, Delete) just don't do anything, while others like F2 or F5 work just fine. I assume it might have to do with the fact that those keys that do not work also do someth...
Hi all,
I have a perspective in an RCP product defined as following:
IFolderLayout bottomLeft = layout.createFolder("bottomLeft",
IPageLayout.BOTTOM, 0.65f, layout.getEditorArea());
bottomLeft.addView(BTracePropertyView.ID);
layout.getViewLayout(BTracePropertyView.ID).setCloseable(false);
// IFolderLayo...
Hi all,
I am trying to create an Eclipse plug-in. I use libraries which are written in a different language(Scheme functional programming language), but imported as class file in eclipse. To use functionalities of scheme, a few initialization functions need to be invoked from eclipse.
All of this works fine when run as a simple Java p...
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?
...
Hi, I need to change status line message from a handler class. After reading the RCP tutorial and eclipse FAQ, I finally did something like this:
HandlerUtil.getActiveWorkbenchWindow(event).getActivePage().findView(AView.ID).getViewSite().getActionBars().getStatusLineManager().setMessage( "Ha, I'm finished");
What a long invoking chai...
I have created a minimal RCP project with the Hello World example. I have selected Eclipse as the target platform since I want to modify the eclipse workbench (with the Hello World, Command example).
I have added the extension org.eclipse.core.runtime.products where I have specified:
ID: testID
name: Bob
On this extension I have righ...
I'm writing a small application in RCP to wrap around the business logic in another (non-RCP) simulation library. I can access and use the library fine from any of my plugins, but I don't know where I should put the instance of the Simulation library so that, say, one of the command handlers can make calls to it.
From reading the docs i...