cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r771056 - in /cayenne/main/trunk: docs/doc/src/main/resources/ framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/dbentity/
Date Sun, 03 May 2009 13:50:46 GMT
Author: aadamchik
Date: Sun May  3 13:50:46 2009
New Revision: 771056

URL: http://svn.apache.org/viewvc?rev=771056&view=rev
Log:
CAY-1217 Project tree loses focus when traversing a list of entities with the keyboard

patch by Dima Loiko

Modified:
    cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
    cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityTab.java
    cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/dbentity/DbEntityTab.java

Modified: cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt?rev=771056&r1=771055&r2=771056&view=diff
==============================================================================
--- cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt (original)
+++ cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Sun May  3 13:50:46 2009
@@ -60,6 +60,7 @@
 CAY-1196 CayenneRuntimeException in modeler due to ClassNotFoundException when java type
is invalid and db attribute is null
 CAY-1204 Incorrect relationship syncing in nested CayenneContext's
 CAY-1207 Oracle8 does not like new join syntax
+CAY-1217 Project tree loses focus when traversing a list of entities with the keyboard
 
 ----------------------------------
 Release: 3.0M5

Modified: cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityTab.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityTab.java?rev=771056&r1=771055&r2=771056&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityTab.java
(original)
+++ cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/ObjEntityTab.java
Sun May  3 13:50:46 2009
@@ -635,7 +635,6 @@
         }
 
         initFromModel(entity);
-        name.getComponent().requestFocusInWindow();
     }
     
     private List<ObjAttribute> getDuplicatedAttributes(ObjEntity superEntity) {

Modified: cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/dbentity/DbEntityTab.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/dbentity/DbEntityTab.java?rev=771056&r1=771055&r2=771056&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/dbentity/DbEntityTab.java
(original)
+++ cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/dbentity/DbEntityTab.java
Sun May  3 13:50:46 2009
@@ -194,7 +194,7 @@
         }
 
         if (!e.isEntityChanged()) {
-            name.getComponent().requestFocusInWindow();
+            //name.getComponent().requestFocusInWindow();
             return;
         }
 
@@ -223,7 +223,6 @@
         pkGeneratorType.setSelectedItem(type);
         pkGeneratorDetailLayout.show(pkGeneratorDetail, type);
 
-        name.getComponent().requestFocusInWindow();
     }
 
     void setEntityName(String newName) {



Mime
View raw message