Пример #1
0
 static {
   NSISInstallElementFactory.register(
       TYPE, NSISKeywords.getInstance().getKeyword(TYPE), IMAGE, NSISSectionGroup.class);
   NSISKeywords.getInstance()
       .addKeywordsListener(
           new INSISKeywordsListener() {
             public void keywordsChanged() {
               NSISInstallElementFactory.setTypeName(
                   TYPE, NSISKeywords.getInstance().getKeyword(TYPE));
             }
           });
 }
Пример #2
0
 /* (non-Javadoc)
  * @see net.sf.eclipsensis.wizard.settings.INSISInstallElement#getDisplayName()
  */
 public String getDisplayName() {
   return MessageFormat.format(
       FORMAT, new Object[] {mCaption, NSISKeywords.getInstance().getKeyword(TYPE)});
 }