And finally, narya gets the imports/overrides/regen love.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5241 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Dave Hoover
2008-07-18 23:20:17 +00:00
parent e41dda3018
commit 6b1d65553f
129 changed files with 383 additions and 304 deletions
@@ -49,7 +49,7 @@ public class AsStringFieldEditor extends FieldEditor
_value.addFocusListener(this);
}
// documentation inherited
@Override
protected Object getDisplayValue ()
throws Exception
{
@@ -95,7 +95,7 @@ public class AsStringFieldEditor extends FieldEditor
}
}
// documentation inherited
@Override
protected void displayValue (Object value)
{
_value.setText(StringUtil.toString(value, "", ""));
@@ -59,14 +59,14 @@ public class BooleanFieldEditor extends FieldEditor
_value.addFocusListener(this);
}
// documentation inherited
@Override
protected Object getDisplayValue ()
throws Exception
{
return Boolean.valueOf(_value.isSelected());
}
// documentation inherited
@Override
protected void displayValue (Object value)
{
_value.setSelected(Boolean.TRUE.equals(value));
@@ -75,7 +75,7 @@ public class ConfigEditorPanel extends JPanel
service.getConfigInfo(_ctx.getClient(), this);
}
// documentation inherited
@Override
public void removeNotify ()
{
super.removeNotify();
@@ -44,14 +44,17 @@ public class ConfigObjectManager implements AdminService.ConfigInfoListener
_serverconfig = new HashMap<String, ConfigObject>();
_client = client;
_client.addClientObserver(new ClientAdapter() {
@Override
public void clientWillLogon (Client client) {
client.addServiceGroup(AdminCodes.ADMIN_GROUP);
}
@Override
public void clientDidLogon (Client client) {
_dobjmgr = _client.getDObjectManager();
_service = client.requireService(AdminService.class);
getConfigInfo();
}
@Override
public void clientDidLogoff (Client client) {
// Clean up our subscription to the server's configuration
for (int ii = 0; ii < _csubscribers.length; ii++) {
@@ -121,7 +121,7 @@ public class DSetEditor extends JPanel
return (DSet.Entry)_table.getSelectedObject();
}
// documentation inherited
@Override
public Dimension getPreferredSize ()
{
Dimension d = super.getPreferredSize();
@@ -129,7 +129,7 @@ public class DSetEditor extends JPanel
return d;
}
// documentation inherited
@Override
public void addNotify ()
{
super.addNotify();
@@ -140,7 +140,7 @@ public class DSetEditor extends JPanel
refreshData();
}
// documentation inherited
@Override
public void removeNotify ()
{
_setter.removeListener(this);
@@ -65,7 +65,7 @@ public abstract class FieldEditor extends JPanel
updateBorder(false);
}
// documentation inherited
@Override
public void addNotify ()
{
super.addNotify();
@@ -75,6 +75,7 @@ public abstract class FieldEditor extends JPanel
displayValue(getValue());
}
@Override
public void removeNotify ()
{
super.removeNotify();
@@ -72,7 +72,7 @@ public class ObjectEditorPanel extends ScrollablePanel
_safesub.subscribe(_ctx.getDObjectManager());
}
// documentation inherited from interface
@Override
public boolean getScrollableTracksViewportWidth ()
{
return true;
@@ -57,7 +57,7 @@ public class PulldownFieldEditor extends FieldEditor
value = val;
}
// documentation inherited
@Override
public String toString ()
{
return _name;
@@ -95,21 +95,21 @@ public class PulldownFieldEditor extends FieldEditor
addChoice(new Choice(name, choice));
}
// documentation inherited
@Override
public void addNotify ()
{
super.addNotify();
_value.addActionListener(this);
}
// documentation inherited
@Override
public void removeNotify ()
{
_value.removeActionListener(this);
super.removeNotify();
}
// documentation inherited
@Override
protected Object getDisplayValue ()
throws Exception
{
@@ -120,7 +120,7 @@ public class PulldownFieldEditor extends FieldEditor
return ((Choice)obj).value;
}
// documentation inherited
@Override
protected void displayValue (Object value)
{
for (int ii = _value.getItemCount() - 1; ii >= 0; ii--) {