Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDefining Toolbar Buttons to be visible in a certain page of a Multi Page Editor
https://www.eclipse.org/forums/index.php/mv/msg/1107756/1840679/#msg_1840679
We're building a RCP using Eclipse, and we currently have a tool bar button that is available when in a certain editor (tested via the active editor id variable).
However, we use multi page editors, and right now it has a generic name that is applicable to any page that is open in the mutlipage editor.
My question is if it is possible to, in the manifests, test for the current page that is open in a multi page editor, so that we can have the tool bar button have a specific name depending on the current page of the multi page editor that is open.
Thanks,
Greg]]>Louis Detweiler2021-04-22T02:34:39-00:00Crash at Startup
https://www.eclipse.org/forums/index.php/mv/msg/1101238/1816862/#msg_1816862
I have a strange problem. Our RCP-based client, delivered to a lot of customers, crashes at a new one with a NPE I have never seen before.
Our client is based on :
Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
This is the log:
Quote:
!ENTRY org.eclipse.equinox.ds 4 0 2019-11-06 14:12:43.960
!MESSAGE Exception occurred while creating new instance of component Component[
name = org.eclipse.ui.trace.TracingInitializer
activate = activate
deactivate = deactivate
modified =
configuration-policy = optional
factory = null
autoenable = true
immediate = true
implementation = org.eclipse.ui.trace.internal.utils.TracingInitializer
state = Disposed
properties =
serviceFactory = false
serviceInterface = null
references = {
Reference[name = DebugOptionsListener, interface = org.eclipse.osgi.service.debug.DebugOptionsListener, policy = static, cardinality = 1..n, target = null, bind = null, unbind = null]
}
located in bundle = org.eclipse.ui.trace_1.0.400.v20160509-1055 [228]
]
!STACK 0
java.lang.ClassNotFoundException: Bei der automatischen Aktivierung des Produktpakets org.eclipse.ui.trace (228) ist ein Fehler aufgetreten.
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:116)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:345)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.java:493)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponentProp.java:270)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:331)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.osgi.framework.BundleException: Ausnahme in org.eclipse.ui.trace.internal.TracingUIActivator.start() von Bundle org.eclipse.ui.trace.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:795)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
... 20 more
Caused by: java.lang.NullPointerException
at org.eclipse.ui.trace.internal.utils.PreferenceHandler.isTracingEnabled(PreferenceHandler.java:108)
at org.eclipse.ui.trace.internal.TracingUIActivator.initPreferences(TracingUIActivator.java:100)
at org.eclipse.ui.trace.internal.TracingUIActivator.start(TracingUIActivator.java:69)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)
... 27 more
Any ideas?
Thx]]>philipp huebner2019-11-08T16:21:59-00:00Icons in Eclipse Plugin
https://www.eclipse.org/forums/index.php/mv/msg/1100853/1815605/#msg_1815605
I've developing an eclipse plugin and would like to use some icons in the Code Assist similar to the ones built in.
For example when I am coding Java and get code assist for available methods, there's a green dot icon beside each result in the code assist popup.
Are these icons available to us to use in our own plugins? And if so how? (eg. do we need to package them or can they be referenced somehow?) Or do we need to supply or own?
Thank you,
Andrew.]]>Andrew Myers2019-10-07T03:03:36-00:00Create RCP distribution from non-RCP plugin
https://www.eclipse.org/forums/index.php/mv/msg/1100076/1810395/#msg_1810395
I have implemented a plug-in project for eclipse. In the configuration wizard, I have answered "No" to "Would you like to create a rich client application?" question. I have also create an update site for my plugin. My plugin works when the user right clicks on a file and select my plugin option from a popup menu. I was asked to provide a RCP distribution (zip) ready to be tested and not only the update site. Can anyone help me and tell me what I should do?
Best Regards,
Banafsheh ]]>Banafsheh Azizi2019-08-09T11:19:05-00:00Re: RCP builds differences in Tycho (Maven) vs PDE build
https://www.eclipse.org/forums/index.php/mv/msg/1093706/1790556/#msg_1790556
https://www.eclipse.org/forums/index.php/f/106/
I think this question might be better suited there.
]]>J Clausius2018-06-12T21:21:27-00:00RCP builds differences in Tycho (Maven) vs PDE build
https://www.eclipse.org/forums/index.php/mv/msg/1093706/1790545/#msg_1790545
There is a discrepancy (or change) the tycho build decided on that seem to be misguided. Where is the place to log this?
For example, the plugin.xml's <"product.id"> extension has an <appName> element. Also the *.product file has a 'launcher' name. Launcher name should be the name of the binary file that is executed in whatever environment. So, on Linux/Windows, the (executable) binary should be "launcher-name" derived from the product file.
The appName element should then be used internally to display naming of the application. On a Mac, the appName used for the Application Menu naming scheme, etc. It might be used in other places in your RCP based application where the Eclipse Framework needs to refer to your Application. Perhaps the menu for Help -> About?
In any case, in a Tycho build, this is not the case. Tycho uses the Launcher name for the executable name as well as any value of "<appName>". So, it basically the appName element becomes deprecated or obsolete.
Where would I go to log a bug or request for change to the behavior?
TIA
]]>J Clausius2018-06-12T15:40:48-00:00Re: Eclipse RCP application requires JDK 1.6 on Mac
https://www.eclipse.org/forums/index.php/mv/msg/832172/1789896/#msg_1789896
Next, grab a JVM (note, the JDK may be required... not 100% sure about that) from http://www.oracle.com/technetwork/java/javase/downloads/index.html. Download and install a JVM runtime for your machine. When the install is finished, re-launch the RCP app. Did that work?]]>J Clausius2018-05-31T14:46:45-00:00Re: In AGR While Creating Datapool, "Link to Datapool" is not visible
https://www.eclipse.org/forums/index.php/mv/msg/510/1788237/#msg_1788237
2018-05-30T16:24:07-00:00Eclipse e4 application does not start in Java Web start
https://www.eclipse.org/forums/index.php/mv/msg/1080466/1741439/#msg_1741439
The jnlp file can be found in the attachment.
Does someone know a sollution for this strange issue?
]]>Jimmy Dom2016-08-25T07:33:34-00:00Upgraded RCP to Neon cannot launch with @noDefault
https://www.eclipse.org/forums/index.php/mv/msg/1079947/1739956/#msg_1739956
The ResourcePlugin appears to now need the instancelocation set before it used to (just guessing):
ResourcesPlugin.start throws an exception
Caused by: java.lang.IllegalStateException: The instance data location has not been specified yet.
Looking for ways to get @nodefault working again if anyone has any idea.
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:795)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
... 43 more
Caused by: java.lang.IllegalStateException: The instance data location has not been specified yet.
at org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(DataArea.java:54)
at org.eclipse.core.internal.runtime.DataArea.getStateLocation(DataArea.java:124)
at org.eclipse.core.internal.runtime.InternalPlatform.getStateLocation(InternalPlatform.java:539)
at org.eclipse.core.runtime.Plugin.getStateLocation(Plugin.java:289)
at org.eclipse.core.internal.resources.LocalMetaArea.<init>(LocalMetaArea.java:59)
at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:456)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)
]]>Sally Rich2016-08-06T00:07:22-00:00