Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2712 - 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: r2712 - development/main/depot/prefs/src/main/net/dpml/depot/prefs
  • Date: Sun, 05 Jun 2005 16:43:12 -0400

Author: mcconnell AT dpml.net
Date: Sun Jun 5 16:43:11 2005
New Revision: 2712

Modified:

development/main/depot/prefs/src/main/net/dpml/depot/prefs/CacheManagerPanel.java

development/main/depot/prefs/src/main/net/dpml/depot/prefs/ContentRegistryManagerPanel.java

development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotPreferencesPanel.java

development/main/depot/prefs/src/main/net/dpml/depot/prefs/LayoutRegistryManagerPanel.java

development/main/depot/prefs/src/main/net/dpml/depot/prefs/ProxyManagerPanel.java
Log:
Exposingthe transit home to the preference panels.

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
Sun Jun 5 16:43:11 2005
@@ -48,6 +48,7 @@
import javax.swing.table.TableColumnModel;

import net.dpml.transit.Transit;
+import net.dpml.transit.builder.TransitHome;
import net.dpml.transit.util.ExceptionHelper;
import net.dpml.transit.management.CacheManager;
import net.dpml.transit.management.HostManager;
@@ -74,6 +75,7 @@
//--------------------------------------------------------------

private final Window m_parent;
+ private final TransitHome m_home;

private final ClassicTable m_table;
private final EditAction m_editAction;
@@ -90,10 +92,11 @@
// constructor
//--------------------------------------------------------------

- public CacheManagerPanel( Window parent, CacheManager manager,
LayoutRegistryManager layouts )
+ public CacheManagerPanel( Window parent, TransitHome home, CacheManager
manager, LayoutRegistryManager layouts )
{
Transit.getInstance();

+ m_home = home;
m_parent = parent;
m_manager = manager;
m_layouts = layouts;

Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ContentRegistryManagerPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ContentRegistryManagerPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ContentRegistryManagerPanel.java
Sun Jun 5 16:43:11 2005
@@ -55,6 +55,7 @@
import net.dpml.transit.management.ContentManager;
import net.dpml.transit.model.UnknownKeyException;
import net.dpml.transit.model.DuplicateKeyException;
+import net.dpml.transit.builder.TransitHome;

/**
* Runnable plugin that handles DPML environment setup.
@@ -68,6 +69,8 @@
//--------------------------------------------------------------

private final Window m_parent;
+ private final TransitHome m_home;
+
private ClassicTable m_table;
private EditAction m_editAction;
private JButton m_edit;
@@ -81,10 +84,11 @@
// constructor
//--------------------------------------------------------------

- public ContentRegistryManagerPanel( Window parent,
ContentRegistryManager manager )
+ public ContentRegistryManagerPanel( Window parent, TransitHome home,
ContentRegistryManager manager )
{
super();

+ m_home = home;
m_manager = manager;
m_parent = parent;


Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotPreferencesPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotPreferencesPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotPreferencesPanel.java
Sun Jun 5 16:43:11 2005
@@ -116,8 +116,8 @@
{
final CacheManager cache = m_manager.getCacheManager();
final LayoutRegistryManager layouts =
m_manager.getLayoutRegistryManager();
- m_layoutPanel = new LayoutRegistryManagerPanel( m_window,
layouts );
- m_cachePanel = new CacheManagerPanel( m_window, cache,
layouts );
+ m_layoutPanel = new LayoutRegistryManagerPanel( m_window,
home, layouts );
+ m_cachePanel = new CacheManagerPanel( m_window, home, cache,
layouts );
tabbedPane.addTab( "Cache", m_cachePanel );
tabbedPane.addTab( "Layout", m_layoutPanel );
tabbedPane.revalidate();
@@ -130,7 +130,7 @@
public void run()
{
final ContentRegistryManager content =
m_manager.getContentRegistryManager();
- m_registryPanel = new ContentRegistryManagerPanel( m_window,
content );
+ m_registryPanel = new ContentRegistryManagerPanel( m_window,
home, content );
tabbedPane.addTab( "Content", m_registryPanel );
}
}
@@ -141,7 +141,7 @@
public void run()
{
final ProxyManager proxy = m_manager.getProxyManager();
- m_proxyPanel = new ProxyManagerPanel( m_window, proxy );
+ m_proxyPanel = new ProxyManagerPanel( m_window, home, proxy );
tabbedPane.addTab( "Proxy", m_proxyPanel );
}
}

Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/LayoutRegistryManagerPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/LayoutRegistryManagerPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/LayoutRegistryManagerPanel.java
Sun Jun 5 16:43:11 2005
@@ -56,6 +56,7 @@
import net.dpml.transit.model.LayoutModel;
import net.dpml.transit.model.DuplicateKeyException;
import net.dpml.transit.model.UnknownKeyException;
+import net.dpml.transit.builder.TransitHome;

/**
* Runnable plugin that handles DPML environment setup.
@@ -69,6 +70,8 @@
//--------------------------------------------------------------

private final Window m_parent;
+ private final TransitHome m_home;
+
private ClassicTable m_table;
private EditAction m_editAction;
private JButton m_edit;
@@ -82,10 +85,11 @@
// constructor
//--------------------------------------------------------------

- public LayoutRegistryManagerPanel( Window parent, LayoutRegistryManager
manager )
+ public LayoutRegistryManagerPanel( Window parent, TransitHome home,
LayoutRegistryManager manager )
{
super();

+ m_home = home;
m_manager = manager;
m_parent = parent;


Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ProxyManagerPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ProxyManagerPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ProxyManagerPanel.java
Sun Jun 5 16:43:11 2005
@@ -50,6 +50,7 @@
import javax.swing.table.TableColumnModel;

import net.dpml.transit.Transit;
+import net.dpml.transit.builder.TransitHome;
import net.dpml.transit.model.ProxyModel;
import net.dpml.transit.model.ProxyListener;
import net.dpml.transit.management.ProxyManager;
@@ -73,6 +74,8 @@
//--------------------------------------------------------------

private final Window m_parent;
+ private final TransitHome m_home;
+
private ProxyManager m_manager;
private AddAction m_add;
private EditAction m_edit;
@@ -87,10 +90,11 @@
// constructor
//--------------------------------------------------------------

- public ProxyManagerPanel( Window parent, ProxyManager manager )
+ public ProxyManagerPanel( Window parent, TransitHome home, ProxyManager
manager )
{
super();

+ m_home = home;
m_parent = parent;
m_manager = manager;




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

Archive powered by MHonArc 2.6.24.

Top of Page