01: /*
02: * Sun Public License Notice
03: *
04: * The contents of this file are subject to the Sun Public License
05: * Version 1.0 (the "License"). You may not use this file except in
06: * compliance with the License. A copy of the License is available at
07: * http://www.sun.com/
08: *
09: * The Original Code is NetBeans. The Initial Developer of the Original
10: * Code is Sun Microsystems, Inc. Portions Copyright 1997-2003 Sun
11: * Microsystems, Inc. All Rights Reserved.
12: */
13:
14: package org.netbeans.modules.web.core.syntax.folding;
15:
16: import org.netbeans.editor.CodeFoldingSideBar;
17: import org.netbeans.editor.SideBarFactory;
18:
19: /**
20: * HTML Code Folding Side Bar Factory, responsible for creating CodeFoldingSideBar
21: * Plugged via layer.xml
22: *
23: * @author Martin Roskanin, Marek Fukala
24: */
25: public class JspCodeFoldingSideBarFactory implements SideBarFactory {
26:
27: public JspCodeFoldingSideBarFactory() {
28: }
29:
30: public javax.swing.JComponent createSideBar(
31: javax.swing.text.JTextComponent target) {
32: return new CodeFoldingSideBar(target);
33: }
34:
35: }
|