Home
last modified time | relevance | path

Searched refs:propertyDescriptor (Results 1 – 25 of 143) sorted by relevance

123456

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.TypeConverter/tests/
H A DPropertyDescriptorTests.cs34 propertyDescriptor.AddValueChanged(component, valueChangedHandler); in RaiseAddedValueChangedHandler()
35 propertyDescriptor.SetValue(component, int.MaxValue); in RaiseAddedValueChangedHandler()
49 propertyDescriptor.AddValueChanged(component, valueChangedHandler); in RemoveAddedValueChangedHandler()
50 propertyDescriptor.RemoveValueChanged(component, valueChangedHandler); in RemoveAddedValueChangedHandler()
51 propertyDescriptor.SetValue(component, int.MaxValue); in RemoveAddedValueChangedHandler()
64 Assert.False(propertyDescriptor.CanResetValue(component)); in ResetValueReturnsFalseWhenValueEqualsDefault()
74 Assert.Equal(component.GetType(), propertyDescriptor.ComponentType); in GetComponentType()
95 var retrievedValue = propertyDescriptor.GetValue(component); in GetValue()
120 propertyDescriptor.ResetValue(component); in ResetValue()
133 Assert.False(propertyDescriptor.ShouldSerializeValue(component)); in ShouldSerializeValueReturnsFalseWhenValueIsDefault()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/examples/org.eclipse.ui.examples.propertysheet/Eclipse UI Examples PropertySheet/org/eclipse/ui/examples/propertysheet/
H A DUserElement.java161 PropertyDescriptor propertyDescriptor;
168 descriptors.add(propertyDescriptor);
174 descriptors.add(propertyDescriptor);
181 descriptors.add(propertyDescriptor);
188 descriptors.add(propertyDescriptor);
194 descriptors.add(propertyDescriptor);
202 descriptors.add(propertyDescriptor);
209 propertyDescriptor
227 descriptors.add(propertyDescriptor);
234 descriptors.add(propertyDescriptor);
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.jeview/src/org/eclipse/jdt/jeview/properties/
H A DMarkerProperties.java66 AttributeDescriptor propertyDescriptor; in getPropertyDescriptors() local
73 propertyDescriptor.setCategory("Attributes"); in getPropertyDescriptors()
74 fPropertyDescriptors[i++]= propertyDescriptor; in getPropertyDescriptors()
78 propertyDescriptor.setAlwaysIncompatible(true); in getPropertyDescriptors()
79 fPropertyDescriptors[i++]= propertyDescriptor; in getPropertyDescriptors()
88 propertyDescriptor.setAlwaysIncompatible(true); in getPropertyDescriptors()
89 fPropertyDescriptors[i++]= propertyDescriptor; in getPropertyDescriptors()
98 propertyDescriptor.setAlwaysIncompatible(true); in getPropertyDescriptors()
99 fPropertyDescriptors[i++]= propertyDescriptor; in getPropertyDescriptors()
102 propertyDescriptor.setAlwaysIncompatible(true); in getPropertyDescriptors()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.core.databinding.beans/src/org/eclipse/core/databinding/beans/
H A DBeanProperties.java120 PropertyDescriptor propertyDescriptor; in value() local
123 propertyDescriptor = null; in value()
127 propertyDescriptor = BeanPropertyHelper.getPropertyDescriptor( in value()
133 property, propertyDescriptor); in value()
245 PropertyDescriptor propertyDescriptor; in set() local
248 propertyDescriptor = null; in set()
318 PropertyDescriptor propertyDescriptor; in list() local
321 propertyDescriptor = null; in list()
394 PropertyDescriptor propertyDescriptor; in map() local
397 propertyDescriptor = null; in map()
[all …]
H A DPojoProperties.java123 PropertyDescriptor propertyDescriptor; in value() local
125 propertyDescriptor = null; in value()
130 propertyDescriptor = BeanPropertyHelper.getPropertyDescriptor( in value()
136 property, propertyDescriptor); in value()
249 PropertyDescriptor propertyDescriptor; in set() local
252 propertyDescriptor = null; in set()
322 PropertyDescriptor propertyDescriptor; in list() local
325 propertyDescriptor = null; in list()
400 PropertyDescriptor propertyDescriptor; in map() local
403 propertyDescriptor = null; in map()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.core.databinding.beans/src/org/eclipse/core/internal/databinding/beans/
H A DBeanSetProperty.java39 private final PropertyDescriptor propertyDescriptor; field in BeanSetProperty
47 public BeanSetProperty(PropertyDescriptor propertyDescriptor, Class<E> elementType) { in BeanSetProperty() argument
48 this.propertyDescriptor = propertyDescriptor; in BeanSetProperty()
50 ? (Class<E>) BeanPropertyHelper.getCollectionPropertyElementType(propertyDescriptor) in BeanSetProperty()
61 return asSet(BeanPropertyHelper.readProperty(source, propertyDescriptor)); in doGetSet()
68 if (propertyDescriptor.getPropertyType().isArray()) in asSet()
80 BeanPropertyHelper.writeProperty(source, propertyDescriptor, convertSetToBeanPropertyType(set)); in doSetSet()
85 if (propertyDescriptor.getPropertyType().isArray()) { in convertSetToBeanPropertyType()
86 Class<?> componentType = propertyDescriptor.getPropertyType().getComponentType(); in convertSetToBeanPropertyType()
95 return new BeanPropertyListener<S, E, SetDiff<E>>(this, propertyDescriptor, listener) { in adaptListener()
[all …]
H A DBeanListProperty.java39 private final PropertyDescriptor propertyDescriptor; field in BeanListProperty
47 public BeanListProperty(PropertyDescriptor propertyDescriptor, Class<E> elementType) { in BeanListProperty() argument
48 this.propertyDescriptor = propertyDescriptor; in BeanListProperty()
50 ? (Class<E>) BeanPropertyHelper.getCollectionPropertyElementType(propertyDescriptor) in BeanListProperty()
61 return asList(BeanPropertyHelper.readProperty(source, propertyDescriptor)); in doGetList()
68 if (propertyDescriptor.getPropertyType().isArray()) in asList()
80 BeanPropertyHelper.writeProperty(source, propertyDescriptor, convertListToBeanPropertyType(list)); in doSetList()
85 if (propertyDescriptor.getPropertyType().isArray()) { in convertListToBeanPropertyType()
86 Class<?> componentType = propertyDescriptor.getPropertyType().getComponentType(); in convertListToBeanPropertyType()
97 return new BeanPropertyListener<S, E, ListDiff<E>>(this, propertyDescriptor, listener) { in adaptListener()
[all …]
H A DPojoListProperty.java38 private final PropertyDescriptor propertyDescriptor; field in PojoListProperty
46 public PojoListProperty(PropertyDescriptor propertyDescriptor, Class<E> elementType) { in PojoListProperty() argument
47 this.propertyDescriptor = propertyDescriptor; in PojoListProperty()
49 ? (Class<E>) BeanPropertyHelper.getCollectionPropertyElementType(propertyDescriptor) in PojoListProperty()
60 return asList(BeanPropertyHelper.readProperty(source, propertyDescriptor)); in doGetList()
67 if (propertyDescriptor.getPropertyType().isArray()) in asList()
79 BeanPropertyHelper.writeProperty(source, propertyDescriptor, convertListToBeanPropertyType(list)); in doSetList()
84 if (propertyDescriptor.getPropertyType().isArray()) { in convertListToBeanPropertyType()
85 Class<?> componentType = propertyDescriptor.getPropertyType().getComponentType(); in convertListToBeanPropertyType()
100 String s = BeanPropertyHelper.propertyName(propertyDescriptor) + "[]"; //$NON-NLS-1$ in toString()
H A DPojoSetProperty.java38 private final PropertyDescriptor propertyDescriptor; field in PojoSetProperty
46 public PojoSetProperty(PropertyDescriptor propertyDescriptor, Class<E> elementType) { in PojoSetProperty() argument
47 this.propertyDescriptor = propertyDescriptor; in PojoSetProperty()
49 ? (Class<E>) BeanPropertyHelper.getCollectionPropertyElementType(propertyDescriptor) in PojoSetProperty()
60 return asSet(BeanPropertyHelper.readProperty(source, propertyDescriptor)); in doGetSet()
67 if (propertyDescriptor.getPropertyType().isArray()) in asSet()
79 BeanPropertyHelper.writeProperty(source, propertyDescriptor, convertSetToBeanPropertyType(set)); in doSetSet()
84 if (propertyDescriptor.getPropertyType().isArray()) { in convertSetToBeanPropertyType()
85 Class<?> componentType = propertyDescriptor.getPropertyType().getComponentType(); in convertSetToBeanPropertyType()
99 String s = BeanPropertyHelper.propertyName(propertyDescriptor) + "{}"; //$NON-NLS-1$ in toString()
H A DBeanValueProperty.java34 private final PropertyDescriptor propertyDescriptor; field in BeanValueProperty
42 public BeanValueProperty(PropertyDescriptor propertyDescriptor, Class<T> valueType) { in BeanValueProperty() argument
43 this.propertyDescriptor = propertyDescriptor; in BeanValueProperty()
44 this.valueType = valueType == null ? (Class<T>) propertyDescriptor.getPropertyType() : valueType; in BeanValueProperty()
55 return (T) BeanPropertyHelper.readProperty(source, propertyDescriptor); in doGetValue()
60 BeanPropertyHelper.writeProperty(source, propertyDescriptor, value); in doSetValue()
65 …return new BeanPropertyListener<S, T, ValueDiff<? extends T>>(this, propertyDescriptor, listener) { in adaptListener()
75 String s = BeanPropertyHelper.propertyName(propertyDescriptor);
H A DPojoValueProperty.java33 private final PropertyDescriptor propertyDescriptor; field in PojoValueProperty
41 public PojoValueProperty(PropertyDescriptor propertyDescriptor, Class<T> valueType) { in PojoValueProperty() argument
42 this.propertyDescriptor = propertyDescriptor; in PojoValueProperty()
43 this.valueType = valueType == null ? (Class<T>) propertyDescriptor.getPropertyType() : valueType; in PojoValueProperty()
56 return (T) BeanPropertyHelper.readProperty(source, propertyDescriptor); in doGetValue()
61 BeanPropertyHelper.writeProperty(source, propertyDescriptor, value); in doSetValue()
71 String s = BeanPropertyHelper.propertyName(propertyDescriptor); in toString()
H A DBeanPropertyHelper.java52 PropertyDescriptor propertyDescriptor, Object value) { in writeProperty() argument
54 Method writeMethod = propertyDescriptor.getWriteMethod(); in writeProperty()
58 + propertyDescriptor.getName() + " property"); //$NON-NLS-1$ in writeProperty()
74 …"Could not change value of " + source + "." + propertyDescriptor.getName(), e)); //$NON-NLS-1$ //$… in writeProperty()
88 PropertyDescriptor propertyDescriptor) { in readProperty() argument
90 Method readMethod = propertyDescriptor.getReadMethod(); in readProperty()
92 throw new IllegalArgumentException(propertyDescriptor.getName() in readProperty()
109 …"Could not read value of " + source + "." + propertyDescriptor.getName(), e)); //$NON-NLS-1$ //$NO… in readProperty()
226 public static String propertyName(PropertyDescriptor propertyDescriptor) { in propertyName() argument
227 Class<?> beanClass = propertyDescriptor.getReadMethod() in propertyName()
[all …]
H A DBeanPropertyListener.java35 private final PropertyDescriptor propertyDescriptor; field in BeanPropertyListener
37 protected BeanPropertyListener(IProperty property, PropertyDescriptor propertyDescriptor, in BeanPropertyListener() argument
40 this.propertyDescriptor = propertyDescriptor; in BeanPropertyListener()
47 || propertyDescriptor.getName().equals(evt.getPropertyName())) { in propertyChange()
64 BeanPropertyListenerSupport.hookListener(source, propertyDescriptor.getName(), this); in doAddTo()
69 BeanPropertyListenerSupport.unhookListener(source, propertyDescriptor.getName(), this); in doRemoveFrom()
H A DBeanObservableListDecorator.java34 private PropertyDescriptor propertyDescriptor; field in BeanObservableListDecorator
40 … BeanObservableListDecorator(IObservableList<E> decorated, PropertyDescriptor propertyDescriptor) { in BeanObservableListDecorator() argument
42 this.propertyDescriptor = propertyDescriptor; in BeanObservableListDecorator()
47 this.propertyDescriptor = null; in dispose()
61 return propertyDescriptor; in getPropertyDescriptor()
H A DBeanObservableValueDecorator.java34 private PropertyDescriptor propertyDescriptor; field in BeanObservableValueDecorator
40 …eanObservableValueDecorator(IObservableValue<T> decorated, PropertyDescriptor propertyDescriptor) { in BeanObservableValueDecorator() argument
42 this.propertyDescriptor = propertyDescriptor; in BeanObservableValueDecorator()
47 this.propertyDescriptor = null; in dispose()
61 return propertyDescriptor; in getPropertyDescriptor()
H A DBeanObservableSetDecorator.java34 private PropertyDescriptor propertyDescriptor; field in BeanObservableSetDecorator
40 …ic BeanObservableSetDecorator(IObservableSet<E> decorated, PropertyDescriptor propertyDescriptor) { in BeanObservableSetDecorator() argument
42 this.propertyDescriptor = propertyDescriptor; in BeanObservableSetDecorator()
47 this.propertyDescriptor = null; in dispose()
61 return propertyDescriptor; in getPropertyDescriptor()
H A DBeanObservableMapDecorator.java35 private PropertyDescriptor propertyDescriptor; field in BeanObservableMapDecorator
41 …BeanObservableMapDecorator(IObservableMap<K, V> decorated, PropertyDescriptor propertyDescriptor) { in BeanObservableMapDecorator() argument
43 this.propertyDescriptor = propertyDescriptor; in BeanObservableMapDecorator()
48 this.propertyDescriptor = null; in dispose()
62 return propertyDescriptor; in getPropertyDescriptor()
H A DBeanMapProperty.java37 private final PropertyDescriptor propertyDescriptor; field in BeanMapProperty
46 …public BeanMapProperty(PropertyDescriptor propertyDescriptor, Class<K> keyType, Class<V> valueType… in BeanMapProperty() argument
47 this.propertyDescriptor = propertyDescriptor; in BeanMapProperty()
64 return asMap(BeanPropertyHelper.readProperty(source, propertyDescriptor)); in doGetMap()
81 BeanPropertyHelper.writeProperty(source, propertyDescriptor, map); in doSetMap()
86 return new BeanPropertyListener<S, Map<K, V>, MapDiff<K, V>>(this, propertyDescriptor, listener) { in adaptListener()
96 String s = BeanPropertyHelper.propertyName(propertyDescriptor) + "{:}"; //$NON-NLS-1$
H A DPojoMapProperty.java36 private final PropertyDescriptor propertyDescriptor; field in PojoMapProperty
45 …public PojoMapProperty(PropertyDescriptor propertyDescriptor, Class<K> keyType, Class<V> valueType… in PojoMapProperty() argument
46 this.propertyDescriptor = propertyDescriptor; in PojoMapProperty()
63 return asMap(BeanPropertyHelper.readProperty(source, propertyDescriptor)); in doGetMap()
80 BeanPropertyHelper.writeProperty(source, propertyDescriptor, map); in doSetMap()
90 String s = BeanPropertyHelper.propertyName(propertyDescriptor) + "{:}"; //$NON-NLS-1$ in toString()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools.ui/src/org/eclipse/pde/api/tools/ui/internal/actions/
H A DDeltaSession.java86 Descriptors.add(propertyDescriptor);
90 Descriptors.add(propertyDescriptor);
95 Descriptors.add(propertyDescriptor);
99 Descriptors.add(propertyDescriptor);
103 Descriptors.add(propertyDescriptor);
107 Descriptors.add(propertyDescriptor);
111 Descriptors.add(propertyDescriptor);
115 Descriptors.add(propertyDescriptor);
119 Descriptors.add(propertyDescriptor);
123 Descriptors.add(propertyDescriptor);
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.core.databinding.beans/src/org/eclipse/core/databinding/beans/typed/
H A DBeanProperties.java122 PropertyDescriptor propertyDescriptor; in value() local
125 propertyDescriptor = null; in value()
129 property = new BeanValueProperty<>(propertyDescriptor, valueType); in value()
243 PropertyDescriptor propertyDescriptor; in set() local
246 propertyDescriptor = null; in set()
249 propertyDescriptor = BeanPropertyHelper.getPropertyDescriptor( in set()
315 PropertyDescriptor propertyDescriptor; in list() local
318 propertyDescriptor = null; in list()
321 propertyDescriptor = BeanPropertyHelper.getPropertyDescriptor( in list()
392 PropertyDescriptor propertyDescriptor; in map() local
[all …]
H A DPojoProperties.java124 PropertyDescriptor propertyDescriptor; in value() local
126 propertyDescriptor = null; in value()
131 property = new PojoValueProperty<>(propertyDescriptor, valueType); in value()
246 PropertyDescriptor propertyDescriptor; in set() local
249 propertyDescriptor = null; in set()
252 propertyDescriptor = BeanPropertyHelper.getPropertyDescriptor( in set()
318 PropertyDescriptor propertyDescriptor; in list() local
321 propertyDescriptor = null; in list()
324 propertyDescriptor = BeanPropertyHelper.getPropertyDescriptor( in list()
395 PropertyDescriptor propertyDescriptor; in map() local
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests.views.properties.tabbed/src/org/eclipse/ui/tests/views/properties/tabbed/dynamic/model/
H A DDynamicTestsElement.java88 propertyDescriptor.setCategory(DEFAULT_CATEGORY); in DynamicTestsElement()
89 propertyDescriptors.add(propertyDescriptor); in DynamicTestsElement()
90 propertyDescriptor = new PropertyDescriptor(ID_COLOR, ID_COLOR); in DynamicTestsElement()
91 propertyDescriptor.setCategory(DEFAULT_CATEGORY); in DynamicTestsElement()
92 propertyDescriptors.add(propertyDescriptor); in DynamicTestsElement()
93 propertyDescriptor = new PropertyDescriptor(ID_SHAPE, ID_SHAPE); in DynamicTestsElement()
94 propertyDescriptor.setCategory(DEFAULT_CATEGORY); in DynamicTestsElement()
95 propertyDescriptors.add(propertyDescriptor); in DynamicTestsElement()
96 propertyDescriptor = new PropertyDescriptor(ID_IMAGE, ID_IMAGE); in DynamicTestsElement()
97 propertyDescriptor.setCategory(ADVANCED_CATEGORY); in DynamicTestsElement()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.DynamicData/DynamicData/ModelProviders/
H A DSimpleColumnProvider.cs11 … public SimpleColumnProvider(TableProvider tableProvider, PropertyDescriptor propertyDescriptor) in SimpleColumnProvider() argument
13 if (propertyDescriptor.PropertyType == null) { in SimpleColumnProvider()
16 Name = propertyDescriptor.Name; in SimpleColumnProvider()
17 ColumnType = propertyDescriptor.PropertyType; in SimpleColumnProvider()
18 IsPrimaryKey = propertyDescriptor.Attributes.OfType<KeyAttribute>().Any(); in SimpleColumnProvider()
20 IsReadOnly = propertyDescriptor.IsReadOnly; in SimpleColumnProvider()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/
H A DPropertyColumnLabelProvider.java57 for (IPropertyDescriptor propertyDescriptor : propertyDescriptors) { in getText()
58 if (propertyID.equals(propertyDescriptor.getId())) { in getText()
59 return propertyDescriptor.getLabelProvider().getText( in getText()
72 for (IPropertyDescriptor propertyDescriptor : propertyDescriptors) { in getImage()
73 if (propertyID.equals(propertyDescriptor.getId())) { in getImage()
74 return propertyDescriptor.getLabelProvider().getImage( in getImage()

123456