diff options
Diffstat (limited to 'wizards/com/sun')
30 files changed, 78 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/common/PlaceholderTextElement.java b/wizards/com/sun/star/wizards/common/PlaceholderTextElement.java index a6e69da9ef60..ea5a7617d276 100644 --- a/wizards/com/sun/star/wizards/common/PlaceholderTextElement.java +++ b/wizards/com/sun/star/wizards/common/PlaceholderTextElement.java @@ -50,6 +50,7 @@ public class PlaceholderTextElement extends TextElement xmsf = xmsf_; } + @Override public void write(Object textRange) { super.write(textRange); diff --git a/wizards/com/sun/star/wizards/common/TextElement.java b/wizards/com/sun/star/wizards/common/TextElement.java index 383089172145..0a07f2c0216f 100644 --- a/wizards/com/sun/star/wizards/common/TextElement.java +++ b/wizards/com/sun/star/wizards/common/TextElement.java @@ -39,6 +39,7 @@ public class TextElement extends ParaStyled text = text_; } + @Override public void write(Object textRange) { UnoRuntime.queryInterface(XTextRange.class, textRange).setString(text); diff --git a/wizards/com/sun/star/wizards/db/RecordParser.java b/wizards/com/sun/star/wizards/db/RecordParser.java index bbe917b59094..1887751af855 100644 --- a/wizards/com/sun/star/wizards/db/RecordParser.java +++ b/wizards/com/sun/star/wizards/db/RecordParser.java @@ -285,6 +285,7 @@ public class RecordParser extends QueryMetaData return true; } + @Override public void dispose() { if (xRowSetComponent != null) diff --git a/wizards/com/sun/star/wizards/db/TableDescriptor.java b/wizards/com/sun/star/wizards/db/TableDescriptor.java index 2d34c4fe504c..b7215cc85b0d 100644 --- a/wizards/com/sun/star/wizards/db/TableDescriptor.java +++ b/wizards/com/sun/star/wizards/db/TableDescriptor.java @@ -100,6 +100,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } } + @Override public boolean getConnection(PropertyValue[] _curPropertyValue) { if (super.getConnection(_curPropertyValue)) diff --git a/wizards/com/sun/star/wizards/document/TimeStampControl.java b/wizards/com/sun/star/wizards/document/TimeStampControl.java index 476c6bfdfd3d..00e0bb28f326 100644 --- a/wizards/com/sun/star/wizards/document/TimeStampControl.java +++ b/wizards/com/sun/star/wizards/document/TimeStampControl.java @@ -99,17 +99,20 @@ public class TimeStampControl extends DatabaseControl oTimeControl = new DatabaseControl(_oGridControl, _curfieldcolumn, DataType.TIME, _curfieldcolumn.getFieldTitle() + PropertyNames.SPACE + sTimeAppendix); } + @Override public void setPropertyValue(String _sPropertyName, Object _aPropertyValue) throws Exception { oDateControl.setPropertyValue(_sPropertyName, _aPropertyValue); oTimeControl.setPropertyValue(_sPropertyName, _aPropertyValue); } + @Override public int getPreferredWidth() { return nDBWidth; } + @Override public void setSize(Size _aSize) { try @@ -125,17 +128,20 @@ public class TimeStampControl extends DatabaseControl } } + @Override public Size getSize() { int ncontrolwidth = oDateControl.xShape.getSize().Width + oTimeControl.xShape.getSize().Width; return new Size(ncontrolwidth, oDateControl.xShape.getSize().Height); } + @Override public Point getPosition() { return xShapeGroup.getPosition(); } + @Override public void setPosition(Point _aPoint) { // --> TESTING @@ -145,6 +151,7 @@ public class TimeStampControl extends DatabaseControl Point aAfterPt = xShapeGroup.getPosition(); } + @Override public int getControlType() { return FormHandler.SODATETIMECONTROL; diff --git a/wizards/com/sun/star/wizards/form/CallFormWizard.java b/wizards/com/sun/star/wizards/form/CallFormWizard.java index 4445937f1506..4bec58437111 100644 --- a/wizards/com/sun/star/wizards/form/CallFormWizard.java +++ b/wizards/com/sun/star/wizards/form/CallFormWizard.java @@ -128,6 +128,7 @@ public class CallFormWizard return (booleanSupportsService); } + @Override public byte[] getImplementationId() { return new byte[0]; @@ -146,6 +147,7 @@ public class CallFormWizard * @return Sequence of all types (usually interface types) provided by the * service. */ + @Override public Type[] getTypes() { Type[] typeReturn = diff --git a/wizards/com/sun/star/wizards/form/FieldLinker.java b/wizards/com/sun/star/wizards/form/FieldLinker.java index 7ebf56607fcb..2dd3ab33c09a 100644 --- a/wizards/com/sun/star/wizards/form/FieldLinker.java +++ b/wizards/com/sun/star/wizards/form/FieldLinker.java @@ -48,6 +48,7 @@ public class FieldLinker extends DBLimitedFieldSelection super(_CurUnoDialog, iStep, iCompPosX, iCompPosY, iCompWidth, _firsthelpid); } + @Override protected void insertControlGroup(int i) { try @@ -154,6 +155,7 @@ public class FieldLinker extends DBLimitedFieldSelection } } + @Override protected void enableNextControlRow(int curindex) { boolean bSlaveField = lstSlaveFields[curindex].getSelectedItemPos() > 0; @@ -169,6 +171,7 @@ public class FieldLinker extends DBLimitedFieldSelection } } + @Override protected int getMaxSelIndex() { int MaxSelIndex = -1; @@ -182,6 +185,7 @@ public class FieldLinker extends DBLimitedFieldSelection return MaxSelIndex; } + @Override protected void toggleControlRow(int i, boolean bDoEnable) { if (i < rowcount) @@ -198,6 +202,7 @@ public class FieldLinker extends DBLimitedFieldSelection } } + @Override protected void updateFromNextControlRow(int curindex) { short iNextMasterItemPos = lstMasterFields[curindex + 1].getSelectedItemPos(); diff --git a/wizards/com/sun/star/wizards/form/FormWizard.java b/wizards/com/sun/star/wizards/form/FormWizard.java index 5d2407213d73..edcb8c3e3550 100644 --- a/wizards/com/sun/star/wizards/form/FormWizard.java +++ b/wizards/com/sun/star/wizards/form/FormWizard.java @@ -90,6 +90,7 @@ public class FormWizard extends DatabaseObjectWizard } // @Override + @Override protected void enterStep(int nOldStep, int nNewStep) { try @@ -164,6 +165,7 @@ public class FormWizard extends DatabaseObjectWizard } // @Override + @Override protected void leaveStep(int nOldStep, int nNewStep) { switch (nOldStep) @@ -279,6 +281,7 @@ public class FormWizard extends DatabaseObjectWizard } // @Override + @Override public boolean finishWizard() { int ncurStep = getCurrentStep(); @@ -311,6 +314,7 @@ public class FormWizard extends DatabaseObjectWizard } // @Override + @Override public void cancelWizard() { m_success = false; diff --git a/wizards/com/sun/star/wizards/query/QueryWizard.java b/wizards/com/sun/star/wizards/query/QueryWizard.java index 2ab4b9217fe5..cd51e78de6ea 100644 --- a/wizards/com/sun/star/wizards/query/QueryWizard.java +++ b/wizards/com/sun/star/wizards/query/QueryWizard.java @@ -254,6 +254,7 @@ public class QueryWizard extends DatabaseObjectWizard } } + @Override public boolean finishWizard() { int ncurStep = getCurrentStep(); @@ -271,6 +272,7 @@ public class QueryWizard extends DatabaseObjectWizard return false; } + @Override protected void enterStep(int nOldStep, int nNewStep) { try @@ -318,6 +320,7 @@ public class QueryWizard extends DatabaseObjectWizard } } + @Override protected void leaveStep(int nOldStep, int nNewStep) { switch (nOldStep) diff --git a/wizards/com/sun/star/wizards/report/CallReportWizard.java b/wizards/com/sun/star/wizards/report/CallReportWizard.java index 9ac3ac3f324d..91da0b0846bb 100644 --- a/wizards/com/sun/star/wizards/report/CallReportWizard.java +++ b/wizards/com/sun/star/wizards/report/CallReportWizard.java @@ -160,6 +160,7 @@ public class CallReportWizard return (booleanSupportsService); } + @Override public byte[] getImplementationId() { return new byte[0]; @@ -178,6 +179,7 @@ public class CallReportWizard * @return Sequence of all types (usually interface types) provided by the * service. */ + @Override public Type[] getTypes() { Type[] typeReturn = diff --git a/wizards/com/sun/star/wizards/report/GroupFieldHandler.java b/wizards/com/sun/star/wizards/report/GroupFieldHandler.java index d6185880a9cd..31c68ed2aa24 100644 --- a/wizards/com/sun/star/wizards/report/GroupFieldHandler.java +++ b/wizards/com/sun/star/wizards/report/GroupFieldHandler.java @@ -115,6 +115,7 @@ public class GroupFieldHandler extends FieldSelection CurDBMetaData.GroupFieldNames = GroupFieldNames; } // @Override + @Override protected void toggleListboxButtons(short iFieldsSelIndex, short iSelFieldsSelIndex) { super.toggleListboxButtons(iFieldsSelIndex, iSelFieldsSelIndex); @@ -125,6 +126,7 @@ public class GroupFieldHandler extends FieldSelection } } + @Override public void selectFields(boolean bMoveAll) { int iSelCount = xSelectedFieldsListBox.getItemCount(); diff --git a/wizards/com/sun/star/wizards/report/ReportWizard.java b/wizards/com/sun/star/wizards/report/ReportWizard.java index 89d757107142..e76f93c0cf50 100644 --- a/wizards/com/sun/star/wizards/report/ReportWizard.java +++ b/wizards/com/sun/star/wizards/report/ReportWizard.java @@ -119,6 +119,7 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener } } + @Override protected void enterStep(int nOldStep, int nNewStep) { if ((nOldStep >= SOTEMPLATEPAGE) && (nNewStep < SOTEMPLATEPAGE)) @@ -162,6 +163,7 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener } } + @Override protected void leaveStep(int nOldStep, int nNewStep) { @@ -331,6 +333,7 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener enableNavigationButtons(false, false, false); } + @Override public boolean finishWizard() { final int ncurStep = getCurrentStep(); @@ -350,6 +353,7 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener return false; } + @Override public void cancelWizard() { xDialog.endExecute(); @@ -611,10 +615,12 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener } } + @Override public void disposing(EventObject EventObject) { } + @Override public void setmodified(int _ndialogpage, Object ooldValue, Object onewValue) { switch (_ndialogpage) diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java index ac166083dd9b..d553d24d7600 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java @@ -41,6 +41,7 @@ public class ColumnarSingleColumn extends ReportBuilderLayouter return getResource().getResText(UIConsts.RID_REPORT + 81); } + @Override protected void insertDetailFields() { copyDetailProperties(); @@ -82,6 +83,7 @@ public class ColumnarSingleColumn extends ReportBuilderLayouter doNotBreakInTable(xSection); } + @Override protected void insertDetailFieldTitles(int lastGroupPostion) { // we won't extra field titles diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java index 82281f548be4..e12d87087ada 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java @@ -29,16 +29,19 @@ public class ColumnarThreeColumns extends ColumnarTwoColumns super(_xDefinitionAccess, _aResource); } + @Override public String getName() { return "ColumnarThreeColumnsLayoutOfData"; } + @Override public String getLocalizedName() { return getResource().getResText(UIConsts.RID_REPORT + 83); } + @Override protected void insertDetailFields() { insertDetailFields(3); diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java index e75eefc21359..2d5b618e7abd 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java @@ -41,6 +41,7 @@ public class ColumnarTwoColumns extends ReportBuilderLayouter return getResource().getResText(UIConsts.RID_REPORT + 82); } + @Override protected void insertDetailFields() { insertDetailFields(2); @@ -114,6 +115,7 @@ public class ColumnarTwoColumns extends ReportBuilderLayouter doNotBreakInTable(xSection); } + @Override protected void insertDetailFieldTitles(int lastGroupPostion) { // we won't extra field titles diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java b/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java index 00319ce2f856..46d8f7bc62e5 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java @@ -31,16 +31,19 @@ public class InBlocksLabelsAbove extends ColumnarTwoColumns super(_xDefinitionAccess, _aResource); } + @Override public String getName() { return "InBlocksLabelsAboveLayoutOfData"; } + @Override public String getLocalizedName() { return getResource().getResText(UIConsts.RID_REPORT + 85); } + @Override protected void insertDetailFields() { copyDetailProperties(); @@ -137,6 +140,7 @@ public class InBlocksLabelsAbove extends ColumnarTwoColumns doNotBreakInTable(xSection); } + @Override protected void insertDetailFieldTitles(int lastGroupPostion) { // we won't extra field titles diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java b/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java index f7fef368ab02..5fea096e9989 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java @@ -32,16 +32,19 @@ public class InBlocksLabelsLeft extends ColumnarTwoColumns super(_xDefinitionAccess, _aResource); } + @Override public String getName() { return "InBlocksLabelsLeftLayoutOfData"; } + @Override public String getLocalizedName() { return getResource().getResText(UIConsts.RID_REPORT + 84); } + @Override protected void insertDetailFields() { copyDetailProperties(); @@ -108,6 +111,7 @@ public class InBlocksLabelsLeft extends ColumnarTwoColumns doNotBreakInTable(xSection); } + @Override protected void insertDetailFieldTitles(int lastGroupPostion) { // we won't extra field titles diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java index 27c30f85feb5..f8f03c4c0483 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java @@ -32,6 +32,7 @@ public class SectionEmptyObject extends SectionObject return new SectionEmptyObject(); } + @Override public FontDescriptor getFontDescriptor() { return null; diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java index 5a1c0e24790e..5eecc8e4ec97 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java @@ -37,6 +37,7 @@ public class SectionLabel extends SectionObject * Return the current FontDescriptor * @return */ + @Override public FontDescriptor getFontDescriptor() { FontDescriptor a = null; diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java index fae7d9a2fe37..749df02b1e7d 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java @@ -34,6 +34,7 @@ public class SectionTextField extends SectionObject return new SectionTextField(_aFormattedField); } + @Override public FontDescriptor getFontDescriptor() { FontDescriptor a = null; diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java b/wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java index fe9f4db8f6e6..ed676f1aa3c6 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java @@ -44,6 +44,7 @@ public class Tabular extends ReportBuilderLayouter return getResource().getResText(UIConsts.RID_REPORT + 80); } + @Override protected void insertDetailFields() { copyDetailProperties(); @@ -76,6 +77,7 @@ public class Tabular extends ReportBuilderLayouter xSection.setHeight(nHeight); } + @Override protected void insertDetailFieldTitles(int lastGroupPostion) { final String[] aFieldTitleNames = getFieldTitleNames(); diff --git a/wizards/com/sun/star/wizards/table/CallTableWizard.java b/wizards/com/sun/star/wizards/table/CallTableWizard.java index 0674ff72d301..8ee247b6255b 100644 --- a/wizards/com/sun/star/wizards/table/CallTableWizard.java +++ b/wizards/com/sun/star/wizards/table/CallTableWizard.java @@ -135,6 +135,7 @@ public class CallTableWizard return (booleanSupportsService); } + @Override public byte[] getImplementationId() { return new byte[0]; @@ -153,6 +154,7 @@ public class CallTableWizard * @return Sequence of all types (usually interface types) provided by the * service. */ + @Override public Type[] getTypes() { Type[] typeReturn = diff --git a/wizards/com/sun/star/wizards/table/ScenarioSelector.java b/wizards/com/sun/star/wizards/table/ScenarioSelector.java index 5c20f78275ae..67cd319b6031 100644 --- a/wizards/com/sun/star/wizards/table/ScenarioSelector.java +++ b/wizards/com/sun/star/wizards/table/ScenarioSelector.java @@ -190,6 +190,7 @@ public class ScenarioSelector extends FieldSelection implements XItemListener, X super.initialize(oCGTable.getFieldNames(bcolumnnameislimited, imaxcolumnchars), true); } + @Override public String[] getSelectedFieldNames() { String[] displayfieldnames = super.getSelectedFieldNames(); diff --git a/wizards/com/sun/star/wizards/table/TableWizard.java b/wizards/com/sun/star/wizards/table/TableWizard.java index f3e74be9abf2..8ee556da7e22 100644 --- a/wizards/com/sun/star/wizards/table/TableWizard.java +++ b/wizards/com/sun/star/wizards/table/TableWizard.java @@ -85,6 +85,7 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener } } + @Override protected void leaveStep(int nOldStep, int nNewStep) { switch (nOldStep) @@ -107,6 +108,7 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener } } + @Override protected void enterStep(int nOldStep, int nNewStep) { switch (nNewStep) @@ -131,6 +133,7 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener /* (non-Javadoc) * @see com.sun.star.wizards.ui.XCompletion#iscompleted(int) */ + @Override public boolean iscompleted(int _ndialogpage) { switch (_ndialogpage) @@ -155,6 +158,7 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener /* (non-Javadoc) * @see com.sun.star.wizards.ui.XCompletion#setcompleted(int, boolean) */ + @Override public void setcompleted(int _ndialogpage, boolean _biscompleted) { boolean bScenarioiscompleted = _biscompleted; @@ -276,6 +280,7 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener return bIsSuccessfull; } + @Override public boolean finishWizard() { super.switchToStep(super.getCurrentStep(), SOFINALPAGE); @@ -332,6 +337,7 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener } } + @Override public void cancelWizard() { xDialog.endExecute(); diff --git a/wizards/com/sun/star/wizards/ui/AggregateComponent.java b/wizards/com/sun/star/wizards/ui/AggregateComponent.java index 5ce45963b124..c49f21784a1b 100644 --- a/wizards/com/sun/star/wizards/ui/AggregateComponent.java +++ b/wizards/com/sun/star/wizards/ui/AggregateComponent.java @@ -198,6 +198,7 @@ public class AggregateComponent extends ControlScroller return Count; } + @Override protected void insertControlGroup(int i, int ypos) { if (i == 0) @@ -220,6 +221,7 @@ public class AggregateComponent extends ControlScroller ControlRowVector.add(oControlRow); } + @Override protected void setControlGroupVisible(int _index, boolean _bIsVisible) { ControlRow oControlRow = ControlRowVector.get(_index); @@ -434,6 +436,7 @@ public class AggregateComponent extends ControlScroller CurUnoDialog.repaintDialogStep(); } + @Override protected void initializeScrollFields() { ControlRow curControlRow; diff --git a/wizards/com/sun/star/wizards/ui/TitlesComponent.java b/wizards/com/sun/star/wizards/ui/TitlesComponent.java index 6a0d9573aea4..03e3c5339974 100644 --- a/wizards/com/sun/star/wizards/ui/TitlesComponent.java +++ b/wizards/com/sun/star/wizards/ui/TitlesComponent.java @@ -57,6 +57,7 @@ public class TitlesComponent extends ControlScroller }); } + @Override protected void insertControlGroup(int i, int ypos) { iLabelPosX = iCompPosX + iRelLabelPosXDist; @@ -65,6 +66,7 @@ public class TitlesComponent extends ControlScroller } + @Override protected void setControlGroupVisible(int _index, boolean _bIsVisible) { CurUnoDialog.setControlVisible(getColumnName(_index), _bIsVisible); @@ -127,6 +129,7 @@ public class TitlesComponent extends ControlScroller return SOTITLEPREFIX + Integer.toString(_index + 1); } + @Override protected void initializeScrollFields() { for (int i = 0; i < fieldnames.length; i++) diff --git a/wizards/com/sun/star/wizards/ui/WizardDialog.java b/wizards/com/sun/star/wizards/ui/WizardDialog.java index 6ed54d9f2e4c..1f5454c93cce 100644 --- a/wizards/com/sun/star/wizards/ui/WizardDialog.java +++ b/wizards/com/sun/star/wizards/ui/WizardDialog.java @@ -91,6 +91,7 @@ public abstract class WizardDialog extends UnoDialog2 implements VetoableChangeL * * @return */ + @Override public Resource getResource() { return oWizardResource; diff --git a/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java b/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java index 35505ad3ed14..583ff5b8c8d5 100644 --- a/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java +++ b/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java @@ -39,6 +39,7 @@ public class RadioDataAware extends DataAware /* (non-Javadoc) * @see com.sun.star.wizards.ui.DataAware#setToUI(java.lang.Object) */ + @Override protected void setToUI(Object value) { int selected = ((Number) value).intValue(); @@ -58,6 +59,7 @@ public class RadioDataAware extends DataAware /* (non-Javadoc) * @see com.sun.star.wizards.ui.DataAware#getFromUI() */ + @Override protected Object getFromUI() { for (int i = 0; i < radioButtons.length; i++) diff --git a/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java b/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java index 96d8451de81b..6767682a176d 100644 --- a/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java +++ b/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java @@ -38,6 +38,7 @@ public class SimpleDataAware extends DataAware UIHelper.setEnabled(disableObjects[i],b); } */ + @Override protected void setToUI(Object value) { controlValue.set(value, control); @@ -68,6 +69,7 @@ public class SimpleDataAware extends DataAware disableObjects = controls; } */ + @Override protected Object getFromUI() { return controlValue.get(control); diff --git a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java index bf0be61d806b..f1c176fdb751 100644 --- a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java +++ b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java @@ -54,6 +54,7 @@ public class UnoDataAware extends DataAware inverse = i; } + @Override protected void enableControls(Object value) { Boolean b = getBoolean(value); @@ -67,6 +68,7 @@ public class UnoDataAware extends DataAware } } + @Override protected void setToUI(Object value) { Helper.setUnoPropertyValue(unoModel, unoPropName, value); @@ -115,6 +117,7 @@ public class UnoDataAware extends DataAware disableObjects = controls; } + @Override protected Object getFromUI() { return Helper.getUnoPropertyValue(unoModel, unoPropName); |