1 11 package org.eclipse.pde.internal.runtime.registry; 12 13 import java.util.Vector ; 14 15 import org.eclipse.ui.views.properties.*; 16 17 public abstract class RegistryPropertySource implements IPropertySource { 18 19 public Object getEditableValue() { 20 return null; 21 } 22 public IPropertyDescriptor[] getPropertyDescriptors() { 23 return null; 24 } 25 public boolean isPropertySet(Object id) { 26 return false; 27 } 28 public void resetPropertyValue(Object id) {} 29 public void setPropertyValue(Object id, Object value) {} 30 protected IPropertyDescriptor[] toDescriptorArray(Vector result) { 31 IPropertyDescriptor [] array = new IPropertyDescriptor[result.size()]; 32 result.copyInto(array); 33 return array; 34 } 35 } 36 | Popular Tags |