public virtual void popupShown(PopupPanelManager.PopupEvent paramPopupEvent)
 {
     if (paramPopupEvent.Component is CostOSRibbonApplicationMenuPopupPanel)
     {
         CostOSRibbonUI.Instance.BackstageShown = true;
         CostOSRootPaneUI.Resolver.Ribbon.firePropertyChange("AppMenuShown", false, true);
     }
 }
Ejemplo n.º 2
0
                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();
                    }
                }
Ejemplo n.º 3
0
		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;
		}
Ejemplo n.º 4
0
                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();
         }
     }
 }