~ubuntu-branches/ubuntu/trusty/netbeans/trusty

« back to all changes in this revision

Viewing changes to apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/options/template_mypluginAdvancedOption

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<#assign licenseFirst = "/*">
 
2
<#assign licensePrefix = " * ">
 
3
<#assign licenseLast = " */">
 
4
<#include "../Licenses/license-${project.license}.txt">
 
5
 
 
6
package ${PACKAGE_NAME};
 
7
 
 
8
import org.netbeans.spi.options.AdvancedOption;
 
9
import org.netbeans.spi.options.OptionsPanelController;
 
10
import org.openide.util.NbBundle;
 
11
 
 
12
public final class ${AdvancedOption_CLASS_NAME} extends AdvancedOption {
 
13
    
 
14
    public String getDisplayName() {
 
15
        return NbBundle.getMessage(${AdvancedOption_CLASS_NAME}.class, "${AdvancedOption_DisplayName}");
 
16
    }
 
17
 
 
18
    public String getTooltip() {
 
19
        return NbBundle.getMessage(${AdvancedOption_CLASS_NAME}.class, "${AdvancedOption_Tooltip}");
 
20
    }
 
21
 
 
22
    public OptionsPanelController create() {
 
23
        return new ${OptionsPanelController_CLASS_NAME}();
 
24
    }
 
25
 
 
26
}