// _LoadPanel_EOArchive_English.java // Generated by EnterpriseObjects palette at Saturday, September 06, 2003 17:02:16 America/New_York import com.webobjects.eoapplication.*; import com.webobjects.eocontrol.*; import com.webobjects.eodistribution.client.*; import com.webobjects.eointerface.*; import com.webobjects.eointerface.swing.*; import com.webobjects.foundation.*; import java.awt.*; import javax.swing.*; import javax.swing.border.*; import javax.swing.table.*; import javax.swing.text.*; public class _LoadPanel_EOArchive_English extends com.webobjects.eoapplication.EOArchive { LoadPanelController _loadPanelController0; com.webobjects.eointerface.swing.EOFrame _eoFrame0; com.webobjects.eointerface.swing.EOTextField _nsTextField0, _nsTextField1; com.webobjects.eointerface.swing.EOView _nsProgressIndicator0; javax.swing.JPanel _nsView0; public _LoadPanel_EOArchive_English(Object owner, NSDisposableRegistry registry) { super(owner, registry); } protected void _construct() { Object owner = _owner(); EOArchive._ObjectInstantiationDelegate delegate = (owner instanceof EOArchive._ObjectInstantiationDelegate) ? (EOArchive._ObjectInstantiationDelegate)owner : null; Object replacement; super._construct(); if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "theLoadPanelController.thePathField")) != null)) { _nsTextField1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement; _replacedObjects.setObjectForKey(replacement, "_nsTextField1"); } else { _nsTextField1 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField1"); } if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "theLoadPanelController.theProgressBar")) != null)) { _nsProgressIndicator0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOView)replacement; _replacedObjects.setObjectForKey(replacement, "_nsProgressIndicator0"); } else { _nsProgressIndicator0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "1"); } if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "theLoadPanelController")) != null)) { _loadPanelController0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (LoadPanelController)replacement; _replacedObjects.setObjectForKey(replacement, "_loadPanelController0"); } else { _loadPanelController0 = (LoadPanelController)_registered(new LoadPanelController(), "LoadPanelController"); } if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "theLoadPanelController.theStatusField")) != null)) { _nsTextField0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement; _replacedObjects.setObjectForKey(replacement, "_nsTextField0"); } else { _nsTextField0 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField2"); } if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "theLoadPanelController.theLoadPanel")) != null)) { _eoFrame0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement; _replacedObjects.setObjectForKey(replacement, "_eoFrame0"); } else { _eoFrame0 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Load Panel"); } _nsView0 = (JPanel)_eoFrame0.getContentPane(); } protected void _awaken() { super._awaken(); if (_replacedObjects.objectForKey("_loadPanelController0") == null) { _connect(_owner(), _loadPanelController0, "theLoadPanelController"); } } protected void _init() { super._init(); if (_replacedObjects.objectForKey("_loadPanelController0") == null) { _connect(_loadPanelController0, _eoFrame0, "theLoadPanel"); } if (_replacedObjects.objectForKey("_nsTextField1") == null) { _setFontForComponent(_nsTextField1, "Lucida Grande", 11, Font.PLAIN); _nsTextField1.setEditable(false); _nsTextField1.setOpaque(false); _nsTextField1.setText("Loading files\u2026"); _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField1.setSelectable(false); _nsTextField1.setEnabled(true); _nsTextField1.setBorder(null); } if (_replacedObjects.objectForKey("_loadPanelController0") == null) { _connect(_loadPanelController0, _nsTextField1, "thePathField"); } if (_replacedObjects.objectForKey("_loadPanelController0") == null) { _connect(_loadPanelController0, _nsProgressIndicator0, "theProgressBar"); } if (_replacedObjects.objectForKey("_loadPanelController0") == null) { _connect(_loadPanelController0, _nsTextField0, "theStatusField"); } if (_replacedObjects.objectForKey("_nsTextField0") == null) { _setFontForComponent(_nsTextField0, "Lucida Grande", 11, Font.PLAIN); _nsTextField0.setEditable(false); _nsTextField0.setOpaque(false); _nsTextField0.setText("Getting info for:"); _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField0.setSelectable(false); _nsTextField0.setEnabled(true); _nsTextField0.setBorder(null); } if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); } _nsTextField0.setSize(102, 18); _nsTextField0.setLocation(10, 10); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.WidthSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsTextField0); _nsTextField1.setSize(222, 18); _nsTextField1.setLocation(114, 10); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.WidthSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsTextField1); _nsProgressIndicator0.setSize(324, 20); _nsProgressIndicator0.setLocation(11, 36); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsProgressIndicator0, EOViewLayout.WidthSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsProgressIndicator0); if (_replacedObjects.objectForKey("_eoFrame0") == null) { _nsView0.setSize(346, 66); _eoFrame0.setTitle(""); _eoFrame0.setLocation(395, 803); _eoFrame0.setSize(346, 66); } } }