KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > editor > oldlibbridge > Installer


1 package org.netbeans.modules.editor.oldlibbridge;
2
3 import java.util.logging.Logger JavaDoc;
4 import org.netbeans.modules.editor.lib2.DocumentsRegistry;
5 import org.openide.modules.ModuleInstall;
6
7 /**
8  * Manages a module's lifecycle. Remember that an installer is optional and
9  * often not needed at all.
10  */

11 public class Installer extends ModuleInstall {
12
13     private static final Logger JavaDoc LOG = Logger.getLogger(Installer.class.getName());
14     
15 // /** The flag that determines if the new highlighting API should be used. */
16
// private static final boolean HIGHLIGHTING = Boolean.getBoolean("org-netbeans-spi-editor-highlighting");
17

18     public void restored() {
19 // LOG.warning("Highlighting is " + (HIGHLIGHTING ? "on" : "off") + ".");
20
// if (HIGHLIGHTING) {
21
// DocumentsRegistry.addPropertyChangeListener(HighlightingDrawLayer.INJECTOR);
22
// }
23
}
24     
25 }
26
Popular Tags