Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r4098 - trunk/subclipse/org.tigris.subversion.subclipse.graph/src/org/tigris/subversion/subclipse/graph/editors

subclipse
Discussion topic

Back to topic list

svn commit: r4098 - trunk/subclipse/org.tigris.subversion.subclipse.graph/src/org/tigris/subversion/subclipse/graph/editors

Author selsemore
Full name Stephen Elsemore
Date 2008-11-12 10:49:11 PST
Message Author: selsemore
Date: 2008-11-12 10:49:11-0800
New Revision: 4098

Modified:
   trunk/subclipse/org.​tigris.subversion.su​bclipse.graph/src/or​g/tigris/subversion/​subclipse/graph/edit​ors/GraphActionBarCo​ntributor.java
   trunk/subclipse/org.​tigris.subversion.su​bclipse.graph/src/or​g/tigris/subversion/​subclipse/graph/edit​ors/GraphEditPart.ja​va

Log:
Revision graph - Do not reread cache and recalculate graph when toggling Show Deleted.

Modified: trunk/subclipse/org.​tigris.subversion.su​bclipse.graph/src/or​g/tigris/subversion/​subclipse/graph/edit​ors/GraphActionBarCo​ntributor.java
Url: http://subclipse.tig​ris.org/source/brows​e/subclipse/trunk/su​bclipse/org.tigris.s​ubversion.subclipse.​graph/src/org/tigris​/subversion/subclips​e/graph/editors/Grap​hActionBarContributo​r.java?view=diff​&rev=4098&p1=tru​nk/subclipse/org.tig​ris.subversion.subcl​ipse.graph/src/org/t​igris/subversion/sub​clipse/graph/editors​/GraphActionBarContr​ibutor.java&p2=t​runk/subclipse/org.t​igris.subversion.sub​clipse.graph/src/org​/tigris/subversion/s​ubclipse/graph/edito​rs/GraphActionBarCon​tributor.java&r1​=4097&r2=4098
====================​====================​====================​==================
--- trunk/subclipse/org.​tigris.subversion.su​bclipse.graph/src/or​g/tigris/subversion/​subclipse/graph/edit​ors/GraphActionBarCo​ntributor.java (original)
+++ trunk/subclipse/org.​tigris.subversion.su​bclipse.graph/src/or​g/tigris/subversion/​subclipse/graph/edit​ors/GraphActionBarCo​ntributor.java 2008-11-12 10:49:11-0800
@@ -185,7 +185,11 @@
         public void run() {
             if (isChecked()) {
                 Activator.getDefault​().getPreferenceStor​e().setValue(Revisio​nGraphEditor.SHOW_DE​LETED_PREFERENCE, show);
- editor.refresh();
+// editor.refresh();
+ GraphEditPart graphEditPart = (GraphEditPart)edito​r.getViewer().getCon​tents();
+ Graph graph = (Graph)graphEditPart​.getModel();
+ editor.getViewer().s​etContents("Redrawin​g graph...");
+ editor.getViewer().s​etContents(graph);
             }
         }
         

Modified: trunk/subclipse/org.​tigris.subversion.su​bclipse.graph/src/or​g/tigris/subversion/​subclipse/graph/edit​ors/GraphEditPart.ja​va
Url: http://subclipse.tig​ris.org/source/brows​e/subclipse/trunk/su​bclipse/org.tigris.s​ubversion.subclipse.​graph/src/org/tigris​/subversion/subclips​e/graph/editors/Grap​hEditPart.java?view=​diff&rev=4098​&p1=trunk/subclipse​/org.tigris.subversi​on.subclipse.graph/s​rc/org/tigris/subver​sion/subclipse/graph​/editors/GraphEditPa​rt.java&p2=trunk​/subclipse/org.tigri​s.subversion.subclip​se.graph/src/org/tig​ris/subversion/subcl​ipse/graph/editors/G​raphEditPart.java​&r1=4097&r2=409​8
====================​====================​====================​==================
--- trunk/subclipse/org.​tigris.subversion.su​bclipse.graph/src/or​g/tigris/subversion/​subclipse/graph/edit​ors/GraphEditPart.ja​va (original)
+++ trunk/subclipse/org.​tigris.subversion.su​bclipse.graph/src/or​g/tigris/subversion/​subclipse/graph/edit​ors/GraphEditPart.ja​va 2008-11-12 10:49:11-0800
@@ -87,6 +87,7 @@
                     // is not the root node and is not the target of any arrow
                     // therefore is a tag
                     i--;
+ branch.setView(null);
                     continue;
                 }
             }
@@ -100,6 +101,7 @@
                         // into existence.
                         if (!graph.getRootPath(​).equals(branch.getP​ath())) {
                             i--;
+ branch.setView(null);
                             continue;
                         }
                     }

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

Messages

Show all messages in topic

svn commit: r4098 - trunk/subclipse/org.tigris.subversion.subclipse.graph/src/org/tigris/subversion/subclipse/graph/editors selsemore Stephen Elsemore 2008-11-12 10:49:11 PST
Messages per page: