Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Vosburgh2016-07-27 19:12:58 +0000
committerBrian Vosburgh2017-05-18 22:38:22 +0000
commitfe095f69f00c570f266a5d7d418356b892d2e488 (patch)
treef2c412b82451b7ad505ae95ca8704dc6beef3eb6
parentbac7b6fc927794b7912f14722db96c19ef89e454 (diff)
downloadwebtools.dali-fe095f69f00c570f266a5d7d418356b892d2e488.tar.gz
webtools.dali-fe095f69f00c570f266a5d7d418356b892d2e488.tar.xz
webtools.dali-fe095f69f00c570f266a5d7d418356b892d2e488.zip
rename PropertyPluggablePropertyValueModelAdapter to
TransformationPluggablePropertyValueModelAdapter
-rw-r--r--common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/PropertyValueModelTools.java16
-rw-r--r--common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/TransformationPluggablePropertyValueModelAdapter.java (renamed from common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/PropertyPluggablePropertyValueModelAdapter.java)8
-rw-r--r--common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/swing/RadioButtonModelAdapter.java2
3 files changed, 13 insertions, 13 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/PropertyValueModelTools.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/PropertyValueModelTools.java
index 1a50efd17f..f95fe94520 100644
--- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/PropertyValueModelTools.java
+++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/PropertyValueModelTools.java
@@ -561,7 +561,7 @@ public final class PropertyValueModelTools {
PropertyValueModel<? extends V1> propertyModel,
Transformer<? super V1, ? extends V2> transformer
) {
- return propertyValueModel(pluggablePropertyValueModelAdapterFactory(propertyModel, transformer));
+ return propertyValueModel(transformationPluggablePropertyValueModelAdapterFactory(propertyModel, transformer));
}
/**
@@ -577,7 +577,7 @@ public final class PropertyValueModelTools {
PropertyValueModel<? extends V1> propertyModel,
Transformer<? super V1, ? extends V2> transformer
) {
- return propertyValueModel(pluggablePropertyValueModelAdapterFactory_(propertyModel, transformer));
+ return propertyValueModel(transformationPluggablePropertyValueModelAdapterFactory_(propertyModel, transformer));
}
/**
@@ -630,7 +630,7 @@ public final class PropertyValueModelTools {
Transformer<? super V1, ? extends V2> transformer,
Closure<? super V2> setValueClosure
) {
- return pluggableModifiablePropertyValueModel(pluggablePropertyValueModelAdapterFactory(propertyModel, transformer), setValueClosure);
+ return pluggableModifiablePropertyValueModel(transformationPluggablePropertyValueModelAdapterFactory(propertyModel, transformer), setValueClosure);
}
/**
@@ -647,7 +647,7 @@ public final class PropertyValueModelTools {
Transformer<? super V1, ? extends V2> transformer,
Closure<? super V2> setValueClosure
) {
- return pluggableModifiablePropertyValueModel(pluggablePropertyValueModelAdapterFactory_(propertyModel, transformer), setValueClosure);
+ return pluggableModifiablePropertyValueModel(transformationPluggablePropertyValueModelAdapterFactory_(propertyModel, transformer), setValueClosure);
}
/**
@@ -659,11 +659,11 @@ public final class PropertyValueModelTools {
*
* @see PluggablePropertyValueModel
*/
- public static <V1, V2> PluggablePropertyValueModel.Adapter.Factory<V2> pluggablePropertyValueModelAdapterFactory(
+ public static <V1, V2> PluggablePropertyValueModel.Adapter.Factory<V2> transformationPluggablePropertyValueModelAdapterFactory(
PropertyValueModel<? extends V1> propertyModel,
Transformer<? super V1, ? extends V2> transformer
) {
- return pluggablePropertyValueModelAdapterFactory_(propertyModel, TransformerTools.nullCheck(transformer));
+ return transformationPluggablePropertyValueModelAdapterFactory_(propertyModel, TransformerTools.nullCheck(transformer));
}
/**
@@ -674,11 +674,11 @@ public final class PropertyValueModelTools {
*
* @see PluggablePropertyValueModel
*/
- public static <V1, V2> PluggablePropertyValueModel.Adapter.Factory<V2> pluggablePropertyValueModelAdapterFactory_(
+ public static <V1, V2> PluggablePropertyValueModel.Adapter.Factory<V2> transformationPluggablePropertyValueModelAdapterFactory_(
PropertyValueModel<? extends V1> propertyModel,
Transformer<? super V1, ? extends V2> transformer
) {
- return new PropertyPluggablePropertyValueModelAdapter.Factory<>(propertyModel, transformer);
+ return new TransformationPluggablePropertyValueModelAdapter.Factory<>(propertyModel, transformer);
}
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/PropertyPluggablePropertyValueModelAdapter.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/TransformationPluggablePropertyValueModelAdapter.java
index e09258e8c3..dd69107a2e 100644
--- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/PropertyPluggablePropertyValueModelAdapter.java
+++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/TransformationPluggablePropertyValueModelAdapter.java
@@ -30,7 +30,7 @@ import org.eclipse.jpt.common.utility.transformer.Transformer;
*
* @see PluggablePropertyValueModel
*/
-public final class PropertyPluggablePropertyValueModelAdapter<V1, V2>
+public final class TransformationPluggablePropertyValueModelAdapter<V1, V2>
implements PluggablePropertyValueModel.Adapter<V2>, PropertyChangeListener
{
/** The wrapped model */
@@ -48,7 +48,7 @@ public final class PropertyPluggablePropertyValueModelAdapter<V1, V2>
// ********** constructors **********
- public PropertyPluggablePropertyValueModelAdapter(Factory<V1, V2> factory, BasePluggablePropertyValueModel.Adapter.Listener<V2> listener) {
+ public TransformationPluggablePropertyValueModelAdapter(Factory<V1, V2> factory, BasePluggablePropertyValueModel.Adapter.Listener<V2> listener) {
super();
if (factory == null) {
throw new NullPointerException();
@@ -122,8 +122,8 @@ public final class PropertyPluggablePropertyValueModelAdapter<V1, V2>
this.transformer = transformer;
}
- public PropertyPluggablePropertyValueModelAdapter<V1, V2> buildAdapter(BasePluggablePropertyValueModel.Adapter.Listener<V2> listener) {
- return new PropertyPluggablePropertyValueModelAdapter<>(this, listener);
+ public TransformationPluggablePropertyValueModelAdapter<V1, V2> buildAdapter(BasePluggablePropertyValueModel.Adapter.Listener<V2> listener) {
+ return new TransformationPluggablePropertyValueModelAdapter<>(this, listener);
}
@Override
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/swing/RadioButtonModelAdapter.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/swing/RadioButtonModelAdapter.java
index 2e4c9ec29f..01e51aed1c 100644
--- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/swing/RadioButtonModelAdapter.java
+++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/swing/RadioButtonModelAdapter.java
@@ -128,7 +128,7 @@ public class RadioButtonModelAdapter<V>
}
private static <V> PluggablePropertyValueModel.Adapter.Factory<Boolean> buildAdapterFactory(PropertyValueModel<V> sharedValueModel, V buttonValue) {
- return PropertyValueModelTools.pluggablePropertyValueModelAdapterFactory_(sharedValueModel, new GetTransformer<>(buttonValue));
+ return PropertyValueModelTools.transformationPluggablePropertyValueModelAdapterFactory_(sharedValueModel, new GetTransformer<>(buttonValue));
}
public void setValue(Boolean value) {

Back to the top