コード例 #1
0
 /** Refreshes this application permission object using the associated project's properties. */
 public void refresh() {
   init(project.getProperty(APPLICATION_PERMISSIONS_PROP));
 }
コード例 #2
0
 public static IApplicationPermissions getDefaultPermissions(MoSyncProject project) {
   ApplicationPermissions result = new ApplicationPermissions(project);
   result.isWorkingCopy = true;
   result.init(project.getDefaultProperty(APPLICATION_PERMISSIONS_PROP));
   return result;
 }