[hg] main-silver: setEnable also for scheduling menu, not just t...

  • From: Jan Peska < >
  • To:
  • Subject: [hg] main-silver: setEnable also for scheduling menu, not just t...
  • Date: Thu, 09 Jan 2014 19:23:51 +0000

changeset bdd287eb73a1 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/bdd287eb73a1
description:
        setEnable also for scheduling menu, not just the action

diffstat:

 bugtracking/src/org/netbeans/modules/bugtracking/tasks/DashboardUtils.java | 
 6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (16 lines):

diff --git 
a/bugtracking/src/org/netbeans/modules/bugtracking/tasks/DashboardUtils.java 
b/bugtracking/src/org/netbeans/modules/bugtracking/tasks/DashboardUtils.java
--- 
a/bugtracking/src/org/netbeans/modules/bugtracking/tasks/DashboardUtils.java
+++ 
b/bugtracking/src/org/netbeans/modules/bugtracking/tasks/DashboardUtils.java
@@ -707,6 +707,12 @@
         }
 
         @Override
+        public void setEnabled(boolean newValue) {
+            super.setEnabled(newValue);
+            menu.setEnabled(newValue);
+        }
+
+        @Override
         public JMenuItem getPopupPresenter() {
             return menu;
         }

[hg] main-silver: setEnable also for scheduling menu, not just t...

Jan Peska 01/09/2014

Project Features

About this Project

ConnectedDeveloper was started in November 2009, is owned by tpavek, and has 92 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20150226.965aeb8). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close