Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
Uploader
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
Uploader
Commits
fdab4f0a
Commit
fdab4f0a
authored
Feb 23, 2018
by
Matija Obreza
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Column background colors updated
parent
2f184e0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
anno-gui/src/main/java/org/genesys2/anno/gui/SheetDisplay.java
...gui/src/main/java/org/genesys2/anno/gui/SheetDisplay.java
+6
-6
No files found.
anno-gui/src/main/java/org/genesys2/anno/gui/SheetDisplay.java
View file @
fdab4f0a
...
...
@@ -106,10 +106,10 @@ public class SheetDisplay extends Composite {
@Autowired
private
ObjectMapper
mapper
;
final
Color
pinkColor
=
SWTResourceManager
.
getColor
(
255
,
192
,
203
);
final
Color
blueColor
=
SWTResourceManager
.
getColor
(
173
,
216
,
230
);
final
Color
yellowColor
=
SWTResourceManager
.
getColor
(
SWT
.
COLOR_YELLOW
);
final
Color
listBackgroundColor
=
SWTResourceManager
.
getColor
(
SWT
.
COLOR_LIST_BACKGROUND
);
final
Color
unmappedColumnSelectedColor
=
SWTResourceManager
.
getColor
(
239
,
239
,
210
);
final
Color
mappedColumnUnselectedColor
=
SWTResourceManager
.
getColor
(
199
,
213
,
235
);
final
Color
mappedColumnSelectedColor
=
SWTResourceManager
.
getColor
(
117
,
152
,
206
);
private
static
class
ContentProvider
implements
IStructuredContentProvider
{
@Override
...
...
@@ -148,13 +148,13 @@ public class SheetDisplay extends Composite {
if
(
currentColumn
.
getRdfTerm
()
!=
null
&&
!
currentColumn
.
getRdfTerm
().
isEmpty
())
{
if
(
currentColumn
==
selectedColumn
)
{
cell
.
setBackground
(
pink
Color
);
// pink
cell
.
setBackground
(
mappedColumnSelected
Color
);
// pink
}
else
{
cell
.
setBackground
(
blue
Color
);
// light blue
cell
.
setBackground
(
mappedColumnUnselected
Color
);
// light blue
}
}
else
{
if
(
currentColumn
==
selectedColumn
)
{
cell
.
setBackground
(
yellow
Color
);
// yellow
cell
.
setBackground
(
unmappedColumnSelected
Color
);
// yellow
}
else
{
cell
.
setBackground
(
listBackgroundColor
);
// default
}
...
...
Matija Obreza
@mobreza
mentioned in commit
af625489
·
Jan 28, 2021
mentioned in commit
af625489
mentioned in commit af625489898c97735d63c364f11d6e67cf60c9a6
Toggle commit list
Write
Preview
Markdown
is supported
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