예제 #1
0
파일: HelpForm.java 프로젝트: ppires/CIDE
 /**
  * Add help for an item using the item's Label and text from resource info.
  *
  * @param item
  * @param aKey
  * @return final
  * @author Irv Bunton
  */
 public final int appendItemHelpRsc(Item item, String aKey) {
   StringItem si = new StringItem(item.getLabel(), ResourceProviderME.get(aKey));
   // #ifdef DMIDP20
   si.setLayout(Item.LAYOUT_BOTTOM);
   // #endif
   return super.append(si);
 }
예제 #2
0
파일: HelpForm.java 프로젝트: ppires/CIDE
 /**
  * Add help for a command using the command's Label and text from resource info.
  *
  * @param cmd
  * @param aKey
  * @return final
  * @author Irv Bunton
  */
 public final int appendCmdHelpRsc(Command cmd, String aKey) {
   StringItem si = new StringItem(cmd.getLabel() + ":", ResourceProviderME.get(aKey));
   // #ifdef DMIDP20
   si.setLayout(Item.LAYOUT_BOTTOM);
   // #endif
   return super.append(si);
 }