diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2011-02-01 11:12:15 +0100 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2011-02-01 11:12:15 +0100 |
commit | c395e5608ce118f4296083632d6662f278f0b8fc (patch) | |
tree | 9a46701e22501285f2decd6eef0b2ca327d88c25 /wizards/com/sun/star/wizards/web/WWD_Events.java | |
parent | f4731b6f2e2a0192aa2858a95f8c7d676b1e20ea (diff) | |
parent | 94ee4db6592539ff60bdf25a06fb5faaacfa8370 (diff) |
CWS-TOOLING: integrate CWS dba34b
Notes
split repo tag: components_ooo/DEV300_m99
Diffstat (limited to 'wizards/com/sun/star/wizards/web/WWD_Events.java')
-rw-r--r-- | wizards/com/sun/star/wizards/web/WWD_Events.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/web/WWD_Events.java b/wizards/com/sun/star/wizards/web/WWD_Events.java index 6e8d0f2e614e..26f518c4e6c8 100644 --- a/wizards/com/sun/star/wizards/web/WWD_Events.java +++ b/wizards/com/sun/star/wizards/web/WWD_Events.java @@ -42,6 +42,7 @@ import com.sun.star.wizards.common.FileAccess; import com.sun.star.wizards.common.Helper; import com.sun.star.wizards.common.JavaTools; import com.sun.star.wizards.common.SystemDialog; +import com.sun.star.wizards.common.PropertyNames; import com.sun.star.wizards.ui.UnoDialog; import com.sun.star.wizards.ui.event.DataAware; import com.sun.star.wizards.ui.event.ListModelBinder; @@ -251,7 +252,7 @@ public abstract class WWD_Events extends WWD_Startup } if (nextSelected[0] == 0) { - Helper.setUnoPropertyValue(getModel(btnDelSession), "Enabled", Boolean.FALSE); // select... + Helper.setUnoPropertyValue(getModel(btnDelSession), PropertyNames.PROPERTY_ENABLED, Boolean.FALSE); // select... } Helper.setUnoPropertyValue(getModel(lstLoadSettings), "SelectedItems", nextSelected); @@ -1116,7 +1117,7 @@ public abstract class WWD_Events extends WWD_Startup } else if (ke.KeyChar == '%' && ((System.currentTimeMillis() - time) < 300)) { - Boolean b = (Boolean) getControlProperty("btnWizardFinish", "Enabled"); + Boolean b = (Boolean) getControlProperty("btnWizardFinish", PropertyNames.PROPERTY_ENABLED); if (b.booleanValue()) { finishWizard(false); |