public BuSpecificBar getSpecificBar() { return implementation_.getSpecificBar(); }
public BuSpecificBar getSpecificBar() { return implementation_.getSpecificBar(); }
public BuSpecificBar getSpecificBar() { return implementation_.getSpecificBar(); }
else if (action.startsWith("THEME_SLAF")) setSlafTheme(arg); else if (action.equals("VISIBLE_SPECIFICBAR")) showOrHide(action, getSpecificBar()); else if (action.equals("VISIBLE_LEFTCOLUMN")) showOrHide(action, mp.getLeftColumn()); else if (action.equals("VISIBLE_RIGHTCOLUMN")) showOrHide(action, mp.getRightColumn());
protected void enleverActionsOutils(InternalFrameEvent _evt) { Object source = _evt.getSource(); if (source instanceof BuInternalFrame) { BuInternalFrame f = (BuInternalFrame) source; BuMenuBar mb = getMainMenuBar(); BuSpecificBar sb = getSpecificBar(); // System.err.println(""+f+" deactivated!"); int i; String[] ea = f.getEnabledActions(); for (i = 0; i < ea.length; i++) setEnabledForAction(ea[i], false); String[] da = f.getDisabledActions(); for (i = 0; i < da.length; i++) setEnabledForAction(da[i], true); mb.removeMenus(f.getSpecificMenus()); sb.removeTools(f.getSpecificTools()); } }
protected void ajouterActionsOutils(InternalFrameEvent _evt) { Object source = _evt.getSource(); if (source instanceof BuInternalFrame) { BuInternalFrame f = (BuInternalFrame) source; BuMenuBar mb = getMainMenuBar(); BuSpecificBar sb = getSpecificBar(); // System.err.println(""+f+" activated!"); int i; String[] ea = f.getEnabledActions(); for (i = 0; i < ea.length; i++) setEnabledForAction(ea[i], true); String[] da = f.getDisabledActions(); for (i = 0; i < da.length; i++) setEnabledForAction(da[i], false); mb.addMenus(f.getSpecificMenus()); sb.addTools(f.getSpecificTools()); BuMainPanel mp = getMainPanel(); if (mp.getAssistant() != null) mp.getAssistant().addEmitters(sb); f.adjustActions(); } }