updated SmartyPhpFrameworkProvider to use constructor with identifier
authorMartin Fousek <marfous@netbeans.org>
Wed, 03 Aug 2011 11:56:30 +0200
changeset 175549d3adc65436e
parent 17551 012bcb6e9c52
child 17556 e8ce6c771949
updated SmartyPhpFrameworkProvider to use constructor with identifier
php.smarty/manifest.mf
php.smarty/nbproject/project.xml
php.smarty/src/org/netbeans/modules/php/smarty/SmartyPhpFrameworkProvider.java
     1.1 --- a/php.smarty/manifest.mf	Mon Aug 01 09:51:11 2011 -0400
     1.2 +++ b/php.smarty/manifest.mf	Wed Aug 03 11:56:30 2011 +0200
     1.3 @@ -2,5 +2,5 @@
     1.4  OpenIDE-Module: org.netbeans.modules.php.smarty
     1.5  OpenIDE-Module-Layer: org/netbeans/modules/php/smarty/resources/layer.xml
     1.6  OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/php/smarty/resources/Bundle.properties
     1.7 -OpenIDE-Module-Specification-Version: 1.58
     1.8 +OpenIDE-Module-Specification-Version: 1.59
     1.9  
     2.1 --- a/php.smarty/nbproject/project.xml	Mon Aug 01 09:51:11 2011 -0400
     2.2 +++ b/php.smarty/nbproject/project.xml	Wed Aug 03 11:56:30 2011 +0200
     2.3 @@ -136,7 +136,7 @@
     2.4                      <build-prerequisite/>
     2.5                      <compile-dependency/>
     2.6                      <run-dependency>
     2.7 -                        <specification-version>1.27</specification-version>
     2.8 +                        <specification-version>1.49</specification-version>
     2.9                      </run-dependency>
    2.10                  </dependency>
    2.11                  <dependency>
     3.1 --- a/php.smarty/src/org/netbeans/modules/php/smarty/SmartyPhpFrameworkProvider.java	Mon Aug 01 09:51:11 2011 -0400
     3.2 +++ b/php.smarty/src/org/netbeans/modules/php/smarty/SmartyPhpFrameworkProvider.java	Wed Aug 03 11:56:30 2011 +0200
     3.3 @@ -78,7 +78,10 @@
     3.4      }
     3.5  
     3.6      private SmartyPhpFrameworkProvider() {
     3.7 -        super(NbBundle.getMessage(SmartyPhpFrameworkProvider.class, "LBL_FrameworkName"), NbBundle.getMessage(SmartyPhpFrameworkProvider.class, "LBL_FrameworkDescription"));
     3.8 +        super("Smarty PHP Web Framework", //NOI18N
     3.9 +                NbBundle.getMessage(SmartyPhpFrameworkProvider.class, "LBL_FrameworkName"),  //NOI18N
    3.10 +                NbBundle.getMessage(SmartyPhpFrameworkProvider.class, "LBL_FrameworkDescription")); //NOI18N
    3.11 +        
    3.12          badgeIcon = new BadgeIcon(
    3.13                  ImageUtilities.loadImage(ICON_PATH),
    3.14                  SmartyPhpFrameworkProvider.class.getResource("/" + ICON_PATH)); // NOI18N
    3.15 @@ -90,7 +93,7 @@
    3.16      }
    3.17  
    3.18      public static boolean isSmartyTemplateExtension(String ext) {
    3.19 -        for (String mimeExt : FileUtil.getMIMETypeExtensions("text/x-tpl")) {
    3.20 +        for (String mimeExt : FileUtil.getMIMETypeExtensions("text/x-tpl")) { // NOI18N
    3.21              if (ext.equals(mimeExt)) {
    3.22                  return true;
    3.23              }
    3.24 @@ -160,7 +163,7 @@
    3.25                              fs.setFound(true);
    3.26                          }
    3.27                      }
    3.28 -                }, NbBundle.getMessage(SmartyPhpFrameworkProvider.class, "MSG_SearchingForSmartyExt"), 
    3.29 +                }, NbBundle.getMessage(SmartyPhpFrameworkProvider.class, "MSG_SearchingForSmartyExt"),  // NOI18N
    3.30                     new AtomicBoolean(false), false, 1000, 10000);
    3.31              }
    3.32              return fs.isFound();