Index: /trunk/src/org/openstreetmap/josm/command/ChangeCommand.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/command/ChangeCommand.java	(revision 14282)
+++ /trunk/src/org/openstreetmap/josm/command/ChangeCommand.java	(revision 14283)
@@ -90,4 +90,22 @@
     }
 
+    /**
+     * Returns the original OSM primitive to modify. It belongs to a dataset.
+     * @return the original OSM primitive to modify
+     * @since 14283
+     */
+    public final OsmPrimitive getOsmPrimitive() {
+        return osm;
+    }
+
+    /**
+     * Returns the new OSM primitive.
+     * @return the new OSM primitive
+     * @since 14283
+     */
+    public final OsmPrimitive getNewOsmPrimitive() {
+        return newOsm;
+    }
+
     @Override
     public int hashCode() {
Index: /trunk/src/org/openstreetmap/josm/command/SequenceCommand.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/command/SequenceCommand.java	(revision 14282)
+++ /trunk/src/org/openstreetmap/josm/command/SequenceCommand.java	(revision 14283)
@@ -103,8 +103,8 @@
     }
 
-    @Override public void undoCommand() {
-        // We probably aborted this halfway though the
-        // execution sequence because of a sub-command
-        // error.  We already undid the sub-commands.
+    @Override
+    public void undoCommand() {
+        // We probably aborted this halfway though the execution sequence because of a sub-command error.
+        // We already undid the sub-commands.
         if (!sequenceComplete)
             return;
@@ -112,5 +112,6 @@
     }
 
-    @Override public void fillModifiedData(Collection<OsmPrimitive> modified, Collection<OsmPrimitive> deleted, Collection<OsmPrimitive> added) {
+    @Override
+    public void fillModifiedData(Collection<OsmPrimitive> modified, Collection<OsmPrimitive> deleted, Collection<OsmPrimitive> added) {
         for (Command c : sequence) {
             c.fillModifiedData(modified, deleted, added);
@@ -121,4 +122,13 @@
     public String getDescriptionText() {
         return tr("Sequence: {0}", name);
+    }
+
+    /**
+     * Returns the command name used in description text.
+     * @return the command name
+     * @since 14283
+     */
+    public final String getName() {
+        return name;
     }
 
