cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntimof...@apache.org
Subject cayenne git commit: Modeler: Adjust disabled selection foreground color
Date Wed, 19 Sep 2018 07:30:08 GMT
Repository: cayenne
Updated Branches:
  refs/heads/master b88ecaf5b -> 2e3760218


Modeler: Adjust disabled selection foreground color


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/2e376021
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/2e376021
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/2e376021

Branch: refs/heads/master
Commit: 2e3760218bdbdfee9d7ff56ee8ac9aa138fb4657
Parents: b88ecaf
Author: Nikita Timofeev <stariy95@gmail.com>
Authored: Wed Sep 19 10:29:59 2018 +0300
Committer: Nikita Timofeev <stariy95@gmail.com>
Committed: Wed Sep 19 10:29:59 2018 +0300

----------------------------------------------------------------------
 .../org/apache/cayenne/modeler/editor/ObjEntityAttributePanel.java | 2 +-
 .../apache/cayenne/modeler/editor/ObjEntityRelationshipPanel.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/2e376021/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityAttributePanel.java
----------------------------------------------------------------------
diff --git a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityAttributePanel.java
b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityAttributePanel.java
index efccc2b..2f5acac 100644
--- a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityAttributePanel.java
+++ b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityAttributePanel.java
@@ -450,7 +450,7 @@ public class ObjEntityAttributePanel extends JPanel implements ObjEntityDisplayL
             ObjAttribute attribute = model.getAttribute(row).getValue();
 
             if (!model.isCellEditable(row, column)) {
-                setForeground(isSelected ? new Color(0xCECECE) : Color.GRAY);
+                setForeground(isSelected ? new Color(0xEEEEEE) : Color.GRAY);
             } else {
                 setForeground(isSelected && !hasFocus ? table.getSelectionForeground()
: table.getForeground());
             }

http://git-wip-us.apache.org/repos/asf/cayenne/blob/2e376021/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityRelationshipPanel.java
----------------------------------------------------------------------
diff --git a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityRelationshipPanel.java
b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityRelationshipPanel.java
index 95d0448..466ccb7 100644
--- a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityRelationshipPanel.java
+++ b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityRelationshipPanel.java
@@ -444,7 +444,7 @@ public class ObjEntityRelationshipPanel extends JPanel implements ObjEntityDispl
             column = table.getColumnModel().getColumn(column).getModelIndex();
             if (relationship != null
                     && relationship.getSourceEntity() != model.getEntity()) {
-                setForeground(isSelected ? new Color(0xCECECE) : Color.GRAY);
+                setForeground(isSelected ? new Color(0xEEEEEE) : Color.GRAY);
                 if(column == ObjRelationshipTableModel.REL_NAME) {
                     setIcon(INHERITANCE_ICON);
                 }


Mime
View raw message