예제 #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)});
 }