notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2538 - development/main/depot/station/src/main/net/dpml/depot/prefs
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2538 - development/main/depot/station/src/main/net/dpml/depot/prefs
- Date: Fri, 13 May 2005 12:18:56 +0000
Author: mcconnell AT dpml.net
Date: Fri May 13 12:18:54 2005
New Revision: 2538
Added:
development/main/depot/station/src/main/net/dpml/depot/prefs/GenericTableModel.java
- copied, changed from r2514,
development/main/depot/station/src/main/net/dpml/depot/prefs/NodeTableModel.java
Removed:
development/main/depot/station/src/main/net/dpml/depot/prefs/NodeTableModel.java
Modified:
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerControllerPanel.java
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerMainPanel.java
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerPanel.java
development/main/depot/station/src/main/net/dpml/depot/prefs/HostPanel.java
development/main/depot/station/src/main/net/dpml/depot/prefs/TransitPanel.java
Log:
cleaup package visibility
Modified:
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerControllerPanel.java
==============================================================================
---
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerControllerPanel.java
(original)
+++
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerControllerPanel.java
Fri May 13 12:18:54 2005
@@ -81,7 +81,7 @@
*
* @author <a href="mailto:mcconnell AT osm.net";>OSM</a>
*/
-public class ContentHandlerControllerPanel extends JPanel implements
PreferenceChangeListener, PropertyChangeListener, DocumentListener
+class ContentHandlerControllerPanel extends JPanel implements
PreferenceChangeListener, PropertyChangeListener, DocumentListener
{
//--------------------------------------------------------------
// static
Modified:
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerMainPanel.java
==============================================================================
---
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerMainPanel.java
(original)
+++
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerMainPanel.java
Fri May 13 12:18:54 2005
@@ -68,7 +68,7 @@
*
* @author <a href="mailto:mcconnell AT osm.net";>OSM</a>
*/
-public class ContentHandlerMainPanel extends JPanel implements
PropertyChangeListener
+class ContentHandlerMainPanel extends JPanel implements
PropertyChangeListener
{
//--------------------------------------------------------------
// static
@@ -120,7 +120,7 @@
Preferences prefs = Preferences.userNodeForPackage(
ContentHandlerRegistry.class );
m_preferences = prefs;
TableColumnModel columns = createContentHandlerColumnModel();
- NodeTableModel model = new NodeTableModel( prefs );
+ GenericTableModel model = new GenericTableModel( prefs );
m_table = new GenericTable( model, columns );
m_table.addPropertyChangeListener( this );
m_table.setShowVerticalLines( false );
Modified:
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerPanel.java
==============================================================================
---
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerPanel.java
(original)
+++
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerPanel.java
Fri May 13 12:18:54 2005
@@ -81,7 +81,7 @@
*
* @author <a href="mailto:mcconnell AT osm.net";>OSM</a>
*/
-public class ContentHandlerPanel extends JPanel implements
PreferenceChangeListener, PropertyChangeListener, DocumentListener
+class ContentHandlerPanel extends JPanel implements
PreferenceChangeListener, PropertyChangeListener, DocumentListener
{
//--------------------------------------------------------------
// static
Copied:
development/main/depot/station/src/main/net/dpml/depot/prefs/GenericTableModel.java
(from r2514,
development/main/depot/station/src/main/net/dpml/depot/prefs/NodeTableModel.java)
==============================================================================
---
development/main/depot/station/src/main/net/dpml/depot/prefs/NodeTableModel.java
(original)
+++
development/main/depot/station/src/main/net/dpml/depot/prefs/GenericTableModel.java
Fri May 13 12:18:54 2005
@@ -38,7 +38,7 @@
/**
* Table model used to manage features of an adapter.
*/
-class NodeTableModel extends AbstractTableModel implements NodeChangeListener
+public class GenericTableModel extends AbstractTableModel implements
NodeChangeListener
{
//--------------------------------------------------------------------------
// static
@@ -77,10 +77,12 @@
//--------------------------------------------------------------------------
/**
- * Creation of a new feature table model.
- * @param entity the reference entity
+ * Creation of a new table model that presents children of the supplied
preference
+ * node as table entries.
+ *
+ * @param prefs the preferences node that this model is displaying
*/
- public NodeTableModel( Preferences prefs )
+ public GenericTableModel( Preferences prefs )
{
super();
m_preferences = prefs;
Modified:
development/main/depot/station/src/main/net/dpml/depot/prefs/HostPanel.java
==============================================================================
---
development/main/depot/station/src/main/net/dpml/depot/prefs/HostPanel.java
(original)
+++
development/main/depot/station/src/main/net/dpml/depot/prefs/HostPanel.java
Fri May 13 12:18:54 2005
@@ -78,7 +78,7 @@
*
* @author <a href="mailto:mcconnell AT osm.net";>OSM</a>
*/
-public class HostPanel extends JPanel implements PreferenceChangeListener,
PropertyChangeListener, DocumentListener
+class HostPanel extends JPanel implements PreferenceChangeListener,
PropertyChangeListener, DocumentListener
{
//--------------------------------------------------------------
// static
Modified:
development/main/depot/station/src/main/net/dpml/depot/prefs/TransitPanel.java
==============================================================================
---
development/main/depot/station/src/main/net/dpml/depot/prefs/TransitPanel.java
(original)
+++
development/main/depot/station/src/main/net/dpml/depot/prefs/TransitPanel.java
Fri May 13 12:18:54 2005
@@ -70,7 +70,7 @@
*
* @author <a href="mailto:mcconnell AT osm.net";>OSM</a>
*/
-public class TransitPanel extends JPanel implements PropertyChangeListener
+class TransitPanel extends JPanel implements PropertyChangeListener
{
//--------------------------------------------------------------
// static
@@ -118,7 +118,7 @@
Preferences hosts = Preferences.userNodeForPackage(
ResourceHost.class );
TableColumnModel columns = createHostsColumnModel();
- NodeTableModel model = new NodeTableModel( hosts );
+ GenericTableModel model = new GenericTableModel( hosts );
m_table = new GenericTable( model, columns );
m_table.addPropertyChangeListener( this );
m_table.setShowVerticalLines( false );
- svn commit: r2538 - development/main/depot/station/src/main/net/dpml/depot/prefs, mcconnell, 05/13/2005
Archive powered by MHonArc 2.6.24.