Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Can't prevent deletion of launch configurations(Modifying the LaunchConfigurationsDialog to disable delete button)
Can't prevent deletion of launch configurations [message #639803] Wed, 17 November 2010 15:56
Brian R is currently offline Brian R
Messages: 1
Registered: November 2010
Junior Member
Hi all,

We're using the Eclipse LaunchConfigurationsDialog to hold a number of our ILaunchConfiguration instances, some of which are read-only. While we've been able to prevent the user from editing them, we can't prevent them from being deleted. The red X button in the toolbar is added programmatically, we can't see away to override the shouldDelete() method in the DeleteLaunchConfigurationAction without recreating the whole dialog to specify an alternate/filtered action.

Any suggestions?
Previous Topic:Starting with MySQL Connector J - JDBC driver
Next Topic:Re: Is "Open Type" feature extensible?
Goto Forum:
  


Current Time: Fri Jul 25 07:29:06 EDT 2014

Powered by FUDForum. Page generated in 0.02080 seconds