Exemplo n.º 1
0
 @Override
 public String getDefaultValue(IPropertyOwner p, String key) {
   if (key.equals(JAVAME_PROJECT_SPECIFIC_KEYS)) {
     return PropertyUtil.fromBoolean(false);
   } else if (key.equals(JAVAME_DO_SIGN)) {
     return PropertyUtil.fromBoolean(false);
   }
   return null;
 }
 private void init(String applicationPermissionProperty) {
   requestedPermissions =
       new TreeSet<String>(Arrays.asList(PropertyUtil.toStrings(applicationPermissionProperty)));
 }
 public static final String toPropertyString(String... permissions) {
   return PropertyUtil.fromStrings(permissions);
 }
 @Override
 public boolean performOk() {
   PropertyUtil.setBoolean(
       getProject(), BlackBerryPlugin.PROPERTY_SHOULD_SIGN, doSign.getSelection());
   return super.performOk();
 }
 private void init() {
   doSign.setSelection(
       PropertyUtil.getBoolean(getProject(), BlackBerryPlugin.PROPERTY_SHOULD_SIGN));
 }