diff options
Diffstat (limited to 'wizards/com/sun/star/wizards/ui')
33 files changed, 100 insertions, 100 deletions
diff --git a/wizards/com/sun/star/wizards/ui/AggregateComponent.java b/wizards/com/sun/star/wizards/ui/AggregateComponent.java index 55a6b35dc7e9..55ae228032a1 100644 --- a/wizards/com/sun/star/wizards/ui/AggregateComponent.java +++ b/wizards/com/sun/star/wizards/ui/AggregateComponent.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -357,7 +357,7 @@ public class AggregateComponent extends ControlScroller ControlRow oControlRow = (ControlRow) ControlRowVector.elementAt(i); // if (i == _index) // oControlRow.settovoid(); -// else +// else oControlRow.setVisible(false); } } diff --git a/wizards/com/sun/star/wizards/ui/ButtonList.java b/wizards/com/sun/star/wizards/ui/ButtonList.java index 634261145079..e14a06b4ee0a 100644 --- a/wizards/com/sun/star/wizards/ui/ButtonList.java +++ b/wizards/com/sun/star/wizards/ui/ButtonList.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -93,7 +93,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener { m_aControlName = _sName; } - + /** Setter for property m_aButtonSize. * @param imageSize New value of property m_aButtonSize. */ @@ -354,7 +354,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener } /** - * + * * @param i * @return the Object in the list model corresponding to the given image index. */ @@ -372,7 +372,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener } /** - * + * * @param i * @return the index in the listModel for the given image index. */ @@ -451,7 +451,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener */ private void fireItemSelected() { -// java.awt.event.ItemEvent event = new java.awt.event.ItemEvent(this, 0, +// java.awt.event.ItemEvent event = new java.awt.event.ItemEvent(this, 0, // getSelectedObject(), java.awt.event.ItemEvent.SELECTED); java.util.ArrayList list; synchronized(this) @@ -755,9 +755,9 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener { /** - * + * * @param listItem - * @return two resource ids for an image referenced in the imaglist resourcefile of the + * @return two resource ids for an image referenced in the imaglist resourcefile of the * wizards project; The second one of them is designed to be used for High Contrast Mode. */ public Object[] getImageUrls(Object listItem); diff --git a/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java b/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java index ddca1039706a..5bb10f184d86 100644 --- a/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java +++ b/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -278,7 +278,7 @@ public class CommandFieldSelection extends FieldSelection implements Comparator } /** returns the selected entry index in the commandListbox - * + * * @return * @throws com.sun.star.wizards.common.TerminateWizardException */ diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.java b/wizards/com/sun/star/wizards/ui/ControlScroller.java index f42fe81134a9..037ad93fff1d 100644 --- a/wizards/com/sun/star/wizards/ui/ControlScroller.java +++ b/wizards/com/sun/star/wizards/ui/ControlScroller.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -389,7 +389,7 @@ public abstract class ControlScroller * the control in guiRow and column * @param guiRow 0 based row index * @param column 0 based column index - * @return the propertyValue object corresponding to + * @return the propertyValue object corresponding to * this control. */ protected PropertyValue fieldInfo(int guiRow, int column) @@ -496,7 +496,7 @@ public abstract class ControlScroller protected abstract void initializeScrollFields(); - /** inserts a group of controls into the component. The group may either be a row or a column of controls + /** inserts a group of controls into the component. The group may either be a row or a column of controls * The controls should be put on Step 99 (means made invisible at first). All the controlrows that are needed are than * made visible automatically when calling "initialize(_fieldcount)" * @author bc93774 diff --git a/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java b/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java index 341ab73828c5..0bd88031781d 100644 --- a/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java +++ b/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/DocumentPreview.java b/wizards/com/sun/star/wizards/ui/DocumentPreview.java index 173fae87f01b..f077660d41ed 100644 --- a/wizards/com/sun/star/wizards/ui/DocumentPreview.java +++ b/wizards/com/sun/star/wizards/ui/DocumentPreview.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -67,7 +67,7 @@ public class DocumentPreview /********************************************************************* main - + - create new frame with window inside - load a component as preview into this frame */ @@ -138,7 +138,7 @@ public class DocumentPreview /********************************************************************* create a new frame with a new container window inside, which isnt part of the global frame tree. - + Attention: a) This frame wont be destroyed by the office. It must be closed by you! Do so - please call XCloseable::close(). diff --git a/wizards/com/sun/star/wizards/ui/FieldSelection.java b/wizards/com/sun/star/wizards/ui/FieldSelection.java index 803f85948721..021526622680 100644 --- a/wizards/com/sun/star/wizards/ui/FieldSelection.java +++ b/wizards/com/sun/star/wizards/ui/FieldSelection.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/FilterComponent.java b/wizards/com/sun/star/wizards/ui/FilterComponent.java index 50b855ab3693..8b75d0531e1c 100644 --- a/wizards/com/sun/star/wizards/ui/FilterComponent.java +++ b/wizards/com/sun/star/wizards/ui/FilterComponent.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -242,7 +242,7 @@ public class FilterComponent { final String serviceName = "com.sun.star.beans.PropertyBag"; final XPropertyContainer column = (XPropertyContainer) UnoRuntime.queryInterface(XPropertyContainer.class, oQueryMetaData.xMSF.createInstance(serviceName)); - + column.addProperty("Type", PropertyAttribute.BOUND, DataType.VARCHAR); column.addProperty("Name", PropertyAttribute.BOUND, ""); column.addProperty("Value", (short)( PropertyAttribute.MAYBEVOID | PropertyAttribute.REMOVABLE ), null ); @@ -388,7 +388,7 @@ public class FilterComponent * @param iWidth * @param FilterCount * @param _oQueryMetaData - * @param _firstHelpID + * @param _firstHelpID */ public FilterComponent(WizardDialog CurUnoDialog, XMultiServiceFactory _xMSF, int iStep, int iPosX, int iPosY, int iWidth, int FilterCount, QueryMetaData _oQueryMetaData, int _firstHelpID) { @@ -525,8 +525,8 @@ public class FilterComponent } // ------------------------------------------------------------------------- - // - // + // + // // ------------------------------------------------------------------------- final class ControlRow { @@ -719,7 +719,7 @@ public class FilterComponent /** * @returns true if the current condition is complete, all needed fields are filled with values. - * So we can enable the next. + * So we can enable the next. */ boolean isConditionComplete() { diff --git a/wizards/com/sun/star/wizards/ui/ImageList.java b/wizards/com/sun/star/wizards/ui/ImageList.java index dcd378369c5f..0fb4a4e93d4e 100644 --- a/wizards/com/sun/star/wizards/ui/ImageList.java +++ b/wizards/com/sun/star/wizards/ui/ImageList.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -190,7 +190,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener //XWindow win = (XWindow)UnoRuntime.queryInterface(XWindow.class,lblContainer); /*dialog.xWindow.addWindowListener(uiEventListener); String dName = (String)Helper.getUnoPropertyValue(dialog.xDialogModel,"Name"); - + uiEventListener.add(dName,EventNames.EVENT_WINDOW_SHOWN,"disableContainerMouseEvents",this); */ int selectionWidth = rowSelect ? @@ -502,7 +502,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener } /** - * + * * @param i * @return the Object in the list model corresponding to the given image index. */ @@ -520,7 +520,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener } /** - * + * * @param i * @return the index in the listModel for the given image index. */ @@ -598,7 +598,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener */ private void fireItemSelected() { -// java.awt.event.ItemEvent event = new java.awt.event.ItemEvent(this, 0, +// java.awt.event.ItemEvent event = new java.awt.event.ItemEvent(this, 0, // getSelectedObject(), java.awt.event.ItemEvent.SELECTED); java.util.ArrayList list; synchronized(this) @@ -878,15 +878,15 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener System.out.println("mouse enter"); int i = getImageFromEvent(event); //TODO what is when the image does not display an image? - if (getIndexFor(i) != selected) + if (getIndexFor(i) != selected) setBorder(m_aImages[i],imageBorderMO); } - + public void mouseExitImage(Object event) { //System.out.println("mouse exit"); int i = getImageFromEvent(event); //TODO what is when the image does not display an image? - if (getIndexFor(i) != selected) + if (getIndexFor(i) != selected) setBorder(m_aImages[i],imageBorder); } */ @@ -930,9 +930,9 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener { /** - * + * * @param listItem - * @return two resource ids for an image referenced in the imaglist resourcefile of the + * @return two resource ids for an image referenced in the imaglist resourcefile of the * wizards project; The second one of them is designed to be used for High Contrast Mode. */ public Object[] getImageUrls(Object listItem); diff --git a/wizards/com/sun/star/wizards/ui/PathSelection.java b/wizards/com/sun/star/wizards/ui/PathSelection.java index 4cb101382c6d..501e99d67171 100755 --- a/wizards/com/sun/star/wizards/ui/PathSelection.java +++ b/wizards/com/sun/star/wizards/ui/PathSelection.java @@ -2,7 +2,7 @@ ************************************************************************ * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/PeerConfig.java b/wizards/com/sun/star/wizards/ui/PeerConfig.java index d3871ee62a5b..3175d6475988 100644 --- a/wizards/com/sun/star/wizards/ui/PeerConfig.java +++ b/wizards/com/sun/star/wizards/ui/PeerConfig.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -160,9 +160,9 @@ public class PeerConfig implements XWindowListener } /** - * + * * @param oAPIControl an API control that the interface XControl can be derived from - * @param _saccessname + * @param _saccessname */ public void setAccessibleName(Object oAPIControl, String _saccessname) { @@ -188,10 +188,10 @@ public class PeerConfig implements XWindowListener } /** - * + * * @param oAPIControl an API control that the interface XControl can be derived from - * @param _propnames - * @param _propvalues + * @param _propnames + * @param _propvalues */ public void setPeerProperties(Object oAPIControl, String[] _propnames, Object[] _propvalues) { @@ -221,7 +221,7 @@ public class PeerConfig implements XWindowListener /** * Assigns an image to the property 'ImageUrl' of a dialog control. The image id must be assigned in a resource file * within the wizards project - * wizards project + * wizards project * @param _ocontrolmodel * @param _nResId * @param _nhcResId @@ -233,7 +233,7 @@ public class PeerConfig implements XWindowListener } /** - * Assigns an image to the property 'ImageUrl' of a dialog control. The image ids that the Resource urls point to + * Assigns an image to the property 'ImageUrl' of a dialog control. The image ids that the Resource urls point to * may be assigned in a Resource file outside the wizards project * @param _ocontrolmodel * @param _sResourceUrl @@ -248,10 +248,10 @@ public class PeerConfig implements XWindowListener /** * Assigns an image to the property 'ImageUrl' of a dialog control. The image id must be assigned in a resource file * within the wizards project - * wizards project + * wizards project * @param _ocontrolmodel * @param _oResource - * @param _oHCResource + * @param _oHCResource */ public void setImageUrl(Object _ocontrolmodel, Object _oResource, Object _oHCResource) { diff --git a/wizards/com/sun/star/wizards/ui/SortingComponent.java b/wizards/com/sun/star/wizards/ui/SortingComponent.java index 29b646d3e852..3e4b45c2c239 100644 --- a/wizards/com/sun/star/wizards/ui/SortingComponent.java +++ b/wizards/com/sun/star/wizards/ui/SortingComponent.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -130,7 +130,7 @@ public class SortingComponent }, new Object[] { new Boolean(bDoEnable), new Integer(10), HIDString, sSortDescend[i], IOptButtonPosX, new Integer(iCurPosY + 24), new Short((short) 0), IStep, new Short(curtabindex++), new String("DESC"), IOptButtonWidth - }); //, new Short((short) (19+i*4)) + }); //, new Short((short) (19+i*4)) iCurPosY = iCurPosY + 36; FirstHelpIndex += 3; } @@ -205,9 +205,9 @@ public class SortingComponent } /** - * sets the controls of a Sorting criterion to readonly or not. + * sets the controls of a Sorting criterion to readonly or not. * @param _index index of the Sorting criterion - * @param _breadonly + * @param _breadonly */ public void setReadOnly(int _index, boolean _breadonly) { @@ -215,7 +215,7 @@ public class SortingComponent } /** - * + * * @param _index the first Sorting criterion in which 'ReadOnly is set to 'false' * @param _bcomplete */ diff --git a/wizards/com/sun/star/wizards/ui/TitlesComponent.java b/wizards/com/sun/star/wizards/ui/TitlesComponent.java index d4091c964e14..f42dac35a046 100644 --- a/wizards/com/sun/star/wizards/ui/TitlesComponent.java +++ b/wizards/com/sun/star/wizards/ui/TitlesComponent.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/UnoDialog.java b/wizards/com/sun/star/wizards/ui/UnoDialog.java index 5a181b84c4b5..63b62bdb735d 100644 --- a/wizards/com/sun/star/wizards/ui/UnoDialog.java +++ b/wizards/com/sun/star/wizards/ui/UnoDialog.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/UnoDialog2.java b/wizards/com/sun/star/wizards/ui/UnoDialog2.java index 184a4a354b0c..61e63aee2450 100644 --- a/wizards/com/sun/star/wizards/ui/UnoDialog2.java +++ b/wizards/com/sun/star/wizards/ui/UnoDialog2.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/WizardDialog.java b/wizards/com/sun/star/wizards/ui/WizardDialog.java index f17c44b82aa5..5a8434148b89 100644 --- a/wizards/com/sun/star/wizards/ui/WizardDialog.java +++ b/wizards/com/sun/star/wizards/ui/WizardDialog.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -435,7 +435,7 @@ public abstract class WizardDialog extends UnoDialog2 implements VetoableChangeL */ /** - * + * * @param _ndialogpage * @param ooldValue * @param onewValue diff --git a/wizards/com/sun/star/wizards/ui/XCommandSelectionListener.java b/wizards/com/sun/star/wizards/ui/XCommandSelectionListener.java index 24fbd10eb9dd..73a7c7a87048 100644 --- a/wizards/com/sun/star/wizards/ui/XCommandSelectionListener.java +++ b/wizards/com/sun/star/wizards/ui/XCommandSelectionListener.java @@ -2,7 +2,7 @@ ************************************************************************ * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/XCompletion.java b/wizards/com/sun/star/wizards/ui/XCompletion.java index 545345731e39..a3f2416826c1 100644 --- a/wizards/com/sun/star/wizards/ui/XCompletion.java +++ b/wizards/com/sun/star/wizards/ui/XCompletion.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/XFieldSelectionListener.java b/wizards/com/sun/star/wizards/ui/XFieldSelectionListener.java index b47ad2363709..28916f1b89a8 100644 --- a/wizards/com/sun/star/wizards/ui/XFieldSelectionListener.java +++ b/wizards/com/sun/star/wizards/ui/XFieldSelectionListener.java @@ -2,7 +2,7 @@ ************************************************************************ * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/XPathSelectionListener.java b/wizards/com/sun/star/wizards/ui/XPathSelectionListener.java index 5c76c092a46f..4b582127bb2f 100755 --- a/wizards/com/sun/star/wizards/ui/XPathSelectionListener.java +++ b/wizards/com/sun/star/wizards/ui/XPathSelectionListener.java @@ -2,7 +2,7 @@ ************************************************************************ * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/event/AbstractListener.java b/wizards/com/sun/star/wizards/ui/event/AbstractListener.java index ebbcba96f58c..4265f39b50c2 100644 --- a/wizards/com/sun/star/wizards/ui/event/AbstractListener.java +++ b/wizards/com/sun/star/wizards/ui/event/AbstractListener.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/event/CommonListener.java b/wizards/com/sun/star/wizards/ui/event/CommonListener.java index 18f33af2cef8..0899d3117af6 100644 --- a/wizards/com/sun/star/wizards/ui/event/CommonListener.java +++ b/wizards/com/sun/star/wizards/ui/event/CommonListener.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/event/DataAware.java b/wizards/com/sun/star/wizards/ui/event/DataAware.java index b81b8e71bcdb..dc095206eafa 100644 --- a/wizards/com/sun/star/wizards/ui/event/DataAware.java +++ b/wizards/com/sun/star/wizards/ui/event/DataAware.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -44,7 +44,7 @@ import java.util.Iterator; * in child classes, the updateData() will be binded to UI event calls. * <br><br> * This class holds references to a Data Object and a Value object. - * The Value object "knows" how to get and set a value from the + * The Value object "knows" how to get and set a value from the * Data Object. */ public abstract class DataAware { @@ -60,7 +60,7 @@ public abstract class DataAware { * from/to the data object. */ protected Value value; - + /** * creates a DataAware object for the given data object and Value object. * @param dataObject_ @@ -89,7 +89,7 @@ public abstract class DataAware { */ public void setDataObject(Object obj, boolean updateUI) { - if (obj != null && !value.isAssignable(obj.getClass())) + if (obj != null && !value.isAssignable(obj.getClass())) throw new ClassCastException("can not cast new DataObject to original Class"); dataObject = obj; @@ -112,14 +112,14 @@ public abstract class DataAware { /** * gets the current value from the data obejct. - * this method delegates the job to + * this method delegates the job to * the value object. * @return the current value of the data object. */ protected Object getFromData() { return value.get(getDataObject()); } - + /** * sets the given value to the UI control * @param newValue the value to set to the ui control. @@ -221,10 +221,10 @@ public abstract class DataAware { for (Iterator i = dataAwares.iterator(); i.hasNext();) ((DataAware) i.next()).setDataObject(dataObject, updateUI); } - + /** * Value objects read and write a value from and - * to an object. Typically using reflection and JavaBeans properties + * to an object. Typically using reflection and JavaBeans properties * or directly using memeber reflection API. * DataAware delegates the handling of the DataObject * to a Value object. @@ -254,7 +254,7 @@ public abstract class DataAware { */ public boolean isAssignable(Class type); } - + /** * implementation of Value, handling JavaBeans properties through * reflection. @@ -282,7 +282,7 @@ public abstract class DataAware { getMethod = createGetMethod(propertyName, propertyOwner); setMethod = createSetMethod(propertyName, propertyOwner, getMethod.getReturnType()); } - + /** * called from the constructor, and creates a get method reflection object * for the given property and object. @@ -306,7 +306,7 @@ public abstract class DataAware { } return m; } - + /* (non-Javadoc) * @see com.sun.star.wizards.ui.event.DataAware.Value#get(java.lang.Object) */ @@ -328,7 +328,7 @@ public abstract class DataAware { return new short[0]; } return null; - + } protected Method createSetMethod(String propName, Object obj, Class paramClass) { diff --git a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java index 74881d7b1f23..1e058374d760 100644 --- a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java +++ b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -31,12 +31,12 @@ import java.lang.reflect.Field; import com.sun.star.uno.Any; /** - * This class is a factory for Value objects for different types of - * memebers. - * Other than some Value implementations classes this class contains static + * This class is a factory for Value objects for different types of + * memebers. + * Other than some Value implementations classes this class contains static * type conversion methods and factory methods. - * - * @see com.sun.star.wizards.ui.event.DataAware.Value + * + * @see com.sun.star.wizards.ui.event.DataAware.Value */ public class DataAwareFields { @@ -47,7 +47,7 @@ public class DataAwareFields /** * returns a Value Object which sets and gets values * and converting them to other types, according to the "value" argument. - * + * * @param owner * @param fieldname * @param value diff --git a/wizards/com/sun/star/wizards/ui/event/EventNames.java b/wizards/com/sun/star/wizards/ui/event/EventNames.java index 50aa32dc57aa..ee1a0ace9cdd 100644 --- a/wizards/com/sun/star/wizards/ui/event/EventNames.java +++ b/wizards/com/sun/star/wizards/ui/event/EventNames.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java b/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java index b2dc75f22f48..db209161fffa 100644 --- a/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java +++ b/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -138,7 +138,7 @@ public class ListModelBinder implements ListDataListener insert(i); /*int insertedItems = lde.getIndex1() - lde.getIndex0() + 1; - + for (int i = 0; i<selected.length; i++) if (selected[i].intValue() >= lde.getIndex0()) selected[i] = new Short((short)(selected[i].shortValue() + insertedItems)); @@ -161,12 +161,12 @@ public class ListModelBinder implements ListDataListener if (s>=lde.getIndex0() && s<==lde.getIndex1()) { selected[i] = null; removed++; + } } - } - + Short[] newSelected = (removed > 0 ? new Short[selected.length - removed] : selected; if (removed>0) - + if (selected[i].intValue() >= lde.getIndex0()) */ } diff --git a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java index c45a496c7849..617c55882e3f 100644 --- a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java +++ b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -31,7 +31,7 @@ import java.lang.reflect.Method; /** * Encapsulate a Method invocation. - * In the constructor one defines a method, a target object and an optional + * In the constructor one defines a method, a target object and an optional * Parameter. * Then one calls "invoke", with or without a parameter. <br/> * Limitations: I do not check anything myself. If the param is not ok, from the @@ -80,7 +80,7 @@ public class MethodInvocation } /** - * Returns the result of calling the method on the object, or null, if no result. + * Returns the result of calling the method on the object, or null, if no result. */ public Object invoke(Object param) throws IllegalAccessException, InvocationTargetException { diff --git a/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java b/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java index 7dddea572503..3954b2eea671 100644 --- a/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java +++ b/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java b/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java index 8a9c2200d76d..5c102903272f 100644 --- a/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java +++ b/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -72,7 +72,7 @@ public class SimpleDataAware extends DataAware else if (value.equals("")) return Boolean.FALSE; else return Boolean.TRUE; } - + public void disableControls(Object[] controls) { disableObjects = controls; } diff --git a/wizards/com/sun/star/wizards/ui/event/Task.java b/wizards/com/sun/star/wizards/ui/event/Task.java index 16feacd5e1fa..1d67ecb956c6 100644 --- a/wizards/com/sun/star/wizards/ui/event/Task.java +++ b/wizards/com/sun/star/wizards/ui/event/Task.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/event/TaskEvent.java b/wizards/com/sun/star/wizards/ui/event/TaskEvent.java index 1c54cfea2fa6..af840c3b4bb4 100644 --- a/wizards/com/sun/star/wizards/ui/event/TaskEvent.java +++ b/wizards/com/sun/star/wizards/ui/event/TaskEvent.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/event/TaskListener.java b/wizards/com/sun/star/wizards/ui/event/TaskListener.java index 114747c30776..cfbc16c9c845 100644 --- a/wizards/com/sun/star/wizards/ui/event/TaskListener.java +++ b/wizards/com/sun/star/wizards/ui/event/TaskListener.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java index 632609d85f05..010773216183 100644 --- a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java +++ b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,10 +36,10 @@ import com.sun.star.wizards.common.Helper; * * This class suppoprts imple cases where a UI control can * be directly synchronized with a data property. - * Such controls are: the different text controls - * (synchronizing the "Text" , "Value", "Date", "Time" property), + * Such controls are: the different text controls + * (synchronizing the "Text" , "Value", "Date", "Time" property), * Checkbox controls, Dropdown listbox controls (synchronizing the - * SelectedItems[] property. + * SelectedItems[] property. * For those controls, static convenience methods are offered, to simplify use. */ public class UnoDataAware extends DataAware |