Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Prevent opening of the Java Stack Trace Console
Prevent opening of the Java Stack Trace Console [message #676177] Fri, 03 June 2011 02:19 Go to next message
Eclipse UserFriend
I would like to prevent the users of my RCP app from being able to create java stack trace consoles, ie: prevent the Open Console dropdown from showing "Java Stack Trace Console"

Unfortunately org.eclipse.ui.console.consoleFactories extensions do not specify an ID so I can't use activities to disable JavaStackTraceConsoleFactory.

How might I go about removing this element from the UI?

Thanks for your help.
Re: Prevent opening of the Java Stack Trace Console [message #676278 is a reply to message #676177] Fri, 03 June 2011 09:57 Go to previous message
Eclipse UserFriend
In this case, one potential option is http://wiki.eclipse.org/Product_Customization

It requires a little setup (and care) but is incredibly flexible.

Basically, your RCP app is providing an XSL stylesheet and you get to modify the plugin.xml before (as) they get loaded. You can make the org.eclipse.ui.console.consoleFactories contribution simply disappear.

PW
Previous Topic:How To send a Business Model opened in Editors in CNF View (Common Navigator Framework)
Next Topic:bundle.getEntry() always returns null
Goto Forum:
  


Current Time: Wed Jul 23 06:05:45 EDT 2025

Powered by FUDForum. Page generated in 0.03817 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top