From 9a2b7fab9d523ff7867840d43cc6739de7c5ee4d Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 03 Nov 2008 10:40:33 +0000
Subject: [PATCH] Modify the MainMenuBar and MainActionsPane so that they can be extended. Fix a problem with the ControlPanelLog class: now when it is extended only one log file is created.

---
 opends/src/guitools/org/opends/guitools/controlpanel/ui/MainActionsPane.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/MainActionsPane.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/MainActionsPane.java
index f1f5e6a..9000aa9 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/MainActionsPane.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/MainActionsPane.java
@@ -174,7 +174,11 @@
     return null;
   }
 
-  private ArrayList<Category> createCategories()
+  /**
+   * Creates the categories contained by this panel.
+   * @return the categories contained by this panel.
+   */
+  protected ArrayList<Category> createCategories()
   {
     ArrayList<Category> categories = new ArrayList<Category>();
     Message[][] labels;

--
Gitblit v1.10.0