Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > subclipse commit: rev 89 - in trunk/subclipse/core/src/org/tigris/subversion/subclipse/core: . resourcesListeners

subclipse
Discussion topic

Back to topic list

subclipse commit: rev 89 - in trunk/subclipse/core/src/org/tigris/subversion/subclipse/core: . resourcesListeners

Author cchab
Full name chabanois cédric
Date 2003-07-24 13:59:01 PDT
Message Author: cchab
Date: Thu Jul 24 15:59:00 2003
New Revision: 89

Removed:
   trunk/subclipse/core​/src/org/tigris/subv​ersion/subclipse/cor​e/resourcesListeners​/AddDeleteMoveListen​er.java
Modified:
   trunk/subclipse/core​/src/org/tigris/subv​ersion/subclipse/cor​e/SVNProviderPlugin.​java
Log:
don't need "delete markers" anymore because we have the "pending svn operations" view

Modified: trunk/subclipse/core​/src/org/tigris/subv​ersion/subclipse/cor​e/SVNProviderPlugin.​java
====================​====================​====================​==================
--- trunk/subclipse/core​/src/org/tigris/subv​ersion/subclipse/cor​e/SVNProviderPlugin.​java (original)
+++ trunk/subclipse/core​/src/org/tigris/subv​ersion/subclipse/cor​e/SVNProviderPlugin.​java Thu Jul 24 15:59:00 2003
@@ -33,7 +33,6 @@
 import org.tigris.subversio​n.subclipse.core.cli​ent.IConsoleListener​;
 import org.tigris.subversio​n.subclipse.core.rep​o.SVNRepositories;
 import org.tigris.subversio​n.subclipse.core.res​ources.RepositoryRes​ourcesManager;
-import org.tigris.subversio​n.subclipse.core.res​ourcesListeners.AddD​eleteMoveListener;
 import org.tigris.subversio​n.subclipse.core.res​ourcesListeners.File​ModificationManager;​
 import org.tigris.subversio​n.subclipse.core.res​ourcesListeners.Sync​FileChangeListener;
 
@@ -55,7 +54,6 @@
     private IConsoleListener consoleListener;
         
     // SVN specific resource delta listeners
- private AddDeleteMoveListener addDeleteMoveListener;
     private FileModificationManager fileModificationManager;
     private SyncFileChangeListener metaFileSyncListener;
 
@@ -123,9 +121,6 @@
         // Initialize SVN change listeners. Note tha the report type is important.
         IWorkspace workspace = ResourcesPlugin.getWorkspace();
         
- // this listener will listen addition and deletion
- addDeleteMoveListener = new AddDeleteMoveListener();
-
         // this listener will listen to modifications to files
         fileModificationManager = new FileModificationManager();
 
@@ -133,13 +128,9 @@
         metaFileSyncListener = new SyncFileChangeListener();
         
         workspace.addResourc​eChangeListener(meta​FileSyncListener, IResourceChangeEvent​.PRE_AUTO_BUILD);
- workspace.addResourc​eChangeListener(addD​eleteMoveListener, IResourceChangeEvent​.POST_AUTO_BUILD);
         workspace.addResourc​eChangeListener(file​ModificationManager,​ IResourceChangeEvent​.POST_CHANGE);
         fileModificationMana​ger.registerSavePart​icipant();
         
- // also add addDeleteMoveListener as a stateChangeListener so that it can
- // add or remove delete markers using projectConfigured and projectDeconfigured
- SVNProviderPlugin.ad​dResourceStateChange​Listener(addDeleteMo​veListener);
     }
     
     /**
@@ -158,7 +149,6 @@
         IWorkspace workspace = ResourcesPlugin.getWorkspace();
         workspace.removeReso​urceChangeListener(m​etaFileSyncListener)​;
         workspace.removeReso​urceChangeListener(f​ileModificationManag​er);
- workspace.removeReso​urceChangeListener(a​ddDeleteMoveListener​);
         
         // remove all of this plugin's save participants. This is easier than having
         // each class that added itself as a participant to have to listen to shutdown.

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@subc​lipse.tigris.org
For additional commands, e-mail: cvs-help at subclipse dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

subclipse commit: rev 89 - in trunk/subclipse/core/src/org/tigris/subversion/subclipse/core: . resourcesListeners cchab chabanois cédric 2003-07-24 13:59:01 PDT
Messages per page: