1 17 package org.eclipse.emf.edit.provider; 18 19 20 import java.util.Collection ; 21 22 23 25 public class ItemPropertyDescriptorDecorator implements IItemPropertyDescriptor 26 { 27 protected Object object; 28 protected IItemPropertyDescriptor itemPropertyDescriptor; 29 30 32 public ItemPropertyDescriptorDecorator(Object object, IItemPropertyDescriptor itemPropertyDescriptor) 33 { 34 this.object = object; 35 this.itemPropertyDescriptor = itemPropertyDescriptor; 36 } 37 38 41 public String getCategory(Object thisObject) 42 { 43 return itemPropertyDescriptor.getCategory(object); 44 } 45 46 49 public String getDescription(Object thisObject) 50 { 51 return itemPropertyDescriptor.getDescription(object); 52 } 53 54 57 public String getDisplayName(Object thisObject) 58 { 59 return itemPropertyDescriptor.getDisplayName(object); 60 } 61 62 65 public String [] getFilterFlags(Object thisObject) 66 { 67 return itemPropertyDescriptor.getFilterFlags(object); 68 } 69 70 74 public String getId(Object thisObject) 75 { 76 return itemPropertyDescriptor.getId(object); 77 } 78 79 public Object getHelpContextIds(Object thisObject) 80 { 81 return itemPropertyDescriptor.getHelpContextIds(object); 82 } 83 84 87 public IItemLabelProvider getLabelProvider(Object thisObject) 88 { 89 return itemPropertyDescriptor.getLabelProvider(object); 90 } 91 92 97 public boolean isCompatibleWith(Object object, Object anotherObject, IItemPropertyDescriptor anotherItemPropertyDescriptor) 98 { 99 return itemPropertyDescriptor.isCompatibleWith(object, anotherObject, anotherItemPropertyDescriptor); 100 } 101 102 105 public Object getPropertyValue(Object thisObject) 106 { 107 return itemPropertyDescriptor.getPropertyValue(object); 108 } 109 110 113 public boolean isPropertySet(Object thisObject) 114 { 115 return itemPropertyDescriptor.isPropertySet(object); 116 } 117 118 121 public boolean canSetProperty(Object thisObject) 122 { 123 return itemPropertyDescriptor.canSetProperty(object); 124 } 125 126 129 public void resetPropertyValue(Object thisObject) 130 { 131 itemPropertyDescriptor.resetPropertyValue(object); 132 } 133 134 137 public void setPropertyValue(Object thisObject, Object value) 138 { 139 itemPropertyDescriptor.setPropertyValue(object, value); 140 } 141 142 public Object getFeature(Object thisObject) 143 { 144 return itemPropertyDescriptor.getFeature(object); 145 146 } 147 148 public Collection getChoiceOfValues(Object thisObject) 149 { 150 return itemPropertyDescriptor.getChoiceOfValues(object); 151 } 152 153 156 public boolean isMany(Object thisObject) 157 { 158 return itemPropertyDescriptor.isMany(thisObject); 159 } 160 } 161 | Popular Tags |