notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2663 - development/main/depot/prefs/src/main/net/dpml/depot/prefs
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2663 - development/main/depot/prefs/src/main/net/dpml/depot/prefs
- Date: Tue, 24 May 2005 06:50:50 +0000
Author: mcconnell AT dpml.net
Date: Tue May 24 06:50:45 2005
New Revision: 2663
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/CacheManagerPanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/HostManagerPanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/RegistryManagerPanel.java
Log:
Housekeeping.
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/CacheManagerPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/CacheManagerPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/CacheManagerPanel.java
Tue May 24 06:50:45 2005
@@ -276,6 +276,29 @@
{
try
{
+ final String title = "Resource Host: " + m_selection;
+ final Dimension size = new Dimension( 400, 360 );
+ ClassicDialog dialog = ClassicDialog.createDialog( m_parent,
title, size );
+ HostManager manager = m_manager.getHostManager( m_selection
);
+ HostManagerPanel panel = new HostManagerPanel( dialog,
manager );
+ dialog.getBody().add( panel );
+ dialog.setLocationRelativeTo( source );
+ dialog.setResizable( false );
+ dialog.setVisible(true);
+ }
+ catch( Throwable e )
+ {
+ final String error =
+ "Unexpected error while attempting to construct host
dialog."
+ + "\nCODEBASE: "
+ +
getClass().getProtectionDomain().getCodeSource().getLocation().toString();
+ Logger logger = Logger.getLogger( "depot.prefs" );
+ logger.log( Level.SEVERE, error, e );
+ }
+
+ /*
+ try
+ {
JDialog dialog = null;
if( m_parent instanceof Dialog )
{
@@ -304,6 +327,7 @@
Logger logger = Logger.getLogger( "depot.prefs" );
logger.log( Level.SEVERE, error, e );
}
+ */
}
}
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/HostManagerPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/HostManagerPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/HostManagerPanel.java
Tue May 24 06:50:45 2005
@@ -86,6 +86,8 @@
public HostManagerPanel( JDialog parent, HostManager manager ) throws
Exception
{
+ super();
+
m_parent = parent;
m_manager = manager;
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/RegistryManagerPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/RegistryManagerPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/RegistryManagerPanel.java
Tue May 24 06:50:45 2005
@@ -122,9 +122,7 @@
"Artifact", "Content Handler Controller settings." );
label.setBorder( new EmptyBorder( 0, 5, 0, 0 ) );
ControllerAction controller = new ControllerAction( "Controller" );
- getHeader().addEntry( label, "Proxy Server", new JButton( controller
) );
-
- //add( controllerPanel, BorderLayout.NORTH );
+ getHeader().addEntry( label, "Content Management Controller", new
JButton( controller ) );
getBody().add( panel );
}
- svn commit: r2663 - development/main/depot/prefs/src/main/net/dpml/depot/prefs, mcconnell, 05/24/2005
Archive powered by MHonArc 2.6.24.