Automated merge with http://hg.netbeans.org/main/ laziness_integration_to_core_main
authorAlex Petrov <alexpetrov@netbeans.org>
Tue, 08 Jul 2008 20:14:05 +0400
changeset 35804c18a00dc74d
parent 3578 c12154fa3122
parent 3579 0aea5664a311
child 3583 443fb91b5a1a
child 3584 54612eb05e65
Automated merge with http://hg.netbeans.org/main/
     1.1 --- a/xslt.core/src/org/netbeans/modules/xslt/core/text/completion/XSLTCompletionQuery.java	Tue Jul 08 16:41:04 2008 +0400
     1.2 +++ b/xslt.core/src/org/netbeans/modules/xslt/core/text/completion/XSLTCompletionQuery.java	Tue Jul 08 20:14:05 2008 +0400
     1.3 @@ -119,25 +119,4 @@
     1.4      public JEditorPane getSourceEditorComponent() {
     1.5          return srcEditorPane;
     1.6      }
     1.7 -
     1.8 -    /*
     1.9 -    private JEditorPane getXsltSourceEditor() {
    1.10 -        try {
    1.11 -            XSLTDataEditorSupport editorSupport = 
    1.12 -                XSLTCompletionUtil.getXsltDataEditorSupport();
    1.13 -            if (editorSupport == null) return null;
    1.14 -     
    1.15 -            //*** Attention: method "editorSupport.getOpenedPanes()"
    1.16 -            //*** can be invoked inside AWT thread ONLY !!!
    1.17 -            JEditorPane[] editorPanes = editorSupport.getOpenedPanes();
    1.18 -            if ((editorPanes == null) || (editorPanes.length < 1)) return null;
    1.19 -
    1.20 -            return editorPanes[0];
    1.21 -        } catch(Exception e) {
    1.22 -            Logger logger = Logger.getLogger(XSLTCompletionUtil.class.getName());
    1.23 -            logger.log(Level.INFO, null, e);
    1.24 -            return null;
    1.25 -        }
    1.26 -    }
    1.27 -    */
    1.28  }
    1.29 \ No newline at end of file