directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r478185 - in /directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/controller: AttributesViewController.java BrowserViewController.java
Date Wed, 22 Nov 2006 15:09:06 GMT
Author: pamarcelot
Date: Wed Nov 22 07:09:05 2006
New Revision: 478185

URL: http://svn.apache.org/viewvc?view=rev&rev=478185
Log:
Registering UI Listener with a method that respond more quickly than the previous. No more
lag when changing row using the keyboard in the Browser View, the Attributes View is now correctly
updated instantly.

Modified:
    directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/controller/AttributesViewController.java
    directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/controller/BrowserViewController.java

Modified: directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/controller/AttributesViewController.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/controller/AttributesViewController.java?view=diff&rev=478185&r1=478184&r2=478185
==============================================================================
--- directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/controller/AttributesViewController.java
(original)
+++ directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/controller/AttributesViewController.java
Wed Nov 22 07:09:05 2006
@@ -89,7 +89,7 @@
         this.view = view;
         
         // Handling selection of the Browser View to update this view
-        view.getSite().getPage().addPostSelectionListener( BrowserView.ID, new ISelectionListener()
+        view.getSite().getPage().addSelectionListener( BrowserView.ID, new ISelectionListener()
         {
             public void selectionChanged( IWorkbenchPart part, ISelection selection )
             {
@@ -149,7 +149,7 @@
     private void registerUpdateActions()
     {
         // Handling selection of the Browser View to enable/disable the Actions
-        view.getSite().getPage().addPostSelectionListener( BrowserView.ID, new ISelectionListener()
+        view.getSite().getPage().addSelectionListener( BrowserView.ID, new ISelectionListener()
         {
             public void selectionChanged( IWorkbenchPart part, ISelection selection )
             {
@@ -178,7 +178,7 @@
         } );
 
         // Handling selection of the Attributes View to enable/disable the Actions
-        view.getSite().getPage().addPostSelectionListener( AttributesView.ID, new ISelectionListener()
+        view.getSite().getPage().addSelectionListener( AttributesView.ID, new ISelectionListener()
         {
             public void selectionChanged( IWorkbenchPart part, ISelection selection )
             {

Modified: directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/controller/BrowserViewController.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/controller/BrowserViewController.java?view=diff&rev=478185&r1=478184&r2=478185
==============================================================================
--- directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/controller/BrowserViewController.java
(original)
+++ directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/controller/BrowserViewController.java
Wed Nov 22 07:09:05 2006
@@ -148,7 +148,7 @@
     private void registerUpdateActions()
     {
         // Handling selection of the Browser View to enable/disable the Actions
-        view.getSite().getPage().addPostSelectionListener( BrowserView.ID, new ISelectionListener()
+        view.getSite().getPage().addSelectionListener( BrowserView.ID, new ISelectionListener()
         {
             public void selectionChanged( IWorkbenchPart part, ISelection selection )
             {



Mime
View raw message