changeset 7955:d89f3f7fd22b

[SCENEBUILDER] Removed some legacy calls to Selection.clear() from AddPropertyJob, AddPropertyValueJob and RemovePropertyJob.
author Eric Le Ponner <eric.le.ponner@oracle.com>
date Wed, 03 Sep 2014 11:40:41 +0200
parents bef2f999b920
children bb45978e3156
files apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyJob.java apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyValueJob.java apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyJob.java
diffstat 3 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyJob.java	Wed Sep 03 10:07:56 2014 +0200
+++ b/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyJob.java	Wed Sep 03 11:40:41 2014 +0200
@@ -78,7 +78,6 @@
     public void undo() {
         assert property.getParentInstance() == targetInstance;
         
-        getEditorController().getSelection().clear();
         getEditorController().getFxomDocument().beginUpdate();
         property.removeFromParentInstance();
         getEditorController().getFxomDocument().endUpdate();
--- a/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyValueJob.java	Wed Sep 03 10:07:56 2014 +0200
+++ b/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyValueJob.java	Wed Sep 03 11:40:41 2014 +0200
@@ -79,7 +79,6 @@
         assert value.getParentProperty() == targetProperty;
         assert value.getParentCollection() == null;
         
-        getEditorController().getSelection().clear();
         getEditorController().getFxomDocument().beginUpdate();
         value.removeFromParentProperty();
         getEditorController().getFxomDocument().endUpdate();
--- a/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyJob.java	Wed Sep 03 10:07:56 2014 +0200
+++ b/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyJob.java	Wed Sep 03 11:40:41 2014 +0200
@@ -98,7 +98,6 @@
         assert targetProperty.getParentInstance() == parentInstance;
         assert targetProperty.getIndexInParentInstance() == indexInParentInstance;
         
-        getEditorController().getSelection().clear();
         getEditorController().getFxomDocument().beginUpdate();
         targetProperty.removeFromParentInstance();
         getEditorController().getFxomDocument().endUpdate();