Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2011-02-16 10:44:46 -0500
committerkmoore2011-02-16 10:44:46 -0500
commit2eb0a77cbdac3f88a438030ef308ee9779f68541 (patch)
treea4ed169f40c825f86d4b147eb02f2f510db2d46f /common/tests/org.eclipse.jpt.common.ui.tests
parentd58e99e5d4fa3388f26e0157e69f43bc3ccbbd96 (diff)
downloadwebtools.dali-2eb0a77cbdac3f88a438030ef308ee9779f68541.tar.gz
webtools.dali-2eb0a77cbdac3f88a438030ef308ee9779f68541.tar.xz
webtools.dali-2eb0a77cbdac3f88a438030ef308ee9779f68541.zip
cleaning up ItemLabelProviders
Diffstat (limited to 'common/tests/org.eclipse.jpt.common.ui.tests')
-rw-r--r--common/tests/org.eclipse.jpt.common.ui.tests/src/org/eclipse/jpt/common/ui/tests/internal/jface/DelegatingLabelProviderUiTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/tests/org.eclipse.jpt.common.ui.tests/src/org/eclipse/jpt/common/ui/tests/internal/jface/DelegatingLabelProviderUiTest.java b/common/tests/org.eclipse.jpt.common.ui.tests/src/org/eclipse/jpt/common/ui/tests/internal/jface/DelegatingLabelProviderUiTest.java
index 4b7cec0b14..223b8e64cd 100644
--- a/common/tests/org.eclipse.jpt.common.ui.tests/src/org/eclipse/jpt/common/ui/tests/internal/jface/DelegatingLabelProviderUiTest.java
+++ b/common/tests/org.eclipse.jpt.common.ui.tests/src/org/eclipse/jpt/common/ui/tests/internal/jface/DelegatingLabelProviderUiTest.java
@@ -382,7 +382,7 @@ public class DelegatingLabelProviderUiTest extends ApplicationWindow
@Override
protected PropertyValueModel<Image> buildImageModel() {
return new PropertyAspectAdapter<Vehicle, Image>(
- new StaticPropertyValueModel<Vehicle>((Vehicle) model()),
+ new StaticPropertyValueModel<Vehicle>((Vehicle) getModel()),
Vehicle.COLOR_PROPERTY, Vehicle.GREYED_PROPERTY, Vehicle.TRANSLUCENT_PROPERTY) {
@Override
protected Image buildValue_() {
@@ -394,7 +394,7 @@ public class DelegatingLabelProviderUiTest extends ApplicationWindow
@Override
protected PropertyValueModel<String> buildTextModel() {
return new PropertyAspectAdapter<Vehicle, String>(
- new StaticPropertyValueModel<Vehicle>((Vehicle) model()),
+ new StaticPropertyValueModel<Vehicle>((Vehicle) getModel()),
Vehicle.VEHICLE_TYPE_PROPERTY, Vehicle.COLOR_PROPERTY) {
@Override
protected String buildValue_() {

Back to the top