Merge remote-tracking branch 'origin/mw' into develop 70/21370/1
authoryonghwan82.jeon <yonghwan82.jeon@samsung.com>
Mon, 19 May 2014 10:30:11 +0000 (19:30 +0900)
committeryonghwan82.jeon <yonghwan82.jeon@samsung.com>
Mon, 19 May 2014 10:30:11 +0000 (19:30 +0900)
* origin/mw:
  UIB : update version.
  NSCREEN : change resolution. Change resolution by Profile type.
  Merge remote-tracking branch 'origin/develop' into mw
  UIB : It is re-add the missing page.
  Merge remote-tracking branch 'origin/develop' into mw
  UIB : Update version.
  Merge remote-tracking branch 'origin/develop' into mw
  Merge remote-tracking branch 'origin/tizen' into mw
  Merge remote-tracking branch 'origin/mw' into tizen
  Merge remote-tracking branch 'origin/tizen' into mw
  Merge remote-tracking branch 'origin/develop' into tizen
  MISC: package version up(0.1.428)
  MISC: package version up(0.1.428)
  CONFIGURATION: Changed configuration model package name
  CONFIGURATION: Changed configuration model package name
  UIBUILDER : Merge tizen branch. Merge tizen branch.

Change-Id: Id40a94a59a8bf6bbfb7684599e570790afcacb73
Signed-off-by: yonghwan82.jeon <yonghwan82.jeon@samsung.com>
org.tizen.webuibuilder/src/org/tizen/webuibuilder/BuilderConstants.java
org.tizen.webuibuilder/src/org/tizen/webuibuilder/model/nscreen/descriptors/NScreenDescriptor.java
package/changelog
package/pkginfo.manifest

index b8ee960..a3d44fa 100644 (file)
@@ -305,4 +305,12 @@ public class BuilderConstants {
        public static final String NSCREENPORTRAIT = "Portrait"; //$NON-NLS-1$
        public static final String NSCREENLANDSCAPE = "Landscape"; //$NON-NLS-1$
 
+       // Profile
+    public static final String PROFILE_MOBILE = "mobile"; //$NON-NLS-1$
+    public static final String PROFILE_WEARABLE = "wearable"; //$NON-NLS-1$
+    public static final String PROFILE_TV = "tv"; //$NON-NLS-1$
+
+    public static final String PROFILE_MOBILE_2_3 = PROFILE_MOBILE + DASH + "2.3"; //$NON-NLS-1$
+    public static final String PROFILE_WEARABLE_2_3 = PROFILE_WEARABLE + DASH + "2.3"; //$NON-NLS-1$
+
 }
index 1abd03e..7d5852e 100644 (file)
@@ -26,6 +26,8 @@ package org.tizen.webuibuilder.model.nscreen.descriptors;
 import java.util.List;
 
 import org.eclipse.core.resources.IFile;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.tizen.webuibuilder.BuilderConstants;
 import org.tizen.webuibuilder.model.app.AppManager;
 import org.tizen.webuibuilder.model.nscreen.NScreenModel;
@@ -34,6 +36,8 @@ import org.tizen.webuibuilder.model.nscreen.NScreenModel.Orientation;
 
 
 public class NScreenDescriptor {
+    Logger logger = LoggerFactory.getLogger(NScreenDescriptor.class);
+
     private AppManager appManger = null;
     private List<NScreenModel> list = null;
 
@@ -51,8 +55,8 @@ public class NScreenDescriptor {
         }
 
         createCommonNscreen();
-        //createOrientationNscreen();
-        //createPixelRatioNscreen();
+        // createOrientationNscreen();
+        // createPixelRatioNscreen();
         createDeviceNscreen();
     }
 
@@ -75,15 +79,25 @@ public class NScreenDescriptor {
     }
 
     public void createDeviceNscreen() {
-        addNscreenModel("Wearable 320x320 (1:1)", NScreenType.RESOLUTION, null, 0, 320, 320);
-        addNscreenModel("Wearable 360x480 (3:4)", NScreenType.RESOLUTION, null, 0, 360, 480);
-        addNscreenModel("Wearable 480x360 (4:3)", NScreenType.RESOLUTION, null, 0, 480, 360);
-        addNscreenModel("Mobile 320x480 (2:3)", NScreenType.RESOLUTION, null, 0, 320, 480);
-        addNscreenModel("Mobile 480x320 (3:2)", NScreenType.RESOLUTION, null, 0, 480, 320);
-        addNscreenModel("Mobile 360x640 (9:16)", NScreenType.RESOLUTION, null, 0, 720, 1280);
-        addNscreenModel("Mobile 640x360 (16:9)", NScreenType.RESOLUTION, null, 0, 1280, 720);
-        addNscreenModel("Mobile 800x1280 (10:16)", NScreenType.RESOLUTION, null, 0, 800, 1280);
-        addNscreenModel("Mobile 1280x800 (16:10)", NScreenType.RESOLUTION, null, 0, 1280, 800);
+        if (BuilderConstants.PROFILE_WEARABLE_2_3.equalsIgnoreCase(appManger.getProjectManager()
+                .getPlatform())) {
+            addNscreenModel("Wearable 320x320 (1:1)", NScreenType.RESOLUTION, null, 0, 320, 320);
+            addNscreenModel("Wearable 360x480 (3:4)", NScreenType.RESOLUTION, null, 0, 360, 480);
+            addNscreenModel("Wearable 480x360 (4:3)", NScreenType.RESOLUTION, null, 0, 480, 360);
+
+        } else if (BuilderConstants.PROFILE_MOBILE_2_3.equalsIgnoreCase(appManger
+                .getProjectManager().getPlatform())) {
+            // addNscreenModel("Mobile 320x480 (2:3)", NScreenType.RESOLUTION, null, 0, 320, 480);
+            // addNscreenModel("Mobile 480x320 (3:2)", NScreenType.RESOLUTION, null, 0, 480, 320);
+
+            addNscreenModel("Mobile 360x640 (9:16)", NScreenType.RESOLUTION, null, 0, 720, 1280);
+            addNscreenModel("Mobile 640x360 (16:9)", NScreenType.RESOLUTION, null, 0, 1280, 720);
+            addNscreenModel("Mobile 800x1280 (10:16)", NScreenType.RESOLUTION, null, 0, 800, 1280);
+            addNscreenModel("Mobile 1280x800 (16:10)", NScreenType.RESOLUTION, null, 0, 1280, 800);
+
+        } else {
+            logger.info("Not support profile :" + appManger.getProjectManager().getPlatform());
+        }
     }
 
     public void addNscreenModel(String name, NScreenType type, Orientation orientation,
index 75b6030..655a0ad 100644 (file)
@@ -1,5 +1,17 @@
+* 0.1.437
+- [Title] update version.
+== yonghwan.jeon <yonghwan82.jeon@samsung.com> 2014-05-19
+* 0.1.436
+- [Title] update version.
+== yonghwan.jeon <yonghwan82.jeon@samsung.com> 2014-05-19
+* 0.1.435
+- [Title] Remove duplicate pageView code in TizeIDE perspective.
+== yonghwan.jeon <yonghwan82.jeon@samsung.com> 2014-05-17
+* 0.1.434
+- [Title] Fix CssSelector managing on Part
+== nakyoung2.choi <nakyoung2.choi@samsung.com> 2014-05-17
 * 0.1.433
-- [Title] Modify QT library path
+- [Title] Modify QT library path in MACOS.
 == yonghwan.jeon <yonghwan82.jeon@samsung.com> 2014-05-16
 * 0.1.432
 - [Title] update version
index a00cad0..f848b5c 100644 (file)
@@ -1,5 +1,5 @@
 Package : web-ui-builder-eplugin
-Version :0.1.433
+Version :0.1.437
 OS : ubuntu-32
 Build-host-os : ubuntu-32
 Maintainer : Hoon Kang <h245.kang@samsung.com>
@@ -11,7 +11,7 @@ Source : web-ui-builder-eplugin
 Description : 
 
 Package : web-ui-builder-eplugin
-Version :0.1.433
+Version :0.1.437
 OS : ubuntu-64
 Build-host-os : ubuntu-64
 Maintainer : Hoon Kang <h245.kang@samsung.com>
@@ -23,7 +23,7 @@ Source : web-ui-builder-eplugin
 Description : 
 
 Package : web-ui-builder-eplugin
-Version :0.1.433
+Version :0.1.437
 OS : windows-32
 Build-host-os : ubuntu-32
 Maintainer : Hoon Kang <h245.kang@samsung.com>
@@ -35,7 +35,7 @@ Source : web-ui-builder-eplugin
 Description :
 
 Package : web-ui-builder-eplugin
-Version :0.1.433
+Version :0.1.437
 OS : windows-64
 Build-host-os : ubuntu-64
 Maintainer : Hoon Kang <h245.kang@samsung.com>
@@ -47,7 +47,7 @@ Source : web-ui-builder-eplugin
 Description :
 
 Package : web-ui-builder-eplugin
-Version :0.1.433
+Version :0.1.437
 OS : macos-64
 Build-host-os : ubuntu-64
 Maintainer : Hoon Kang <h245.kang@samsung.com>