public class DefaultPropertyTester<RECEIVER> extends PropertyTester implements IProperties<RECEIVER>
Constructor and Description |
---|
DefaultPropertyTester(String namespace,
IProperties<RECEIVER> properties) |
Modifier and Type | Method and Description |
---|---|
void |
add(Property<RECEIVER> property) |
protected RECEIVER |
convertReceiver(Object receiver) |
void |
dumpContributionMarkup() |
String |
getNamespace() |
List<Property<RECEIVER>> |
getProperties() |
Property<RECEIVER> |
getProperty(String name) |
Class<RECEIVER> |
getReceiverType() |
protected String |
getReceiverTypeName() |
boolean |
test(Object receiver,
String propertyName,
Object[] args,
Object expectedValue) |
handles, instantiate, internalCreateDescriptor, internalInitialize, isDeclaringPluginActive, isInstantiated
public DefaultPropertyTester(String namespace, IProperties<RECEIVER> properties)
public final String getNamespace()
public Class<RECEIVER> getReceiverType()
getReceiverType
in interface IProperties<RECEIVER>
public Property<RECEIVER> getProperty(String name)
getProperty
in interface IProperties<RECEIVER>
public List<Property<RECEIVER>> getProperties()
getProperties
in interface IPropertyProvider<RECEIVER>
public void add(Property<RECEIVER> property)
add
in interface IProperties<RECEIVER>
public boolean test(Object receiver, String propertyName, Object[] args, Object expectedValue)
test
in interface IPropertyTester
protected String getReceiverTypeName()
public void dumpContributionMarkup()
Copyright (c) 2014 Eike Stepper (Berlin, 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