[hg] main-silver: #228164: Fixing help ID.

  • From:
  • To:
  • Subject: [hg] main-silver: #228164: Fixing help ID.
  • Date: Thu, 06 Jun 2013 08:52:08 -0700

changeset 20d8a649ea64 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/20d8a649ea64
description:
        #228164: Fixing help ID.

diffstat:

 
debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/CodeEvaluator.java 
|  11 +++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (28 lines):

diff --git 
a/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/CodeEvaluator.java
 
b/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/CodeEvaluator.java
--- 
a/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/CodeEvaluator.java
+++ 
b/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/CodeEvaluator.java
@@ -135,7 +135,7 @@
     /** Creates new form CodeEvaluator */
     public CodeEvaluator() {
         initComponents();
-        codePane = new JEditorPane();
+        codePane = new JEditorPaneWithHelp();
         codePane.setMinimumSize(new Dimension(0,0));
         history = new History();
 
@@ -921,6 +921,15 @@
 
     }
 
+    private class JEditorPaneWithHelp extends JEditorPane implements 
HelpCtx.Provider {
+
+        @Override
+        public HelpCtx getHelpCtx() {
+            return CodeEvaluator.this.getHelpCtx();
+        }
+        
+    }
+
     private static class DropDownButton extends JButton {
 
         @Override

[hg] main-silver: #228164: Fixing help ID.

mentlicher 06/06/2013

Project Features

About this Project

Debugger was started in November 2009, is owned by tpavek, and has 29 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