Questions tagged [rcp]

RCP stands for Rich Client Platform, and is software that provides a platform for application developers to build on. It may also refer to the "remote copy" command in Unix. Use the eclipse-rcp tag for questions about Eclipse RCP.

RCP stands for Rich Client Platform, which is software that provides a platform for application developers to build on. This speeds production, allowing proven framework to be used rather than re-implemented. An example is the Eclipse RCP.

http://wiki.eclipse.org/index.php/Rich_Client_Platform

It may also refer to the "remote copy" command in Unix.

1706 questions
3
votes
2 answers

How to implement IWindowCloseHandler in Eclipse (e4) RCP?

How can I implement IWindowCloseHandler in order to display a MessageDialog before closing the application ? Here is my code : EDIT public class LifeCycle { @PostContextCreate public void postContextCreate() { // TODO start up code…
Ismail Sen
  • 571
  • 2
  • 14
  • 27
3
votes
1 answer

Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini)

I have been trying to use eclipse RCP to create a standalone application and I get the below error whenever I try to run the application. I tried to look into previous solutions, but I feel I'm missing something (or may be I don't understand it good…
Betafish
  • 1,212
  • 3
  • 20
  • 45
3
votes
2 answers

(Eclipse RCP) How can I get the reference of Editor in command handler

I'd like the get the text of editor in a command handler, so how can I get the reference of Editor, thanks
zjffdu
  • 25,496
  • 45
  • 109
  • 159
3
votes
2 answers

How to remove "restore defaults" and "apply" button in custom RCP Preference Page

When creating a preference page in RCP, e.g. something like: public class MyPreferencePage extends org.eclipse.jface.preference.PreferencePage implements IWorkbenchPreferencePage how can I remove the "Restore default values" and "Apply" buttons…
Joscha
  • 4,643
  • 1
  • 27
  • 34
3
votes
2 answers

Eclipse RCP Internationalization separate plugin

No tutorial presents a concrete example of how an internationalization plug-in fragment is created an used. I need translations to the plugin.xml's and source code files. Trying to wrap my head around where the translations go, and where the i18n…
Georgian
  • 8,795
  • 8
  • 46
  • 87
3
votes
1 answer

Best practices for Eclipse 4 DI

I'd like to know what the best practices are for Eclipse 4 dependency injection. After reading about this subject on the internet, I came up with the following strategy. requirements Share the data model of the application (e.g. company, employee,…
MoZZoZoZZo
  • 233
  • 1
  • 10
3
votes
2 answers

How to get command line arguments of an Eclipse 4 application from code

I need to somehow get command line arguments of a running Eclipse 4 application. I'm working on a small application based on the Eclipse 4 RCP, but I thing, this problem is more common. I'm unable to find out, how to get from code of a product…
Theodor Keinstein
  • 1,653
  • 2
  • 26
  • 47
3
votes
0 answers

Eclipse CNF, double-click action to open a view

I'd like to be able to double-click on a file with a specific extension in the eclipse project explorer and for it to open a read-only view of the associated file. Any suggestions on how to do this would be most appreciated. Thanks, Steve
Steve Jones
  • 141
  • 1
  • 5
3
votes
1 answer

P2 headless update not working

I have taken the org.eclipse.equinox.p2.examples.rcp.prestartupdate project and adapted it for use in my RCP application. I then setup an update repository that gets updated as part of my nightly build. When I open my application it goes through…
rancidfishbreath
  • 3,944
  • 2
  • 30
  • 44
3
votes
2 answers

Dynamically change About dialog text in RCP based application

Are is possible to dynamically change About dialog text in RCP based application? I want to replace aboutText value when About dialog opens by dynamically changing some part of it's text. Problem is that I has a client/server application, where…
Krotow
  • 31
  • 3
3
votes
1 answer

How to get down to StringLiterals with Eclipse AST?

I need to create an Eclipse plugin that displays a tooltip when I hover the mouse over a String literal. But only if that String literal is the first parameter of a special method. Here is the Test.java file I use to test my plugin: package…
3
votes
1 answer

Eclipse RCP: How to manage user access permissions to resources?

Is there a way in Eclipse ecosystem to manage access permissions to resources? I need something like Linux filesystem permissions to allow/deny access to data in my Eclipse RCP application. I.e.: User and group management Login…
Marco Carnazzo
  • 782
  • 2
  • 6
  • 25
3
votes
1 answer

Eclipse e4 RCP minimize/maximize missing on view parts?

When creating an RCP application using Eclipse Juno (e4 platform), view parts do not provide the minimize/maximize toolbar actions. What is also missing is the double-click action on the view part header which would minimize and maximize the view…
Andreas Pasch
  • 125
  • 1
  • 9
3
votes
1 answer

add folder to classpath in RCP product

We have an RCP product based on features which comprise several plugins. Each plugin uses an OSGi bundle manifest. One of this plugin contains a set of libraries (Plug-in from Existing JAR Archives) made by third party. Now the problem. One of this…
3
votes
2 answers

How to hide default menus in RCP?

I am new in Eclipse RCP plug in development. I had written one plug-in with my own perspective and added perspective specific menus within it. My question is how to hide the default menus provided within Eclipse, like Edit, Navigated, Search,…
Mandy
  • 1,087
  • 1
  • 10
  • 14