/* * 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.formatting; import org.antlr.netbeans.editor.formatting.CategorySupport; import org.netbeans.modules.options.editor.spi.PreferencesCustomizer; import org.openide.util.NbBundle; import org.tvl.goworks.editor.GoEditorKit; /** * * @author Sam Harwell */ @NbBundle.Messages({ "SAMPLE_TabsIndents=" }) public class FormatTabsIndents extends javax.swing.JPanel { /** * Creates new form FormatTabsIndents */ public FormatTabsIndents() { initComponents(); } public static PreferencesCustomizer.Factory getController() { return new CategorySupport.Factory(GoEditorKit.GO_MIME_TYPE, PreferencesCustomizer.TABS_AND_INDENTS_ID, FormatTabsIndents.class, Bundle.SAMPLE_TabsIndents(), GoPreviewFormatter.INSTANCE); } /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The content of this method is always * regenerated by the Form Editor. */ @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGap(0, 400, Short.MAX_VALUE) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGap(0, 300, Short.MAX_VALUE) ); }// </editor-fold>//GEN-END:initComponents // Variables declaration - do not modify//GEN-BEGIN:variables // End of variables declaration//GEN-END:variables }