public BuMainPanel getMainPanel() { return implementation_.getMainPanel(); }
public BuMainPanel getMainPanel() { return implementation_.getMainPanel(); }
public BuMainPanel getMainPanel() { return implementation_.getMainPanel(); }
protected boolean hasDesktop() { return getMainPanel() != null && getMainPanel().getDesktop() != null; }
public BuSpecificBar getSpecificBar() { return getMainPanel().getSpecificBar(); }
protected boolean isAppOk() { return app_ != null && app_.getMainPanel().getDesktop() != null; }
public void setSpecificBar(BuSpecificBar _sb) { getMainPanel().setSpecificBar(_sb); }
public JInternalFrame getCurrentInternalFrame() { return getMainPanel().getCurrentInternalFrame(); }
public JInternalFrame[] getAllInternalFrames() { return getMainPanel().getAllInternalFrames(); }
public JComponent[] getSpecificTools() { if (spec_ == null) { List res = new ArrayList(/* Arrays.asList(super.getSpecificTools()) */); buildActions(); EbliLib.updateToolButtons(actions_, super.app_.getMainPanel().getDesktop()); for (int i = 0; i < actions_.size(); i++) { EbliActionInterface action = (EbliActionInterface) actions_.get(i); if (action == null) res.add(null); else res.add((action).buildToolButton(EbliComponentFactory.INSTANCE)); } spec_ = (JComponent[]) res.toArray(new JComponent[res.size()]); } return spec_; }
public void start() { // next lines soon removed getMainPanel().updateSplits(); menusOrganisationFenetres(); }
public void run() { BuMainPanel mp = getMainPanel(); mp.activateInternalFrame(_f); menusOrganisationFenetres(); } };
public void prestart() { getMainPanel().updateSplits(); menusOrganisationFenetres(); }
public void showOrHide(String _a, JComponent _c) { getMainPanel().showOrHide(_c); setCheckedForAction(_a, _c.isVisible()); }
public void run() { BuMainPanel mp = getMainPanel(); mp.removeInternalFrame(_f); _f.removeInternalFrameListener(l); menusOrganisationFenetres(); } };
public void run() { BuMainPanel mp = getMainPanel(); for (int i = _f.length - 1; i >= 0; i--) { if (_f[i] != null) { mp.removeInternalFrame(_f[i]); _f[i].removeInternalFrameListener(l); } } menusOrganisationFenetres(); } };
public void internalFrameActivated(InternalFrameEvent _evt) { ajouterActionsOutils(_evt); menusOrganisationFenetres(); if (hasDesktop()) { BuDesktop desktop = getMainPanel().getDesktop(); JInternalFrame frame = desktop.getCurrentInternalFrame(); desktop.showFrame(frame); } if (ifListener_ != null) { for (Iterator it = ifListener_.iterator(); it.hasNext();) { ((InternalFrameListener) it.next()).internalFrameActivated(_evt); } } }
public void run() { _f.removeInternalFrameListener(l); _f.addInternalFrameListener(l); BuMainPanel mp = getMainPanel(); mp.addInternalFrame(_f); menusOrganisationFenetres(); } };
public void run() { BuMainPanel mp = getMainPanel(); for (int i = _f.length - 1; i >= 0; i--) { _f[i].removeInternalFrameListener(l); _f[i].addInternalFrameListener(l); mp.addInternalFrame(_f[i]); } menusOrganisationFenetres(); } };
public void preview() { JInternalFrame frame = getMainPanel().getCurrentInternalFrame(); if (frame instanceof BuPrintable) { /* * Image[] images=BuPrinter.preview (getFrame(),frame.getTitle(),(BuPrintable)frame); if(images!=null) { * BuPreviewFrame pf=new BuPreviewFrame(this,images); addInternalFrame(pf); } */ BuPrinter.preview(this, frame.getTitle(), (BuPrintable) frame); } else { BuInformationsSoftware il = getInformationsSoftware(); /* BuDialogError bd= */new BuDialogError(this, il, _("La prvisualisation n'est pas disponible pour") + "\"" + frame.getTitle() + "\".").activate(); } }