[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-patch] Memory Changes events.
|
The UI needs to be told when the memory changes
so it can update the memory view. The responsability
of this been push to the CDI implementation to generate
events(ICDIMemoryChangedEvent) for modified memories. The
getSource() method of the class should return an ICDIMemoryBlock.
Note that the CDI implementation will only try to generate
the event for ICDIMemoryBlock that are not frozen(setFrozen()) since this
is a potentially very time consuming operation.
* src/.../cdi/even/ICDIMemoryChangedEvent.java: New Class.
===================================================
2002-10-17 Mikhail Khodjaiants
Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/ChangeLog,v
retrieving revision 1.21
diff -u -r1.21 ChangeLog
--- ChangeLog 18 Oct 2002 21:54:37 -0000 1.21
+++ ChangeLog 19 Oct 2002 19:14:14 -0000
@@ -1,3 +1,16 @@
+2002-10-19 Alain Magloire
+
+ The UI needs to be told when the memory changes
+ so it can update the memory view. The responsability
+ of this been push to the CDI implementation to generate
+ events(ICDIMemoryChangedEvent) for modified memories. The
+ getSource() method of the class should return an ICDIMemoryBlock.
+ Note that the CDI implementation will only try to generate
+ the event for ICDIMemoryBlock that are not frozen(setFrozen()) since this
+ is a potentially very time consuming operation.
+
+ * src/.../cdi/even/ICDIMemoryChangedEvent.java: New Class.
+
2002-10-17 Mikhail Khodjaiants
Implementing the memory view support:
* CFormattedMemoryBlock.java: implementation of the 'dispose' method added.
Index: src/org/eclipse/cdt/debug/core/cdi/event/ICDIMemoryChangedEvent.java
===================================================================
RCS file: src/org/eclipse/cdt/debug/core/cdi/event/ICDIMemoryChangedEvent.java
diff -N src/org/eclipse/cdt/debug/core/cdi/event/ICDIMemoryChangedEvent.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ src/org/eclipse/cdt/debug/core/cdi/event/ICDIMemoryChangedEvent.java 19 Oct 2002 19:14:15 -0000
@@ -0,0 +1,19 @@
+/*
+ *(c) Copyright QNX Software Systems Ltd. 2002.
+ * All Rights Reserved.
+ *
+ */
+package org.eclipse.cdt.debug.core.cdi.event;
+
+/**
+ *
+ * Notifies that the originator has changed.
+ *
+ */
+public interface ICDIMemoryChangedEvent extends ICDIChangedEvent
+{
+ /**
+ * @return the modified addresses.
+ */
+ Long[] getAddresses();
+}