Skip to content

Commit

Permalink
Fix java doc in o.e.jface and o.e.jface.examples.databinding
Browse files Browse the repository at this point in the history
  • Loading branch information
marcushoepfner authored and akurtakov committed Oct 24, 2023
1 parent cfd5e50 commit dfd9109
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ public abstract class AbstractControlFactory<F extends AbstractControlFactory<?,
* setting the tool tip text to an empty string replaces the default, causing no
* tool tip text to be shown.
*
* The mnemonic indicator (character '&') is not displayed in a tool tip. To
* display a single '&' in the tool tip, the character '&' can be escaped by
* doubling it in the string.
* The mnemonic indicator (character '&amp;') is not displayed in a tool tip. To
* display a single '&amp;' in the tool tip, the character '&amp;' can be
* escaped by doubling it in the string.
*
* @param tooltipText the tool tip text
* @return this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ public TableColumnFactory align(int alignment) {
* setting the tool tip text to an empty string replaces the default, causing no
* tool tip text to be shown.
*
* The mnemonic indicator (character '&') is not displayed in a tool tip. To
* display a single '&' in the tool tip, the character '&' can be escaped by
* doubling it in the string.
* The mnemonic indicator (character '&amp;') is not displayed in a tool tip. To
* display a single '&amp;' in the tool tip, the character '&amp;' can be
* escaped by doubling it in the string.
*
* @param tooltip the tool tip text
* @return this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ public TreeColumnFactory align(int alignment) {
* setting the tool tip text to an empty string replaces the default, causing no
* tool tip text to be shown.
*
* The mnemonic indicator (character '&') is not displayed in a tool tip. To
* display a single '&' in the tool tip, the character '&' can be escaped by
* doubling it in the string.
* The mnemonic indicator (character '&amp;') is not displayed in a tool tip. To
* display a single '&amp;' in the tool tip, the character '&amp;' can be
* escaped by doubling it in the string.
*
* @param tooltip the tool tip text
* @return this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -536,19 +536,22 @@ public void setItem (int index, String string) {
}

/**
* Selects the item at the given zero-relative index in the receiver.
* If the item at the index was already selected, it remains selected.
* The current selection is first cleared, then the new item is selected.
* Indices that are out of range are ignored.
* Selects the item at the given zero-relative index in the receiver. If the
* item at the index was already selected, it remains selected. The current
* selection is first cleared, then the new item is selected. Indices that are
* out of range are ignored.
*
* @param index the index of the item to select
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
* @see List#deselectAll()
* @see List#select(int)
* @exception SWTException
* <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been
* disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from
* the thread that created the receiver</li>
* </ul>
* @see org.eclipse.swt.widgets.List#deselectAll()
* @see org.eclipse.swt.widgets.List#select(int)
*/
public void setSelection (int index) {
if (index < 0 || index > buttons.length - 1) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

/**
* This snippet shows how to use the
* {@link ISideEffect#runOnce(java.util.function.Supplier, java.util.function.Consumer)}
* {@link ISideEffect#create(java.util.function.Supplier, java.util.function.Consumer)}
* method to react properly, when an observable is changed inside an async
* action, e.g., a Job.
*/
Expand Down

0 comments on commit dfd9109

Please sign in to comment.