예제 #1
0
 /**
  * Inits the properties for project with default values.
  *
  * @param project the project
  */
 public static void initPropertiesForProjectWithDefaultValues(IProject project) {
   PropertiesToolBox.initPropertiesForProjectWithDefaultValues(defaultValues, project);
 }
예제 #2
0
 /**
  * Sets the project property.
  *
  * @param project the project
  * @param propertyName the property name
  * @param value the value
  * @throws CoreException the core exception
  */
 public static void setProjectProperty(IProject project, String propertyName, String value)
     throws CoreException {
   PropertiesToolBox.setProjectProperty(defaultValues, project, propertyName, value);
 }
예제 #3
0
 /**
  * Gets the default property value.
  *
  * @param propertyName the property name
  * @return the default property value
  */
 public static String getDefaultPropertyValue(String propertyName) {
   return PropertiesToolBox.getDefaultPropertyValue(defaultValues, propertyName);
 }
예제 #4
0
 /**
  * Sets the default property value.
  *
  * @param project the project
  * @param propertyName the property name
  * @param value the value
  */
 public static void setDefaultPropertyValue(IProject project, String propertyName, String value) {
   PropertiesToolBox.setDefaultPropertyValue(defaultValues, project, propertyName, value);
 }
예제 #5
0
 /**
  * Gets the project property.
  *
  * @param project the project
  * @param propertyName the property name
  * @param failIfNull the fail if null
  * @return the project property
  */
 public static String getProjectProperty(
     IProject project, String propertyName, boolean failIfNull) {
   return PropertiesToolBox.getProjectProperty(defaultValues, project, propertyName, failIfNull);
 }