|
What this is
Other links
The source code/* * JspIndentEngineBeanInfo.java * * Created on August 22, 2003, 12:14 PM */ package org.netbeans.modules.web.core.syntax; import java.beans.BeanDescriptor; import java.util.MissingResourceException; import org.netbeans.modules.editor.FormatterIndentEngineBeanInfo; import org.netbeans.modules.editor.NbEditorUtilities; import org.openide.util.NbBundle; /** * Bean info for indent engine for jsp and tag files. * @author Petr Pisl */ public class JspIndentEngineBeanInfo extends FormatterIndentEngineBeanInfo { private BeanDescriptor beanDescriptor; public BeanDescriptor getBeanDescriptor () { if (beanDescriptor == null) { beanDescriptor = new BeanDescriptor(getBeanClass()); beanDescriptor.setDisplayName(getString("LAB_JspIndentEngine")); beanDescriptor.setShortDescription(getString("HINT_JspIndentEngine")); beanDescriptor.setValue("global", Boolean.TRUE); // NOI18N } return beanDescriptor; } protected Class getBeanClass() { return JspIndentEngine.class; } protected String getString(String key) { try { return NbBundle.getMessage(JspIndentEngineBeanInfo.class,key); } catch (MissingResourceException e) { return super.getString(key); } } } |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.