public class DefaultPropertyTester<RECEIVER> extends PropertyTester implements IProperties<RECEIVER>
Constructor and Description |
---|
DefaultPropertyTester(java.lang.String namespace,
IProperties<RECEIVER> properties) |
Modifier and Type | Method and Description |
---|---|
void |
add(Property<RECEIVER> property) |
protected RECEIVER |
convertReceiver(java.lang.Object receiver) |
void |
dumpContributionMarkup() |
java.lang.String |
getNamespace() |
java.util.List<Property<RECEIVER>> |
getProperties() |
Property<RECEIVER> |
getProperty(java.lang.String name) |
java.lang.Class<RECEIVER> |
getReceiverType() |
protected java.lang.String |
getReceiverTypeName() |
boolean |
test(java.lang.Object receiver,
java.lang.String propertyName,
java.lang.Object[] args,
java.lang.Object expectedValue) |
handles, instantiate, internalCreateDescriptor, internalInitialize, isDeclaringPluginActive, isInstantiated
public DefaultPropertyTester(java.lang.String namespace, IProperties<RECEIVER> properties)
public final java.lang.String getNamespace()
public java.lang.Class<RECEIVER> getReceiverType()
getReceiverType
in interface IProperties<RECEIVER>
public Property<RECEIVER> getProperty(java.lang.String name)
getProperty
in interface IProperties<RECEIVER>
public java.util.List<Property<RECEIVER>> getProperties()
getProperties
in interface IPropertyProvider<RECEIVER>
public void add(Property<RECEIVER> property)
add
in interface IProperties<RECEIVER>
public boolean test(java.lang.Object receiver, java.lang.String propertyName, java.lang.Object[] args, java.lang.Object expectedValue)
test
in interface IPropertyTester
protected RECEIVER convertReceiver(java.lang.Object receiver)
protected java.lang.String getReceiverTypeName()
public void dumpContributionMarkup()
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html