public virtual void popupShown(PopupPanelManager.PopupEvent paramPopupEvent) { if (paramPopupEvent.Component is CostOSRibbonApplicationMenuPopupPanel) { CostOSRibbonUI.Instance.BackstageShown = true; CostOSRootPaneUI.Resolver.Ribbon.firePropertyChange("AppMenuShown", false, true); } }
public void popupShown(PopupPanelManager.PopupEvent param3PopupEvent) { JComponent jComponent = param3PopupEvent.PopupOriginator; if (jComponent is JRibbonTaskToggleButton) { CostOSRibbonUI.null.this.this$0.bandScrollablePanel.doLayout(); CostOSRibbonUI.null.this.this$0.bandScrollablePanel.repaint(); } }
public virtual void popupHidden(PopupPanelManager.PopupEvent param1PopupEvent) { PopupPanelManager popupPanelManager = PopupPanelManager.defaultManager(); System.Collections.IList list = popupPanelManager.ShownPath; if (this.lastPathSelected.Count != 0 && list.Count == 0) { ungrabWindow(); } this.lastPathSelected = list; }
public void popupHidden(PopupPanelManager.PopupEvent param3PopupEvent) { JComponent jComponent = param3PopupEvent.PopupOriginator; if (jComponent is JRibbonTaskToggleButton) { CostOSRibbonUI.null.this.this$0.ribbon.add(CostOSRibbonUI.null.this.this$0.bandScrollablePanel); PopupPanelManager.defaultManager().removePopupListener(this); CostOSRibbonUI.null.this.this$0.ribbon.revalidate(); CostOSRibbonUI.null.this.this$0.ribbon.doLayout(); CostOSRibbonUI.null.this.this$0.ribbon.repaint(); } }
public virtual void popupHidden(PopupPanelManager.PopupEvent paramPopupEvent) { if (paramPopupEvent.Component is CostOSRibbonApplicationMenuPopupPanel) { CostOSRibbonUI.Instance.BackstageShown = false; CostOSRootPaneUI.Resolver.Ribbon.firePropertyChange("AppMenuHidden", false, true); Window window = SwingUtilities.getWindowAncestor(CostOSRootPaneUI.Resolver.Ribbon); window = JideSwingUtilities.getTopModalDialog(window); if (window != null) { window.invalidate(); window.repaint(); } } }