[hg] main-silver: setting a name (id) to the tasks options layer...

  • From: Tomas Pavek < >
  • To:
  • Subject: [hg] main-silver: setting a name (id) to the tasks options layer...
  • Date: Fri, 10 Jan 2014 04:50:43 +0000

changeset 78aa3c1ca55a in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/78aa3c1ca55a
description:
        setting a name (id) to the tasks options layer file so the controller 
can be used in JDev preferences

diffstat:

 
bugtracking/src/org/netbeans/modules/bugtracking/settings/BugtrackingOptions.java
 |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (28 lines):

diff --git 
a/bugtracking/src/org/netbeans/modules/bugtracking/settings/BugtrackingOptions.java
 
b/bugtracking/src/org/netbeans/modules/bugtracking/settings/BugtrackingOptions.java
--- 
a/bugtracking/src/org/netbeans/modules/bugtracking/settings/BugtrackingOptions.java
+++ 
b/bugtracking/src/org/netbeans/modules/bugtracking/settings/BugtrackingOptions.java
@@ -54,7 +54,6 @@
 import java.util.logging.Level;
 import javax.swing.JComponent;
 import org.netbeans.modules.bugtracking.BugtrackingManager;
-import org.netbeans.modules.bugtracking.settings.DashboardOptions;
 import org.netbeans.spi.options.AdvancedOption;
 import org.netbeans.spi.options.OptionsPanelController;
 import org.openide.util.HelpCtx;
@@ -70,6 +69,7 @@
  * @author Tomas Stupka
  */
 @OptionsPanelController.SubRegistration(
+    id = BugtrackingOptions.OPTIONS_PATH,
     displayName="#LBL_IssueTracking",
     location="Team",
     keywords="#KW_IssueTracking",
@@ -80,6 +80,8 @@
         private Map<String, OptionsPanelController> categoryToController = 
new HashMap<String, OptionsPanelController>();
         private DashboardOptions tasksPanel;
 
+        public static final String OPTIONS_PATH = "Tasks"; // name of the 
layer file, may be used in JDev // NOI18N
+
         public BugtrackingOptions() {
             if (initialized) return;
             initialized = true;

[hg] main-silver: setting a name (id) to the tasks options layer...

Tomas Pavek 01/10/2014

Project Features

About this Project

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