Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
kernel
Commits
7c39860f
Commit
7c39860f
authored
Nov 17, 2017
by
Simon Barner
Browse files
YELLOW
parent
7ea5e92c
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/tablecell/AbstractIntegerSpinnerEditingSupport.java
View file @
7c39860f
...
...
@@ -27,11 +27,12 @@ import org.eclipse.swt.widgets.Control;
import
org.eclipse.swt.widgets.Spinner
;
/**
* Base class for {@link EditingSupport}s that provide a integer {@link Spinner}.
*
* @author eder
* @author $Author$
* @version $Rev$
* @ConQAT.Rating
GREEN
Hash: 3
1B4795F99F85B3C5C363D1368F79245
* @ConQAT.Rating
YELLOW
Hash: 3
98F9179A4B7D7E5D792CFCD95E92837
*/
public
abstract
class
AbstractIntegerSpinnerEditingSupport
extends
EditingSupport
{
/**
...
...
@@ -45,22 +46,18 @@ public abstract class AbstractIntegerSpinnerEditingSupport extends EditingSuppor
}
/**
*
Retriev
es the m
ax
imum value for the spinner.
*
Defin
es the m
in
imum value for the spinner.
*
* @return M
ax
imum value.
* @return M
in
imum value.
*/
protected
int
getSpinnerMaximum
()
{
return
Integer
.
MAX_VALUE
;
}
protected
abstract
int
getSpinnerMinimum
();
/**
*
Retriev
es the m
in
imum value for the spinner.
*
Defin
es the m
ax
imum value for the spinner.
*
* @return M
in
imum value.
* @return M
ax
imum value.
*/
protected
int
getSpinnerMinimum
()
{
return
1
;
}
protected
abstract
int
getSpinnerMaximum
();
/** {@inheritDoc} */
@Override
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment