Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
baac8328
Commit
baac8328
authored
Aug 01, 2012
by
Florian Hölzl
Browse files
RED
refs 862
parent
888934bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.mira.ui/trunk/src/org/fortiss/af3/mira/ui/editor/AnalysisComparator.java
View file @
baac8328
...
...
@@ -91,6 +91,7 @@ public class AnalysisComparator extends ViewerComparator {
rc
=
p1
.
getReqId
().
compareTo
(
p2
.
getReqId
());
break
;
case
1
:
// TODO (FH): use import static
rc
=
MiraUtils
.
getDisplayNameFor
(
p1
).
compareTo
(
MiraUtils
.
getDisplayNameFor
(
p2
));
break
;
case
2
:
...
...
org.fortiss.af3.mira.ui/trunk/src/org/fortiss/af3/mira/ui/editor/AnalysisEditor.java
View file @
baac8328
...
...
@@ -67,6 +67,7 @@ public class AnalysisEditor<T extends Analysis> extends FormsEditorBase<T> {
String
filterString
=
filterText
.
getText
().
toLowerCase
().
trim
();
if
((
""
+
req
.
getReqId
()).
toLowerCase
().
contains
(
filterString
))
{
return
true
;
// TODO (FH): use import static
}
else
if
(
MiraUtils
.
getDisplayNameFor
(
req
).
toLowerCase
().
contains
(
filterString
))
{
return
true
;
}
else
if
(!
isEmpty
(
req
.
getName
())
&&
...
...
@@ -84,14 +85,17 @@ public class AnalysisEditor<T extends Analysis> extends FormsEditorBase<T> {
};
/** single line label grid data factory */
// TODO (FH): use import static
protected
static
GridDataFactory
singleLineLabelFactory
=
GridDataFactory
.
swtDefaults
()
.
align
(
SWT
.
RIGHT
,
SWT
.
CENTER
).
grab
(
false
,
false
);
/** single line input grid data factory */
// TODO (FH): use import static
protected
static
GridDataFactory
singleLineInputFactory
=
GridDataFactory
.
swtDefaults
()
.
align
(
SWT
.
FILL
,
SWT
.
CENTER
).
grab
(
true
,
false
);
/** fill control grid data factory */
// TODO (FH): use import static
protected
static
GridDataFactory
fillControlFactory
=
GridDataFactory
.
swtDefaults
()
.
align
(
SWT
.
FILL
,
SWT
.
FILL
).
grab
(
true
,
true
).
hint
(
SWT
.
DEFAULT
,
200
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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