コード例 #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;
 }
コード例 #2
0
 private void init(String applicationPermissionProperty) {
   requestedPermissions =
       new TreeSet<String>(Arrays.asList(PropertyUtil.toStrings(applicationPermissionProperty)));
 }
コード例 #3
0
 public static final String toPropertyString(String... permissions) {
   return PropertyUtil.fromStrings(permissions);
 }
コード例 #4
0
 @Override
 public boolean performOk() {
   PropertyUtil.setBoolean(
       getProject(), BlackBerryPlugin.PROPERTY_SHOULD_SIGN, doSign.getSelection());
   return super.performOk();
 }
コード例 #5
0
 private void init() {
   doSign.setSelection(
       PropertyUtil.getBoolean(getProject(), BlackBerryPlugin.PROPERTY_SHOULD_SIGN));
 }