@Test public void testResetValue() { property.setKey(propertyKey); property.setValue(new Object()); property.setOverridden(true); assertNotNull(property.getOriginalValue()); assertTrue(property.isOverridden()); property.resetValue(); assertNull(property.getOriginalValue()); assertFalse(property.isOverridden()); }
public void resetValue() { setOriginalValue(null, false); }
BaseProjectProperty implements IProjectProperty<T> { public void resetValue() { setOriginalValue(null, false); } }
BaseProjectProperty implements IProjectProperty<T> { public void resetValue() { setOriginalValue(null, false); } BaseProjectProperty(ICascadingJob job); }
BaseProjectProperty implements IProjectProperty<T> { public void resetValue() { setOriginalValue(null, false); } BaseProjectProperty(ICascadingJob job); void setKey(String propertyKey); String getKey(); void setJob(ICascadingJob job); void setOverridden(boolean overridden); @SuppressWarnings("unchecked") T getCascadingValue(); boolean isOverridden(); T getDefaultValue(); T getValue(); @SuppressWarnings("unchecked") void setValue(T value); void resetValue(); boolean allowOverrideValue(T cascadingValue, T candidateValue); T getOriginalValue(); final void onCascadingProjectChanged(); }
BaseProjectProperty implements IProjectProperty<T> { public void resetValue() { setOriginalValue(null, false); } BaseProjectProperty(ICascadingJob job); void setKey(String propertyKey); String getKey(); void setJob(ICascadingJob job); void setOverridden(boolean overridden); @SuppressWarnings("unchecked") T getCascadingValue(); boolean isOverridden(); T getDefaultValue(); T getValue(); @SuppressWarnings("unchecked") void setValue(T value); void resetValue(); boolean allowOverrideValue(T cascadingValue, T candidateValue); T getOriginalValue(); final void onCascadingProjectChanged();  }