/* * Copyright (c) 2012 Sam Harwell, Tunnel Vision Laboratories LLC * All rights reserved. * * The source code of this document is proprietary work, and is not licensed for * distribution. For information about licensing, contact Sam Harwell at: * sam@tunnelvisionlabs.com */ package org.tvl.goworks.editor.go.fold; import java.util.prefs.Preferences; import org.antlr.netbeans.editor.fold.AbstractFoldManager; import org.netbeans.api.editor.mimelookup.MimeLookup; import org.netbeans.spi.editor.fold.FoldOperation; import org.tvl.goworks.editor.GoEditorKit; /** * * @author Sam Harwell */ public class DeclarationFoldManager extends AbstractFoldManager { @Override public void init(FoldOperation operation) { super.init(operation); Preferences preferences = MimeLookup.getLookup(GoEditorKit.GO_MIME_TYPE).lookup(Preferences.class); //foldImportsPreset = prefs.getBoolean(SimpleValueNames.CODE_FOLDING_COLLAPSE_IMPORT, foldImportsPreset); } }