ANIMATOR : Clean up model related code 00/19600/1
authorseongwon.shim <seongwon.shim@samsung.com>
Wed, 16 Apr 2014 09:35:47 +0000 (18:35 +0900)
committerseongwon.shim <seongwon.shim@samsung.com>
Wed, 16 Apr 2014 09:35:47 +0000 (18:35 +0900)
Remove unused files and method

Change-Id: Ic3a447d5f79449a5a8e05cf1241f32796a77b3d2
Signed-off-by: seongwon.shim <seongwon.shim@samsung.com>
20 files changed:
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/gef/command/AnimationPropertyChangeCommand.java [moved from org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/gef/command/SetCssStyleAnimationPropertyCommand.java with 91% similarity]
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/AnimatorKeyframe.java
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/AnimatorModelManager.java
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/EventFireDelegate.java
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/EventManager.java
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/Frame.java [deleted file]
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/IDGenerator.java
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/IWidgetPropertiesProvider.java [deleted file]
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/Keyframe.java [deleted file]
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/Selector.java [deleted file]
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/WidgetPropertiesProvider.java [deleted file]
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/deserializer/AnimatorPagePartDeserializer.java [moved from org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/deserializer/PagePartDeserializer.java with 95% similarity]
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/deserializer/AnimatorPartDeserializer.java [moved from org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/deserializer/DocumentPartDeserializer.java with 96% similarity]
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/deserializer/AnimatorWidgetPartDeserializer.java [moved from org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/deserializer/WidgetPartDeserializer.java with 93% similarity]
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/io/AnimatorFileReader.java
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/io/AnimatorFileWriter.java
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/serializer/AnimatorPagePartSerializer.java [moved from org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/serializer/PagePartSerializer.java with 96% similarity]
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/serializer/AnimatorPartSerializer.java [moved from org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/serializer/DocumentPartSerializer.java with 96% similarity]
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/serializer/AnimatorWidgetPartSerializer.java [moved from org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/serializer/WidgetPartSerializer.java with 96% similarity]
org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/ui/views/timeline/tool/TimelineToolbar.java

@@ -37,7 +37,7 @@ import org.tizen.webuibuilder.animator.utils.AnimatorUtils;
 /**
  * A SetCssStyleAnimationPropertyCommand class
  */
-public class SetCssStyleAnimationPropertyCommand extends Command {
+public class AnimationPropertyChangeCommand extends Command {
 
     private AnimatorFrame frame;
     private String Key;
@@ -51,7 +51,7 @@ public class SetCssStyleAnimationPropertyCommand extends Command {
      * @param key
      * @param value
      */
-    public SetCssStyleAnimationPropertyCommand(AnimatorFrame frame, String key, String value) {
+    public AnimationPropertyChangeCommand(AnimatorFrame frame, String key, String value) {
         this(frame, key, value, true);
     }
 
@@ -63,7 +63,7 @@ public class SetCssStyleAnimationPropertyCommand extends Command {
      * @param value
      * @param undoable
      */
-    public SetCssStyleAnimationPropertyCommand(AnimatorFrame frame, String key, String value,
+    public AnimationPropertyChangeCommand(AnimatorFrame frame, String key, String value,
             boolean undoable) {
         this.frame = frame;
         this.Key = key;
index 7ea8ce2..47d6b98 100644 (file)
@@ -23,9 +23,6 @@
 
 package org.tizen.webuibuilder.animator.model;
 
-import java.util.Map;
-import java.util.Set;
-
 import org.tizen.webuibuilder.animator.AnimatorConstants;
 import org.tizen.webuibuilder.animator.utils.AnimatorUtils;
 
index e2c43ed..078093b 100644 (file)
@@ -345,10 +345,8 @@ public class AnimatorModelManager implements ISelectionListener, IPageDataSetLis
      * @param origin
      * @param model
      */
-    public void fireEvent(EventType event, Origin origin, AnimatorModel model) {
-       if(rootPart instanceof AnimatorPart){
-               ((AnimatorPart)rootPart).fireEvent(new AnimatorModelEvent(event, origin, model));
-       }        
+    public void fireEvent(EventType event, Origin origin, AnimatorModel model) {       
+               eventSource.fireEvent(event, origin, model);
     }
 
     /**
@@ -360,10 +358,8 @@ public class AnimatorModelManager implements ISelectionListener, IPageDataSetLis
      * @param animatorProperty
      */
     public void fireEvent(EventType event, Origin origin, AnimatorModel model,
-                          AnimatorProperty animatorProperty) {
-       if(rootPart instanceof AnimatorPart){
-               ((AnimatorPart)rootPart).fireEvent(new AnimatorModelEvent(event, origin, model, animatorProperty));
-       }
+                          AnimatorProperty animatorProperty) { 
+               eventSource.fireEvent(event, origin, model, animatorProperty);
     }
 
     /**
@@ -376,8 +372,7 @@ public class AnimatorModelManager implements ISelectionListener, IPageDataSetLis
      */
     public void fireEvent(AnimatorModel fireModel, EventType event, Origin origin,
                           AnimatorModel model) {
-        if (fireModel != null)
-            fireModel.fireEvent(new AnimatorModelEvent(event, origin, model));
+       eventSource.fireEvent(fireModel, event, origin, model);
     }
 
     /**
@@ -391,8 +386,7 @@ public class AnimatorModelManager implements ISelectionListener, IPageDataSetLis
      */
     public void fireEvent(AnimatorModel fireModel, EventType event, Origin origin,
                           AnimatorModel model, List<AnimatorModel> widgets) {
-        if (fireModel != null)
-            fireModel.fireEvent(new AnimatorModelEvent(event, origin, widgets));
+       eventSource.fireEvent(fireModel, event, origin, model, widgets);
     }
 
     /**
@@ -406,10 +400,7 @@ public class AnimatorModelManager implements ISelectionListener, IPageDataSetLis
      */
     public void fireEvent(boolean fireRootPart, AnimatorModel fireModel, EventType eventType,
                           Origin origin, AnimatorModel model) {
-        if (fireRootPart)
-            fireEvent(eventType, origin, model);
-
-        fireEvent(fireModel, eventType, origin, model);
+        eventSource.fireEvent(fireRootPart, fireModel, eventType, origin, model);
     }
 
     /******************************************************************************************************************
index c3419b7..2f062bf 100644 (file)
@@ -32,7 +32,7 @@ import org.tizen.webuibuilder.animator.model.AnimatorModelEvent.Origin;
 /**
  * A EventFireDelegate interface
  */
-public interface EventFireDelegate {
+public interface EventFireDelegate {   
     public void fireEvent(EventType event, Origin origin, AnimatorModel model);
 
     public void fireEvent(EventType event, Origin origin, AnimatorModel model,
index 27b1815..ea0bcb0 100644 (file)
@@ -44,7 +44,6 @@ public class EventManager implements EventFireDelegate {
     public EventManager(AnimatorPart rootPart) {
         this.rootPart = rootPart;
     }
-
     /**
      * Fire event from rootPart
      * 
diff --git a/org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/Frame.java b/org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/Frame.java
deleted file mode 100644 (file)
index 2647421..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*\r
- * UI Builder\r
- *\r
- * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- * Contributors:\r
- * - S-Core Co., Ltd\r
- *\r
- */\r
-\r
-\r
-package org.tizen.webuibuilder.animator.model;\r
-\r
-public class Frame {\r
-\r
-}
\ No newline at end of file
index 4463db7..1ea7c2c 100644 (file)
@@ -35,10 +35,6 @@ import org.tizen.webuibuilder.animator.AnimatorConstants;
  */
 public class IDGenerator {
     private Map<String, Integer> idMap = new HashMap<String, Integer>();
-    private static String animationIdMapKey = "Animation";
-    private static String selectorIdMapKey = "Selector";
-    private static String keyframeIdMapKey = "Keyframe";
-    private static String actionIdMapKey = "Action";
 
     public IDGenerator() {
 
diff --git a/org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/IWidgetPropertiesProvider.java b/org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/IWidgetPropertiesProvider.java
deleted file mode 100644 (file)
index 7342946..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * UI Builder
- *
- * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * Contributors:
- * - S-Core Co., Ltd
- *
- */
-
-
-package org.tizen.webuibuilder.animator.model;
-
-import java.util.Map;
-import java.util.Set;
-
-
-public interface IWidgetPropertiesProvider {
-    Map<String, String> getWidgetProperties(Set<String> propertiesUsed);
-}
diff --git a/org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/Keyframe.java b/org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/Keyframe.java
deleted file mode 100644 (file)
index c7e8038..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*\r
- * UI Builder\r
- *\r
- * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- * Contributors:\r
- * - S-Core Co., Ltd\r
- *\r
- */\r
-\r
-\r
-package org.tizen.webuibuilder.animator.model;\r
-\r
-public class Keyframe {\r
-\r
-}
\ No newline at end of file
diff --git a/org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/Selector.java b/org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/Selector.java
deleted file mode 100644 (file)
index 542753d..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * UI Builder
- *
- * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * Contributors:
- * - S-Core Co., Ltd
- *
- */
-
-
-package org.tizen.webuibuilder.animator.model;
-
-import java.util.List;
-import java.util.Map;
-import java.util.Properties;
-
-
-public class Selector {
-    private List<Keyframe> keyframes;
-
-    /**
-     * if there exists a frame in that time, no op else create new Keyframe
-     * 
-     * @param time
-     */
-    public void addFrame(double time) {
-
-    }
-
-    public void changePropertyAtTime(String key, String value, double time) {
-
-    }
-
-    public Map<String, Properties> getMap() {
-        return null;
-    }
-
-    public List<Keyframe> getKeyframes() {
-        return keyframes;
-    }
-
-}
diff --git a/org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/WidgetPropertiesProvider.java b/org.tizen.webuibuilder/src/org/tizen/webuibuilder/animator/model/WidgetPropertiesProvider.java
deleted file mode 100644 (file)
index f7d0e56..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * UI Builder
- *
- * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * Contributors:
- * - S-Core Co., Ltd
- *
- */
-
-
-package org.tizen.webuibuilder.animator.model;
-
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Set;
-
-
-/**
- * A class that implements widget property provider
- */
-public class WidgetPropertiesProvider implements IWidgetPropertiesProvider {
-
-    @Override
-    public Map<String, String> getWidgetProperties(Set<String> propertiesUsed) {
-        Map<String, String> properties = new HashMap<String, String>();
-
-        return properties;
-    }
-
-}
@@ -44,7 +44,7 @@ import com.google.gson.JsonParseException;
 /**
  * A class that implements deserializer for PagePart
  */
-public class PagePartDeserializer implements JsonDeserializer<AnimatorPagePart> {
+public class AnimatorPagePartDeserializer implements JsonDeserializer<AnimatorPagePart> {
 
     private Part rootPart;
     private List<AnimatorModelDeserializer<AnimatorModel>> deserializerList = null;
@@ -55,7 +55,7 @@ public class PagePartDeserializer implements JsonDeserializer<AnimatorPagePart>
      * @param part
      * @param deserializerList
      */
-    public PagePartDeserializer(Part part, List<AnimatorModelDeserializer<AnimatorModel>> deserializerList) {
+    public AnimatorPagePartDeserializer(Part part, List<AnimatorModelDeserializer<AnimatorModel>> deserializerList) {
         this.rootPart = part;
         this.deserializerList = deserializerList;
     }
@@ -38,7 +38,7 @@ import com.google.gson.JsonParseException;
 /**
  * A class that implements deserializer for DocumentPart
  */
-public class DocumentPartDeserializer implements JsonDeserializer<AnimatorPart> {
+public class AnimatorPartDeserializer implements JsonDeserializer<AnimatorPart> {
 
     /*
      * (non-Javadoc)
@@ -40,14 +40,14 @@ import com.google.gson.JsonParseException;
 /**
  * A class that implements deserializer for WidgetPart
  */
-public class WidgetPartDeserializer extends AnimatorModelDeserializer<AnimatorModel> {
+public class AnimatorWidgetPartDeserializer extends AnimatorModelDeserializer<AnimatorModel> {
        
        
-       public WidgetPartDeserializer() {
+       public AnimatorWidgetPartDeserializer() {
                super();
        }
 
-    public WidgetPartDeserializer(AnimatorModelFactory modelFactory) {
+    public AnimatorWidgetPartDeserializer(AnimatorModelFactory modelFactory) {
                super(modelFactory);
        }
 
index 527d8f3..3b5ea49 100644 (file)
@@ -51,9 +51,9 @@ import org.tizen.webuibuilder.animator.model.deserializer.AnimatorModelDeseriali
 import org.tizen.webuibuilder.animator.model.deserializer.AnimatorSelectorDeserializer;
 import org.tizen.webuibuilder.animator.model.deserializer.AnimatorTriggerDeserializer;
 import org.tizen.webuibuilder.animator.model.deserializer.AnimatorWidgetDeserializer;
-import org.tizen.webuibuilder.animator.model.deserializer.DocumentPartDeserializer;
-import org.tizen.webuibuilder.animator.model.deserializer.PagePartDeserializer;
-import org.tizen.webuibuilder.animator.model.deserializer.WidgetPartDeserializer;
+import org.tizen.webuibuilder.animator.model.deserializer.AnimatorPartDeserializer;
+import org.tizen.webuibuilder.animator.model.deserializer.AnimatorPagePartDeserializer;
+import org.tizen.webuibuilder.animator.model.deserializer.AnimatorWidgetPartDeserializer;
 import org.tizen.webuibuilder.animator.model.part.AnimatorPagePart;
 import org.tizen.webuibuilder.animator.model.part.AnimatorPart;
 import org.tizen.webuibuilder.animator.model.part.AnimatorWidgetPart;
@@ -101,7 +101,7 @@ public class AnimatorFileReader {
         AnimatorModelManager manager =
                 AnimatorModelManager.getInstance(AnimatorUtils.getAppManager());
         
-        WidgetPartDeserializer widgetPartDeserializer = new WidgetPartDeserializer();
+        AnimatorWidgetPartDeserializer widgetPartDeserializer = new AnimatorWidgetPartDeserializer();
         AnimatorAnimationDeserializer animatorAnimationDeserializer =
                 new AnimatorAnimationDeserializer(manager.getModelFactory());
         AnimatorWidgetDeserializer animatorWidgetDeserializer = new AnimatorWidgetDeserializer(manager.getModelFactory());
@@ -112,8 +112,8 @@ public class AnimatorFileReader {
         deserializerList.add(animatorAnimationDeserializer);
         deserializerList.add(animatorWidgetDeserializer);
 
-        gsonBuilder.registerTypeAdapter(AnimatorPart.class, new DocumentPartDeserializer());
-        gsonBuilder.registerTypeAdapter(AnimatorPagePart.class, new PagePartDeserializer(rootPart,
+        gsonBuilder.registerTypeAdapter(AnimatorPart.class, new AnimatorPartDeserializer());
+        gsonBuilder.registerTypeAdapter(AnimatorPagePart.class, new AnimatorPagePartDeserializer(rootPart,
                                                                                  deserializerList));
         gsonBuilder.registerTypeAdapter(AnimatorWidgetPart.class, widgetPartDeserializer);
         gsonBuilder.registerTypeAdapter(AnimatorAnimation.class, animatorAnimationDeserializer);
index 50644b6..c73363d 100644 (file)
@@ -49,9 +49,9 @@ import org.tizen.webuibuilder.animator.model.serializer.AnimatorFrameSerializer;
 import org.tizen.webuibuilder.animator.model.serializer.AnimatorKeyframeSerializer;
 import org.tizen.webuibuilder.animator.model.serializer.AnimatorSelectorSerializer;
 import org.tizen.webuibuilder.animator.model.serializer.AnimatorTriggerSerializer;
-import org.tizen.webuibuilder.animator.model.serializer.DocumentPartSerializer;
-import org.tizen.webuibuilder.animator.model.serializer.PagePartSerializer;
-import org.tizen.webuibuilder.animator.model.serializer.WidgetPartSerializer;
+import org.tizen.webuibuilder.animator.model.serializer.AnimatorPartSerializer;
+import org.tizen.webuibuilder.animator.model.serializer.AnimatorPagePartSerializer;
+import org.tizen.webuibuilder.animator.model.serializer.AnimatorWidgetPartSerializer;
 import org.tizen.webuibuilder.animator.utils.AnimatorUtils;
 import org.tizen.webuibuilder.model.Part;
 import org.tizen.webuibuilder.model.app.AppManager;
@@ -218,9 +218,9 @@ public class AnimatorFileWriter {
 
         GsonBuilder gsonBuilder = new GsonBuilder();
         //gsonBuilder.registerTypeAdapter(DocumentPart.class, new DocumentPartSerializer());
-        gsonBuilder.registerTypeAdapter(AnimatorPart.class, new DocumentPartSerializer());
-        gsonBuilder.registerTypeAdapter(AnimatorPagePart.class, new PagePartSerializer(appManager));
-        gsonBuilder.registerTypeAdapter(AnimatorWidgetPart.class, new WidgetPartSerializer());
+        gsonBuilder.registerTypeAdapter(AnimatorPart.class, new AnimatorPartSerializer());
+        gsonBuilder.registerTypeAdapter(AnimatorPagePart.class, new AnimatorPagePartSerializer(appManager));
+        gsonBuilder.registerTypeAdapter(AnimatorWidgetPart.class, new AnimatorWidgetPartSerializer());
         gsonBuilder.registerTypeAdapter(AnimatorAnimation.class, new AnimatorAnimationSerializer());
         gsonBuilder.registerTypeAdapter(AnimatorSelector.class, new AnimatorSelectorSerializer());
         gsonBuilder.registerTypeAdapter(AnimatorKeyframe.class, new AnimatorKeyframeSerializer());
@@ -44,11 +44,11 @@ import com.google.gson.JsonSerializer;
 /**
  * A class that implements serializer for PagePart
  */
-public class PagePartSerializer implements JsonSerializer<AnimatorPagePart> {
+public class AnimatorPagePartSerializer implements JsonSerializer<AnimatorPagePart> {
 
     private AppManager appManager;
 
-    public PagePartSerializer(AppManager appManager) {
+    public AnimatorPagePartSerializer(AppManager appManager) {
         this.appManager = appManager;
     }
 
@@ -38,7 +38,7 @@ import com.google.gson.JsonSerializer;
 /**
  * A class that implements serializer for DocumentPart
  */
-public class DocumentPartSerializer implements JsonSerializer<AnimatorPart> {
+public class AnimatorPartSerializer implements JsonSerializer<AnimatorPart> {
 
     /*
      * (non-Javadoc)
@@ -40,7 +40,7 @@ import com.google.gson.JsonSerializer;
 /**
  * A class that implements serializer for WidgetPart
  */
-public class WidgetPartSerializer implements JsonSerializer<AnimatorWidgetPart> {
+public class AnimatorWidgetPartSerializer implements JsonSerializer<AnimatorWidgetPart> {
 
     /*
      * (non-Javadoc)
index 641c8e4..25eb817 100644 (file)
@@ -49,7 +49,7 @@ import org.eclipse.swt.widgets.Menu;
 import org.eclipse.swt.widgets.MenuItem;
 import org.eclipse.swt.widgets.ScrollBar;
 import org.tizen.webuibuilder.BuilderConstants;
-import org.tizen.webuibuilder.animator.gef.command.SetCssStyleAnimationPropertyCommand;
+import org.tizen.webuibuilder.animator.gef.command.AnimationPropertyChangeCommand;
 import org.tizen.webuibuilder.animator.gef.viewer.AnimationEvent;
 import org.tizen.webuibuilder.animator.gef.viewer.AnimatorBrowserViewer;
 import org.tizen.webuibuilder.animator.gef.viewer.IAnimationListener;
@@ -826,8 +826,8 @@ public class TimelineToolbar extends Composite implements IAnimationListener {
 
                     String beforeEaseData = frame.getEasingProperty();
                     if (!beforeEaseData.equals(easeData)) {
-                        SetCssStyleAnimationPropertyCommand propertyCommand =
-                                new SetCssStyleAnimationPropertyCommand(
+                        AnimationPropertyChangeCommand propertyCommand =
+                                new AnimationPropertyChangeCommand(
                                                                         frame,
                                                                         "-webkit-animation-timing-function",
                                                                         easeData);