Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2848 - development/main/depot/prefs/src/main/net/dpml/depot/prefs

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT dpml.net
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2848 - development/main/depot/prefs/src/main/net/dpml/depot/prefs
  • Date: Mon, 13 Jun 2005 21:57:11 -0400

Author: mcconnell AT dpml.net
Date: Mon Jun 13 21:57:11 2005
New Revision: 2848

Modified:

development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotModelPanel.java
Log:
Add test for system profiles.

Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotModelPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotModelPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotModelPanel.java
Mon Jun 13 21:57:11 2005
@@ -141,8 +141,9 @@
try
{
ApplicationProfile profile =
m_model.getApplicationProfile( m_selection );
+ boolean systemProfile = profile.isSystemProfile();
m_edit.setEnabled( true );
- m_delete.setEnabled( true );
+ m_delete.setEnabled( !systemProfile );
getRootPane().setDefaultButton( m_edit );
}
catch( UnknownKeyException e )



  • svn commit: r2848 - development/main/depot/prefs/src/main/net/dpml/depot/prefs, mcconnell, 06/13/2005

Archive powered by MHonArc 2.6.24.

Top of Page