コード例 #1
0
  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, "xmlRadio")) != null)) {
      _jRadioButton1 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (javax.swing.JRadioButton) replacement;
      _replacedObjects.setObjectForKey(replacement, "_jRadioButton1");
    } else {
      _jRadioButton1 =
          (javax.swing.JRadioButton) _registered(new javax.swing.JRadioButton("XML"), "");
    }

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "matrix")) != null)) {
      _nsMatrix0 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (com.webobjects.eointerface.swing.EOMatrix) replacement;
      _replacedObjects.setObjectForKey(replacement, "_nsMatrix0");
    } else {
      _nsMatrix0 =
          (com.webobjects.eointerface.swing.EOMatrix)
              _registered(new com.webobjects.eointerface.swing.EOMatrix(1, 2, 4, 2), "NSMatrix1");
    }

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "addPanel")) != null)) {
      _nsCustomView0 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (com.webobjects.eointerface.swing.EOView) replacement;
      _replacedObjects.setObjectForKey(replacement, "_nsCustomView0");
    } else {
      _nsCustomView0 =
          (com.webobjects.eointerface.swing.EOView)
              _registered(new com.webobjects.eointerface.swing.EOView(), "View");
    }

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "csvRadio")) != null)) {
      _jRadioButton0 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (javax.swing.JRadioButton) replacement;
      _replacedObjects.setObjectForKey(replacement, "_jRadioButton0");
    } else {
      _jRadioButton0 =
          (javax.swing.JRadioButton) _registered(new javax.swing.JRadioButton("CSV"), "");
    }
  }
コード例 #2
0
  protected void _construct() {
    Object owner = _owner();
    EOArchive._ObjectInstantiationDelegate delegate =
        (owner instanceof EOArchive._ObjectInstantiationDelegate)
            ? (EOArchive._ObjectInstantiationDelegate) owner
            : null;
    Object replacement;

    super._construct();

    _eoFrame1 =
        (com.webobjects.eointerface.swing.EOFrame)
            _registered(new com.webobjects.eointerface.swing.EOFrame(), "Window");
    _nsView1 = (JPanel) _eoFrame1.getContentPane();

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "bImprimerValide")) != null)) {
      _nsButton3 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (javax.swing.JButton) replacement;
      _replacedObjects.setObjectForKey(replacement, "_nsButton3");
    } else {
      _nsButton3 =
          (javax.swing.JButton)
              _registered(
                  new javax.swing.JButton("Valider les heures selectionn\u00e9es"), "NSButton1");
    }

    _nsButton2 =
        (javax.swing.JButton)
            _registered(
                new javax.swing.JButton("D\u00e9valider les heures selectionn\u00e9es"),
                "NSButton");
    _nsBox3 =
        (com.webobjects.eointerface.swing.EOView)
            _registered(new com.webobjects.eointerface.swing.EOView(), "NSView");

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "viewValide")) != null)) {
      _nsBox2 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (com.webobjects.eointerface.swing.EOView) replacement;
      _replacedObjects.setObjectForKey(replacement, "_nsBox2");
    } else {
      _nsBox2 =
          (com.webobjects.eointerface.swing.EOView)
              _registered(new com.webobjects.eointerface.swing.EOView(), "NSBox1");
    }

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "bImprimerNonValide")) != null)) {
      _nsButton1 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (javax.swing.JButton) replacement;
      _replacedObjects.setObjectForKey(replacement, "_nsButton1");
    } else {
      _nsButton1 =
          (javax.swing.JButton)
              _registered(
                  new javax.swing.JButton("Valider les heures selectionn\u00e9es"), "NSButton1");
    }

    _nsButton0 =
        (javax.swing.JButton)
            _registered(
                new javax.swing.JButton("Valider les heures selectionn\u00e9es"), "NSButton");
    _nsBox1 =
        (com.webobjects.eointerface.swing.EOView)
            _registered(new com.webobjects.eointerface.swing.EOView(), "NSView");

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "viewNonValide")) != null)) {
      _nsBox0 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (com.webobjects.eointerface.swing.EOView) replacement;
      _replacedObjects.setObjectForKey(replacement, "_nsBox0");
    } else {
      _nsBox0 =
          (com.webobjects.eointerface.swing.EOView)
              _registered(new com.webobjects.eointerface.swing.EOView(), "NSBox");
    }

    _nsTimestampFormatter3 =
        (com.webobjects.foundation.NSTimestampFormatter)
            _registered(new com.webobjects.foundation.NSTimestampFormatter("%d/%m/%Y %H:%M"), "");

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "tablePeriodicite")) != null)) {
      _nsTableView1 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (com.webobjects.eointerface.swing.EOTable) replacement;
      _replacedObjects.setObjectForKey(replacement, "_nsTableView1");
    } else {
      _nsTableView1 =
          (com.webobjects.eointerface.swing.EOTable)
              _registered(new com.webobjects.eointerface.swing.EOTable(), "");
    }

    _eoTableAssociation1 =
        (com.webobjects.eointerface.EOTableAssociation)
            _registered(new com.webobjects.eointerface.EOTableAssociation(_nsTableView1), "");
    _nsTimestampFormatter2 =
        (com.webobjects.foundation.NSTimestampFormatter)
            _registered(new com.webobjects.foundation.NSTimestampFormatter("%d/%m/%Y %H:%M"), "");
    _eoTableColumn3 =
        (com.webobjects.eointerface.swing.EOTable._EOTableColumn)
            _registered(new com.webobjects.eointerface.swing.EOTable._EOTableColumn(), "");
    _eoTableColumnAssociation3 =
        (com.webobjects.eointerface.EOTableColumnAssociation)
            _registered(
                new com.webobjects.eointerface.EOTableColumnAssociation(
                    _eoTableColumn3, _nsTableView1),
                "");
    _eoTableColumn2 =
        (com.webobjects.eointerface.swing.EOTable._EOTableColumn)
            _registered(new com.webobjects.eointerface.swing.EOTable._EOTableColumn(), "");
    _eoTableColumnAssociation2 =
        (com.webobjects.eointerface.EOTableColumnAssociation)
            _registered(
                new com.webobjects.eointerface.EOTableColumnAssociation(
                    _eoTableColumn2, _nsTableView1),
                "");
    _nsTimestampFormatter1 =
        (com.webobjects.foundation.NSTimestampFormatter)
            _registered(new com.webobjects.foundation.NSTimestampFormatter("%d/%m/%Y %H:%M"), "");
    _eoTableColumn1 =
        (com.webobjects.eointerface.swing.EOTable._EOTableColumn)
            _registered(new com.webobjects.eointerface.swing.EOTable._EOTableColumn(), "");

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "tableHcompRecup")) != null)) {
      _nsTableView0 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (com.webobjects.eointerface.swing.EOTable) replacement;
      _replacedObjects.setObjectForKey(replacement, "_nsTableView0");
    } else {
      _nsTableView0 =
          (com.webobjects.eointerface.swing.EOTable)
              _registered(new com.webobjects.eointerface.swing.EOTable(), "");
    }

    _eoTableColumnAssociation1 =
        (com.webobjects.eointerface.EOTableColumnAssociation)
            _registered(
                new com.webobjects.eointerface.EOTableColumnAssociation(
                    _eoTableColumn1, _nsTableView0),
                "");
    _nsTimestampFormatter0 =
        (com.webobjects.foundation.NSTimestampFormatter)
            _registered(new com.webobjects.foundation.NSTimestampFormatter("%d/%m/%Y %H:%M"), "");
    _eoTableColumn0 =
        (com.webobjects.eointerface.swing.EOTable._EOTableColumn)
            _registered(new com.webobjects.eointerface.swing.EOTable._EOTableColumn(), "");
    _eoTableColumnAssociation0 =
        (com.webobjects.eointerface.EOTableColumnAssociation)
            _registered(
                new com.webobjects.eointerface.EOTableColumnAssociation(
                    _eoTableColumn0, _nsTableView0),
                "");
    _eoTableAssociation0 =
        (com.webobjects.eointerface.EOTableAssociation)
            _registered(new com.webobjects.eointerface.EOTableAssociation(_nsTableView0), "");

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "eodHcompRecup")) != null)) {
      _eoDisplayGroup1 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (com.webobjects.eointerface.EODisplayGroup) replacement;
      _replacedObjects.setObjectForKey(replacement, "_eoDisplayGroup1");
    } else {
      _eoDisplayGroup1 =
          (com.webobjects.eointerface.EODisplayGroup)
              _registered(new com.webobjects.eointerface.EODisplayGroup(), "HcompRecup");
    }

    _eoEditingContext0 =
        ((com.webobjects.eocontrol.EOEditingContext.substitutionEditingContext() != null)
            ? com.webobjects.eocontrol.EOEditingContext.substitutionEditingContext()
            : (com.webobjects.eocontrol.EOEditingContext)
                _registered(new com.webobjects.eocontrol.EOEditingContext(), "EditingContext"));

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "eodHcompRecup.dataSource"))
            != null)) {
      _eoDataSource1 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (com.webobjects.eocontrol.EODataSource) replacement;
      _replacedObjects.setObjectForKey(replacement, "_eoDataSource1");
    } else {
      _eoDataSource1 =
          (com.webobjects.eocontrol.EODataSource)
              _registered(
                  com.webobjects.eoapplication.EODataSourceFactory.defaultDataSourceFactory()
                      .newMasterDataSource(_eoEditingContext0, "HcompRecup", null),
                  "DataSource");
    }

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "eodPeriodicite.dataSource"))
            != null)) {
      _eoDataSource0 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (com.webobjects.eocontrol.EODataSource) replacement;
      _replacedObjects.setObjectForKey(replacement, "_eoDataSource0");
    } else {
      _eoDataSource0 =
          (com.webobjects.eocontrol.EODataSource)
              _registered(
                  com.webobjects.eoapplication.EODataSourceFactory.defaultDataSourceFactory()
                      .newMasterDataSource(_eoEditingContext0, "Periodicite", null),
                  "DataSource");
    }

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "eodPeriodicite")) != null)) {
      _eoDisplayGroup0 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (com.webobjects.eointerface.EODisplayGroup) replacement;
      _replacedObjects.setObjectForKey(replacement, "_eoDisplayGroup0");
    } else {
      _eoDisplayGroup0 =
          (com.webobjects.eointerface.EODisplayGroup)
              _registered(new com.webobjects.eointerface.EODisplayGroup(), "Periodicite");
    }

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "viewHComp")) != null)) {
      _nsCustomView0 =
          (replacement == EOArchive._ObjectInstantiationDelegate.NullObject)
              ? null
              : (fr.univlr.utilities.SwapView) replacement;
      _replacedObjects.setObjectForKey(replacement, "_nsCustomView0");
    } else {
      _nsCustomView0 =
          (fr.univlr.utilities.SwapView) _registered(new fr.univlr.utilities.SwapView(), "View");
    }

    if ((delegate != null)
        && ((replacement = delegate.objectForOutletPath(this, "component")) != 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(), "MainWindow");
    }

    _nsView0 = (JPanel) _eoFrame0.getContentPane();
  }