You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by hi...@apache.org on 2002/02/25 16:55:21 UTC
cvs commit: xml-batik/sources/org/apache/batik/dom/svg SVGOMDocument.java
hillion 02/02/25 07:55:21
Modified: sources/org/apache/batik/bridge BridgeContext.java
RepaintManager.java
sources/org/apache/batik/dom AbstractDocument.java
AbstractNode.java
sources/org/apache/batik/dom/svg SVGOMDocument.java
Log:
Post-commit cleanup.
Revision Changes Path
1.39 +1 -5 xml-batik/sources/org/apache/batik/bridge/BridgeContext.java
Index: BridgeContext.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/BridgeContext.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- BridgeContext.java 25 Feb 2002 15:05:31 -0000 1.38
+++ BridgeContext.java 25 Feb 2002 15:55:20 -0000 1.39
@@ -22,8 +22,6 @@
import java.util.Map;
import org.apache.batik.css.HiddenChildElementSupport;
-import org.apache.batik.dom.svg.DefaultSVGContext;
-import org.apache.batik.dom.svg.SVGOMDocument;
import org.apache.batik.gvt.GraphicsNode;
import org.apache.batik.gvt.TextPainter;
import org.apache.batik.script.Interpreter;
@@ -33,8 +31,6 @@
import org.w3c.dom.Document;
import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.events.EventListener;
import org.w3c.dom.svg.SVGDocument;
import org.apache.batik.gvt.filter.GraphicsNodeRableFactory;
@@ -51,7 +47,7 @@
* a SVG DOM tree such as the current viewport or the user agent.
*
* @author <a href="mailto:Thierry.Kormann@sophia.inria.fr">Thierry Kormann</a>
- * @version $Id: BridgeContext.java,v 1.38 2002/02/25 15:05:31 hillion Exp $
+ * @version $Id: BridgeContext.java,v 1.39 2002/02/25 15:55:20 hillion Exp $
*/
public class BridgeContext implements ErrorConstants {
1.11 +1 -10 xml-batik/sources/org/apache/batik/bridge/RepaintManager.java
Index: RepaintManager.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/RepaintManager.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- RepaintManager.java 25 Feb 2002 15:05:31 -0000 1.10
+++ RepaintManager.java 25 Feb 2002 15:55:20 -0000 1.11
@@ -26,7 +26,7 @@
* This class manages the rendering of a GVT tree.
*
* @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
- * @version $Id: RepaintManager.java,v 1.10 2002/02/25 15:05:31 hillion Exp $
+ * @version $Id: RepaintManager.java,v 1.11 2002/02/25 15:55:20 hillion Exp $
*/
public class RepaintManager {
@@ -44,15 +44,6 @@
* Whether or not the manager is active.
*/
protected boolean enabled;
-
- /**
- * The repaint runnable.
- */
- protected Runnable repaintRunnable = new Runnable() {
- public void run() {
- repaint();
- }
- };
/**
* Creates a new repaint manager.
1.13 +1 -2 xml-batik/sources/org/apache/batik/dom/AbstractDocument.java
Index: AbstractDocument.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/dom/AbstractDocument.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- AbstractDocument.java 25 Feb 2002 15:05:32 -0000 1.12
+++ AbstractDocument.java 25 Feb 2002 15:55:21 -0000 1.13
@@ -39,7 +39,6 @@
import org.w3c.dom.events.DocumentEvent;
import org.w3c.dom.events.Event;
-import org.w3c.dom.events.EventListener;
import org.w3c.dom.traversal.DocumentTraversal;
import org.w3c.dom.traversal.NodeFilter;
@@ -50,7 +49,7 @@
* This class implements the {@link org.w3c.dom.Document} interface.
*
* @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
- * @version $Id: AbstractDocument.java,v 1.12 2002/02/25 15:05:32 hillion Exp $
+ * @version $Id: AbstractDocument.java,v 1.13 2002/02/25 15:55:21 hillion Exp $
*/
public abstract class AbstractDocument
extends AbstractParentNode
1.10 +2 -2 xml-batik/sources/org/apache/batik/dom/AbstractNode.java
Index: AbstractNode.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/dom/AbstractNode.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- AbstractNode.java 25 Feb 2002 15:05:32 -0000 1.9
+++ AbstractNode.java 25 Feb 2002 15:55:21 -0000 1.10
@@ -35,7 +35,7 @@
* This class implements the {@link org.w3c.dom.Node} interface.
*
* @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
- * @version $Id: AbstractNode.java,v 1.9 2002/02/25 15:05:32 hillion Exp $
+ * @version $Id: AbstractNode.java,v 1.10 2002/02/25 15:55:21 hillion Exp $
*/
public abstract class AbstractNode
implements ExtendedNode,
@@ -382,9 +382,9 @@
public void addEventListener(String type,
EventListener listener,
boolean useCapture) {
- AbstractDocument doc = getCurrentDocument();
if (eventSupport == null) {
eventSupport = new EventSupport();
+ AbstractDocument doc = getCurrentDocument();
doc.setEventsEnabled(true);
}
eventSupport.addEventListener(type, listener, useCapture);
1.44 +1 -3 xml-batik/sources/org/apache/batik/dom/svg/SVGOMDocument.java
Index: SVGOMDocument.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/dom/svg/SVGOMDocument.java,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- SVGOMDocument.java 25 Feb 2002 15:05:32 -0000 1.43
+++ SVGOMDocument.java 25 Feb 2002 15:55:21 -0000 1.44
@@ -55,8 +55,6 @@
import org.w3c.dom.css.CSSStyleDeclaration;
import org.w3c.dom.css.DocumentCSS;
-import org.w3c.dom.events.EventListener;
-
import org.w3c.dom.stylesheets.LinkStyle;
import org.w3c.dom.stylesheets.StyleSheet;
import org.w3c.dom.stylesheets.StyleSheetList;
@@ -72,7 +70,7 @@
* This class implements {@link SVGDocument}.
*
* @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
- * @version $Id: SVGOMDocument.java,v 1.43 2002/02/25 15:05:32 hillion Exp $
+ * @version $Id: SVGOMDocument.java,v 1.44 2002/02/25 15:55:21 hillion Exp $
*/
public class SVGOMDocument
extends AbstractDocument
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org