[Title] emulator-manager: make mobile plugin and seperate project emulator-maanger...
authorjihye kim <jihye1128.kim@samsung.com>
Wed, 24 Jul 2013 05:20:29 +0000 (14:20 +0900)
committerjihye kim <jihye1128.kim@samsung.com>
Mon, 19 Aug 2013 11:40:38 +0000 (20:40 +0900)
[Desc.] seperate project emulator-manager and mobile-plugin and make mobile plugin
[Issue] N/A

Signed-off-by: jihye kim <jihye1128.kim@samsung.com>
229 files changed:
.gitignore
emulator-manager/.classpath [moved from .classpath with 100% similarity]
emulator-manager/.project [moved from .project with 100% similarity]
emulator-manager/build.xml [moved from build.xml with 94% similarity]
emulator-manager/jaxb_src/org/tizen/emulator/manager/vms/xml/BaseInformationType.java [moved from jaxb_src/org/tizen/emulator/manager/vms/xml/BaseInformationType.java with 92% similarity]
emulator-manager/jaxb_src/org/tizen/emulator/manager/vms/xml/DeviceType.java [moved from jaxb_src/org/tizen/emulator/manager/vms/xml/DeviceType.java with 98% similarity]
emulator-manager/jaxb_src/org/tizen/emulator/manager/vms/xml/DiskImageFormatType.java [moved from jaxb_src/org/tizen/emulator/manager/vms/xml/DiskImageFormatType.java with 98% similarity]
emulator-manager/jaxb_src/org/tizen/emulator/manager/vms/xml/DisplayType.java [moved from jaxb_src/org/tizen/emulator/manager/vms/xml/DisplayType.java with 99% similarity]
emulator-manager/jaxb_src/org/tizen/emulator/manager/vms/xml/EmulatorConfiguration.java [moved from jaxb_src/org/tizen/emulator/manager/vms/xml/EmulatorConfiguration.java with 98% similarity]
emulator-manager/jaxb_src/org/tizen/emulator/manager/vms/xml/ObjectFactory.java [moved from jaxb_src/org/tizen/emulator/manager/vms/xml/ObjectFactory.java with 98% similarity]
emulator-manager/jaxb_src/org/tizen/emulator/manager/vms/xml/RamType.java [moved from jaxb_src/org/tizen/emulator/manager/vms/xml/RamType.java with 98% similarity]
emulator-manager/jaxb_src/org/tizen/emulator/manager/vms/xml/SkinType.java [moved from jaxb_src/org/tizen/emulator/manager/vms/xml/SkinType.java with 97% similarity]
emulator-manager/jaxb_src/org/tizen/emulator/manager/vms/xml/TouchType.java [moved from jaxb_src/org/tizen/emulator/manager/vms/xml/TouchType.java with 97% similarity]
emulator-manager/jaxb_src/org/tizen/emulator/manager/vms/xml/UsabilityType.java [moved from jaxb_src/org/tizen/emulator/manager/vms/xml/UsabilityType.java with 99% similarity]
emulator-manager/jaxb_src/org/tizen/emulator/manager/vms/xml/package-info.java [moved from jaxb_src/org/tizen/emulator/manager/vms/xml/package-info.java with 90% similarity]
emulator-manager/resource/res/about.png [moved from resource/res/about.png with 100% similarity]
emulator-manager/resource/res/aboutSDK.png [moved from resource/res/aboutSDK.png with 100% similarity]
emulator-manager/resource/res/add_new_hover.gif [moved from resource/res/add_new_hover.gif with 100% similarity]
emulator-manager/resource/res/add_new_nml.gif [moved from resource/res/add_new_nml.gif with 100% similarity]
emulator-manager/resource/res/add_new_pushed.gif [moved from resource/res/add_new_pushed.gif with 100% similarity]
emulator-manager/resource/res/arm.png [moved from resource/res/arm.png with 100% similarity]
emulator-manager/resource/res/arrow_down.gif [moved from resource/res/arrow_down.gif with 100% similarity]
emulator-manager/resource/res/arrow_up.gif [moved from resource/res/arrow_up.gif with 100% similarity]
emulator-manager/resource/res/background.gif [moved from resource/res/background.gif with 100% similarity]
emulator-manager/resource/res/button_file_dis.gif [moved from resource/res/button_file_dis.gif with 100% similarity]
emulator-manager/resource/res/button_file_hover.gif [moved from resource/res/button_file_hover.gif with 100% similarity]
emulator-manager/resource/res/button_file_nml.gif [moved from resource/res/button_file_nml.gif with 100% similarity]
emulator-manager/resource/res/button_file_pushed.gif [moved from resource/res/button_file_pushed.gif with 100% similarity]
emulator-manager/resource/res/button_hover_left.gif [moved from resource/res/button_hover_left.gif with 100% similarity]
emulator-manager/resource/res/button_hover_middle.gif [moved from resource/res/button_hover_middle.gif with 100% similarity]
emulator-manager/resource/res/button_hover_right.gif [moved from resource/res/button_hover_right.gif with 100% similarity]
emulator-manager/resource/res/button_launch_hover.gif [moved from resource/res/button_launch_hover.gif with 100% similarity]
emulator-manager/resource/res/button_launch_nml.gif [moved from resource/res/button_launch_nml.gif with 100% similarity]
emulator-manager/resource/res/button_launch_pushed.gif [moved from resource/res/button_launch_pushed.gif with 100% similarity]
emulator-manager/resource/res/button_nml_left.gif [moved from resource/res/button_nml_left.gif with 100% similarity]
emulator-manager/resource/res/button_nml_middle.gif [moved from resource/res/button_nml_middle.gif with 100% similarity]
emulator-manager/resource/res/button_nml_right.gif [moved from resource/res/button_nml_right.gif with 100% similarity]
emulator-manager/resource/res/button_off_hover.gif [moved from resource/res/button_off_hover.gif with 100% similarity]
emulator-manager/resource/res/button_off_nml.gif [moved from resource/res/button_off_nml.gif with 100% similarity]
emulator-manager/resource/res/button_off_pushed.gif [moved from resource/res/button_off_pushed.gif with 100% similarity]
emulator-manager/resource/res/button_on_hover.gif [moved from resource/res/button_on_hover.gif with 100% similarity]
emulator-manager/resource/res/button_on_nml.gif [moved from resource/res/button_on_nml.gif with 100% similarity]
emulator-manager/resource/res/button_on_pushed.gif [moved from resource/res/button_on_pushed.gif with 100% similarity]
emulator-manager/resource/res/button_pushed_left.gif [moved from resource/res/button_pushed_left.gif with 100% similarity]
emulator-manager/resource/res/button_pushed_middle.gif [moved from resource/res/button_pushed_middle.gif with 100% similarity]
emulator-manager/resource/res/button_pushed_right.gif [moved from resource/res/button_pushed_right.gif with 100% similarity]
emulator-manager/resource/res/cancel.png [moved from resource/res/cancel.png with 100% similarity]
emulator-manager/resource/res/clone.png [moved from resource/res/clone.png with 100% similarity]
emulator-manager/resource/res/confirm.png [moved from resource/res/confirm.png with 100% similarity]
emulator-manager/resource/res/create.png [moved from resource/res/create.png with 100% similarity]
emulator-manager/resource/res/create_new_hover.gif [moved from resource/res/create_new_hover.gif with 100% similarity]
emulator-manager/resource/res/create_new_nml.gif [moved from resource/res/create_new_nml.gif with 100% similarity]
emulator-manager/resource/res/create_new_pushed.gif [moved from resource/res/create_new_pushed.gif with 100% similarity]
emulator-manager/resource/res/createimage.png [moved from resource/res/createimage.png with 100% similarity]
emulator-manager/resource/res/delete.png [moved from resource/res/delete.png with 100% similarity]
emulator-manager/resource/res/detail_category_left.gif [moved from resource/res/detail_category_left.gif with 100% similarity]
emulator-manager/resource/res/detail_category_middle.gif [moved from resource/res/detail_category_middle.gif with 100% similarity]
emulator-manager/resource/res/detail_category_right.gif [moved from resource/res/detail_category_right.gif with 100% similarity]
emulator-manager/resource/res/detail_list_bottom.gif [moved from resource/res/detail_list_bottom.gif with 100% similarity]
emulator-manager/resource/res/detail_list_item.gif [moved from resource/res/detail_list_item.gif with 100% similarity]
emulator-manager/resource/res/detail_list_middle.gif [moved from resource/res/detail_list_middle.gif with 100% similarity]
emulator-manager/resource/res/detail_list_top.gif [moved from resource/res/detail_list_top.gif with 100% similarity]
emulator-manager/resource/res/details.png [moved from resource/res/details.png with 100% similarity]
emulator-manager/resource/res/dropdown_arrow.gif [moved from resource/res/dropdown_arrow.gif with 100% similarity]
emulator-manager/resource/res/dropdown_disable.png [moved from resource/res/dropdown_disable.png with 100% similarity]
emulator-manager/resource/res/dropdown_down.png [moved from resource/res/dropdown_down.png with 100% similarity]
emulator-manager/resource/res/dropdown_hover.png [moved from resource/res/dropdown_hover.png with 100% similarity]
emulator-manager/resource/res/dropdown_normal.png [moved from resource/res/dropdown_normal.png with 100% similarity]
emulator-manager/resource/res/dropdown_push.png [moved from resource/res/dropdown_push.png with 100% similarity]
emulator-manager/resource/res/dropdown_up.png [moved from resource/res/dropdown_up.png with 100% similarity]
emulator-manager/resource/res/em.icns [moved from resource/res/em.icns with 100% similarity]
emulator-manager/resource/res/em.ico [moved from resource/res/em.ico with 100% similarity]
emulator-manager/resource/res/emulator_list_image_hover.gif [moved from resource/res/emulator_list_image_hover.gif with 100% similarity]
emulator-manager/resource/res/emulator_list_image_new_ani.gif [moved from resource/res/emulator_list_image_new_ani.gif with 100% similarity]
emulator-manager/resource/res/emulator_list_image_nml.gif [moved from resource/res/emulator_list_image_nml.gif with 100% similarity]
emulator-manager/resource/res/emulator_list_selected.gif [moved from resource/res/emulator_list_selected.gif with 100% similarity]
emulator-manager/resource/res/emulator_manager_001.jpg [moved from resource/res/emulator_manager_001.jpg with 100% similarity]
emulator-manager/resource/res/folder.png [moved from resource/res/folder.png with 100% similarity]
emulator-manager/resource/res/info_icon_hover.gif [moved from resource/res/info_icon_hover.gif with 100% similarity]
emulator-manager/resource/res/info_icon_nml.gif [moved from resource/res/info_icon_nml.gif with 100% similarity]
emulator-manager/resource/res/info_icon_pushed.gif [moved from resource/res/info_icon_pushed.gif with 100% similarity]
emulator-manager/resource/res/inputbox_off_left.gif [moved from resource/res/inputbox_off_left.gif with 100% similarity]
emulator-manager/resource/res/inputbox_off_middle.gif [moved from resource/res/inputbox_off_middle.gif with 100% similarity]
emulator-manager/resource/res/inputbox_off_right.gif [moved from resource/res/inputbox_off_right.gif with 100% similarity]
emulator-manager/resource/res/inputbox_on_left.gif [moved from resource/res/inputbox_on_left.gif with 100% similarity]
emulator-manager/resource/res/inputbox_on_middle.gif [moved from resource/res/inputbox_on_middle.gif with 100% similarity]
emulator-manager/resource/res/inputbox_on_right.gif [moved from resource/res/inputbox_on_right.gif with 100% similarity]
emulator-manager/resource/res/launch.png [moved from resource/res/launch.png with 100% similarity]
emulator-manager/resource/res/modify.png [moved from resource/res/modify.png with 100% similarity]
emulator-manager/resource/res/modify_cancel_hover.gif [moved from resource/res/modify_cancel_hover.gif with 100% similarity]
emulator-manager/resource/res/modify_cancel_nml.gif [moved from resource/res/modify_cancel_nml.gif with 100% similarity]
emulator-manager/resource/res/modify_cancel_pushed.gif [moved from resource/res/modify_cancel_pushed.gif with 100% similarity]
emulator-manager/resource/res/modify_hover.gif [moved from resource/res/modify_hover.gif with 100% similarity]
emulator-manager/resource/res/modify_nml.gif [moved from resource/res/modify_nml.gif with 100% similarity]
emulator-manager/resource/res/modify_pushed.gif [moved from resource/res/modify_pushed.gif with 100% similarity]
emulator-manager/resource/res/radio_off.png [moved from resource/res/radio_off.png with 100% similarity]
emulator-manager/resource/res/radio_on.png [moved from resource/res/radio_on.png with 100% similarity]
emulator-manager/resource/res/refresh.png [moved from resource/res/refresh.png with 100% similarity]
emulator-manager/resource/res/reset.png [moved from resource/res/reset.png with 100% similarity]
emulator-manager/resource/res/reset_icon_hover.gif [moved from resource/res/reset_icon_hover.gif with 100% similarity]
emulator-manager/resource/res/reset_icon_nml.gif [moved from resource/res/reset_icon_nml.gif with 100% similarity]
emulator-manager/resource/res/reset_icon_pushed.gif [moved from resource/res/reset_icon_pushed.gif with 100% similarity]
emulator-manager/resource/res/scrollbar_back.gif [moved from resource/res/scrollbar_back.gif with 100% similarity]
emulator-manager/resource/res/tab_selected_left.gif [moved from resource/res/tab_selected_left.gif with 100% similarity]
emulator-manager/resource/res/tab_selected_middle.gif [moved from resource/res/tab_selected_middle.gif with 100% similarity]
emulator-manager/resource/res/tab_selected_right.gif [moved from resource/res/tab_selected_right.gif with 100% similarity]
emulator-manager/resource/res/tab_unselected_left.gif [moved from resource/res/tab_unselected_left.gif with 100% similarity]
emulator-manager/resource/res/tab_unselected_left_hover.gif [moved from resource/res/tab_unselected_left_hover.gif with 100% similarity]
emulator-manager/resource/res/tab_unselected_middle.gif [moved from resource/res/tab_unselected_middle.gif with 100% similarity]
emulator-manager/resource/res/tab_unselected_middle_hover.gif [moved from resource/res/tab_unselected_middle_hover.gif with 100% similarity]
emulator-manager/resource/res/tab_unselected_right.gif [moved from resource/res/tab_unselected_right.gif with 100% similarity]
emulator-manager/resource/res/tab_unselected_right_hover.gif [moved from resource/res/tab_unselected_right_hover.gif with 100% similarity]
emulator-manager/resource/res/x86.png [moved from resource/res/x86.png with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/EmulatorManager.java [moved from src/org/tizen/emulator/manager/EmulatorManager.java with 99% similarity]
emulator-manager/src/org/tizen/emulator/manager/console/Action.java [moved from src/org/tizen/emulator/manager/console/Action.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/console/ActionList.java [moved from src/org/tizen/emulator/manager/console/ActionList.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/console/CommandLineParser.java [moved from src/org/tizen/emulator/manager/console/CommandLineParser.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/console/ConsoleCreateVM.java [moved from src/org/tizen/emulator/manager/console/ConsoleCreateVM.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/console/ConsoleException.java [moved from src/org/tizen/emulator/manager/console/ConsoleException.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/console/ConsoleModifyVM.java [moved from src/org/tizen/emulator/manager/console/ConsoleModifyVM.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/console/ConsoleProcessor.java [moved from src/org/tizen/emulator/manager/console/ConsoleProcessor.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/logging/EMLogger.java [moved from src/org/tizen/emulator/manager/logging/EMLogger.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/platform/BaseImage.java [moved from src/org/tizen/emulator/manager/platform/BaseImage.java with 99% similarity]
emulator-manager/src/org/tizen/emulator/manager/platform/CustomBaseImage.java [moved from src/org/tizen/emulator/manager/platform/CustomBaseImage.java with 97% similarity]
emulator-manager/src/org/tizen/emulator/manager/platform/CustomPlatform.java [moved from src/org/tizen/emulator/manager/platform/CustomPlatform.java with 97% similarity]
emulator-manager/src/org/tizen/emulator/manager/platform/Platform.java [moved from src/org/tizen/emulator/manager/platform/Platform.java with 98% similarity]
emulator-manager/src/org/tizen/emulator/manager/platform/Skin.java [moved from src/org/tizen/emulator/manager/platform/Skin.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/platform/SkinList.java [moved from src/org/tizen/emulator/manager/platform/SkinList.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/platform/TotalPlatform.java [moved from src/org/tizen/emulator/manager/platform/TotalPlatform.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/plugin/EMPluginList.java [new file with mode: 0644]
emulator-manager/src/org/tizen/emulator/manager/plugin/Extension.java [new file with mode: 0644]
emulator-manager/src/org/tizen/emulator/manager/plugin/ExtensionItem.java [new file with mode: 0644]
emulator-manager/src/org/tizen/emulator/manager/plugin/PluginStringResources.java [new file with mode: 0644]
emulator-manager/src/org/tizen/emulator/manager/resources/ColorResources.java [moved from src/org/tizen/emulator/manager/resources/ColorResources.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/resources/FilePathResources.java [moved from src/org/tizen/emulator/manager/resources/FilePathResources.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/resources/FontResources.java [moved from src/org/tizen/emulator/manager/resources/FontResources.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/resources/ImageResources.java [moved from src/org/tizen/emulator/manager/resources/ImageResources.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/resources/PatchImageResources.java [moved from src/org/tizen/emulator/manager/resources/PatchImageResources.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/resources/StringResources.java [moved from src/org/tizen/emulator/manager/resources/StringResources.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/tool/About.java [moved from src/org/tizen/emulator/manager/tool/About.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/tool/CheckSDCard.java [moved from src/org/tizen/emulator/manager/tool/CheckSDCard.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/tool/CheckVirtualization.java [moved from src/org/tizen/emulator/manager/tool/CheckVirtualization.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/tool/PortHelper.java [moved from src/org/tizen/emulator/manager/tool/PortHelper.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/tool/SelectTemplate.java [moved from src/org/tizen/emulator/manager/tool/SelectTemplate.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/tool/SelectWorkspace.java [moved from src/org/tizen/emulator/manager/tool/SelectWorkspace.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/MainDialog.java [moved from src/org/tizen/emulator/manager/ui/MainDialog.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/MenuHandling.java [moved from src/org/tizen/emulator/manager/ui/MenuHandling.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/StatusBar.java [moved from src/org/tizen/emulator/manager/ui/StatusBar.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/VMsDetailView.java [moved from src/org/tizen/emulator/manager/ui/VMsDetailView.java with 99% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/VMsListView.java [moved from src/org/tizen/emulator/manager/ui/VMsListView.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/VMsMainView.java [moved from src/org/tizen/emulator/manager/ui/VMsMainView.java with 99% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/detail/DetailViewItem.java [moved from src/org/tizen/emulator/manager/ui/detail/DetailViewItem.java with 88% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/detail/DetailViewItemChangeListener.java [moved from src/org/tizen/emulator/manager/ui/detail/DetailViewItemChangeListener.java with 96% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/detail/DetailViewItemList.java [new file with mode: 0644]
emulator-manager/src/org/tizen/emulator/manager/ui/detail/DetailViewPage.java [moved from src/org/tizen/emulator/manager/ui/detail/DetailViewPage.java with 87% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/detail/IInfoViewItem.java [new file with mode: 0644]
emulator-manager/src/org/tizen/emulator/manager/ui/detail/IItemListFactory.java [new file with mode: 0644]
emulator-manager/src/org/tizen/emulator/manager/ui/detail/IModifyViewItem.java [new file with mode: 0644]
emulator-manager/src/org/tizen/emulator/manager/ui/detail/IViewItem.java [new file with mode: 0644]
emulator-manager/src/org/tizen/emulator/manager/ui/detail/ItemChangeState.java [new file with mode: 0644]
emulator-manager/src/org/tizen/emulator/manager/ui/detail/PEmptyViewPage.java [moved from src/org/tizen/emulator/manager/ui/detail/PEmptyViewPage.java with 89% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/detail/PInfoViewPage.java [moved from src/org/tizen/emulator/manager/ui/detail/PInfoViewPage.java with 82% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/detail/PModifyViewPage.java [moved from src/org/tizen/emulator/manager/ui/detail/PModifyViewPage.java with 77% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/dialog/AboutDialog.java [moved from src/org/tizen/emulator/manager/ui/dialog/AboutDialog.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/dialog/CloneDialog.java [moved from src/org/tizen/emulator/manager/ui/dialog/CloneDialog.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/dialog/MessageDialog.java [moved from src/org/tizen/emulator/manager/ui/dialog/MessageDialog.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/dialog/SelectWorkspaceDialog.java [moved from src/org/tizen/emulator/manager/ui/dialog/SelectWorkspaceDialog.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/list/AbstractListView.java [moved from src/org/tizen/emulator/manager/ui/list/AbstractListView.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/list/ColumnContentHelper.java [moved from src/org/tizen/emulator/manager/ui/list/ColumnContentHelper.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/list/ColumnSortListner.java [moved from src/org/tizen/emulator/manager/ui/list/ColumnSortListner.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/list/ExtendTreeListView.java [moved from src/org/tizen/emulator/manager/ui/list/ExtendTreeListView.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/list/ItemListVew.java [moved from src/org/tizen/emulator/manager/ui/list/ItemListVew.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/list/RowItem.java [moved from src/org/tizen/emulator/manager/ui/list/RowItem.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/list/TreeListView.java [moved from src/org/tizen/emulator/manager/ui/list/TreeListView.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/list/VMButtonFactory.java [moved from src/org/tizen/emulator/manager/ui/list/VMButtonFactory.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/tabfolder/PlatformTabFolder.java [moved from src/org/tizen/emulator/manager/ui/tabfolder/PlatformTabFolder.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/tabfolder/PlatformTabItem.java [moved from src/org/tizen/emulator/manager/ui/tabfolder/PlatformTabItem.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/widgets/CustomScrollBar.java [moved from src/org/tizen/emulator/manager/ui/widgets/CustomScrollBar.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/widgets/CustomScrolledComposite.java [moved from src/org/tizen/emulator/manager/ui/widgets/CustomScrolledComposite.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/widgets/ImageButton.java [moved from src/org/tizen/emulator/manager/ui/widgets/ImageButton.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/widgets/ImageCombo.java [moved from src/org/tizen/emulator/manager/ui/widgets/ImageCombo.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/widgets/ImageComboPopup.java [moved from src/org/tizen/emulator/manager/ui/widgets/ImageComboPopup.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/widgets/ImageLabel.java [moved from src/org/tizen/emulator/manager/ui/widgets/ImageLabel.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/widgets/ScrollbarScrolledListener.java [moved from src/org/tizen/emulator/manager/ui/widgets/ScrollbarScrolledListener.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/widgets/VMButton.java [moved from src/org/tizen/emulator/manager/ui/widgets/VMButton.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/widgets/WSTATE.java [moved from src/org/tizen/emulator/manager/ui/widgets/WSTATE.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/ui/widgets/WidgetHelper.java [moved from src/org/tizen/emulator/manager/ui/widgets/WidgetHelper.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/CheckingRunningEmulator.java [moved from src/org/tizen/emulator/manager/vms/CheckingRunningEmulator.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/Creator.java [moved from src/org/tizen/emulator/manager/vms/Creator.java with 99% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/EmulatorVMList.java [moved from src/org/tizen/emulator/manager/vms/EmulatorVMList.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/HelperClass.java [moved from src/org/tizen/emulator/manager/vms/HelperClass.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/Launcher.java [moved from src/org/tizen/emulator/manager/vms/Launcher.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/Modifier.java [moved from src/org/tizen/emulator/manager/vms/Modifier.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/MonitoringEmulator.java [moved from src/org/tizen/emulator/manager/vms/MonitoringEmulator.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/QemuImgProc.java [moved from src/org/tizen/emulator/manager/vms/QemuImgProc.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/RAM_SIZE.java [moved from src/org/tizen/emulator/manager/vms/RAM_SIZE.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/RESOLUTION.java [moved from src/org/tizen/emulator/manager/vms/RESOLUTION.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/SKIN_BUTTON_TYPE.java [moved from src/org/tizen/emulator/manager/vms/SKIN_BUTTON_TYPE.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/SKIN_TYPE.java [moved from src/org/tizen/emulator/manager/vms/SKIN_TYPE.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/VMCreatorException.java [moved from src/org/tizen/emulator/manager/vms/VMCreatorException.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/VMProperty.java [moved from src/org/tizen/emulator/manager/vms/VMProperty.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/VMPropertyValue.java [moved from src/org/tizen/emulator/manager/vms/VMPropertyValue.java with 96% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/VMWorker.java [moved from src/org/tizen/emulator/manager/vms/VMWorker.java with 100% similarity]
emulator-manager/src/org/tizen/emulator/manager/vms/VMWorkerException.java [moved from src/org/tizen/emulator/manager/vms/VMWorkerException.java with 100% similarity]
emulator-manager/supplement/emulator-manager-mac-app.sh [moved from supplement/emulator-manager-mac-app.sh with 100% similarity]
emulator-manager/supplement/emulator-manager-mac.sh [moved from supplement/emulator-manager-mac.sh with 100% similarity]
emulator-manager/supplement/emulator-manager.c [moved from supplement/emulator-manager.c with 100% similarity]
emulator-manager/supplement/emulator-manager.sh [moved from supplement/emulator-manager.sh with 100% similarity]
emulator-manager/supplement/info-mac-app.plist [moved from supplement/info-mac-app.plist with 100% similarity]
emulator-manager/xsd/em.xml [moved from xsd/em.xml with 82% similarity]
emulator-manager/xsd/em.xsd [moved from xsd/em.xsd with 98% similarity]
mobile-plugin/.classpath [new file with mode: 0644]
mobile-plugin/.project [new file with mode: 0644]
mobile-plugin/build.xml [new file with mode: 0644]
mobile-plugin/src/org/tizen/emulator/manager/ui/detail/mobile/ItemListFactory.java [new file with mode: 0644]
mobile-plugin/src/org/tizen/emulator/manager/ui/detail/mobile/TDisplayItem.java [moved from src/org/tizen/emulator/manager/ui/detail/TDisplayItem.java with 98% similarity]
mobile-plugin/src/org/tizen/emulator/manager/ui/detail/mobile/TFileShareItem.java [moved from src/org/tizen/emulator/manager/ui/detail/TFileShareItem.java with 98% similarity]
mobile-plugin/src/org/tizen/emulator/manager/ui/detail/mobile/THWSupportItem.java [moved from src/org/tizen/emulator/manager/ui/detail/THWSupportItem.java with 98% similarity]
mobile-plugin/src/org/tizen/emulator/manager/ui/detail/mobile/TNameTextItem.java [moved from src/org/tizen/emulator/manager/ui/detail/TNameTextItem.java with 97% similarity]
mobile-plugin/src/org/tizen/emulator/manager/ui/detail/mobile/TRAMItem.java [moved from src/org/tizen/emulator/manager/ui/detail/TRAMItem.java with 97% similarity]
mobile-plugin/src/org/tizen/emulator/manager/ui/detail/mobile/TTouchPointItem.java [moved from src/org/tizen/emulator/manager/ui/detail/TTouchPointItem.java with 95% similarity]
mobile-plugin/src/org/tizen/emulator/manager/ui/detail/mobile/VMResources.java [moved from src/org/tizen/emulator/manager/ui/detail/VMResources.java with 98% similarity]
template/standard.xml [moved from standard.xml with 100% similarity]
test/tizen_vms/arm/test1/test1.xml [deleted file]
test/tizen_vms/arm/test2/test2.xml [deleted file]
test/tizen_vms/x86/test1/test1.xml [deleted file]
test/tizen_vms/x86/test2/test2.xml [deleted file]
test/tizen_vms/x86/test3/test3.xml [deleted file]
test/tizen_vms/x86/test4/test4.xml [deleted file]

index f8ac2f3..b69d546 100644 (file)
@@ -1,6 +1,13 @@
-bin
-lib
-build
+emulator-manager/bin
+mobile-plugin/bin
+emulator-manager/lib
+mobile-plugin/lib
+emulator-manager/build
+mobile-plugin/build
 emulator-manager.jar
 emulator-manager.exe
-about.properties
+emulator-manager/emulator-manager.jar
+emulator-manager/emulator-manager.exe
+emulator-manager/about.properties
+emulator-manager/em-plugins
+mobile-plugin/mobile-plugin.jar
similarity index 100%
rename from .classpath
rename to emulator-manager/.classpath
similarity index 100%
rename from .project
rename to emulator-manager/.project
similarity index 94%
rename from build.xml
rename to emulator-manager/build.xml
index 50ab5c1..3128478 100644 (file)
--- a/build.xml
@@ -9,6 +9,11 @@
        <path id="classpath">
                <fileset dir="lib" includes="${swt.file}" />
        </path>
+       
+       <path id="plugin.classpath">
+               <fileset dir="lib" includes="${swt.file}" />
+                   <fileset dir="" includes="${jar.file}" />
+       </path>
 
        <target name="clean">
                <echo message="cleaning..." />
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2012.07.17 at 07:23:49 PM KST 
+// Generated on: 2013.07.22 at 03:22:38 PM KST 
 //
 
 
@@ -45,6 +45,7 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  *                   &lt;element name="currentDiskImage" type="{http://www.tizen.org/em}diskImageFormatType"/>
  *                   &lt;element name="swapDiskImage" type="{http://www.tizen.org/em}diskImageFormatType"/>
  *                 &lt;/sequence>
+ *                 &lt;attribute name="profile" type="{http://www.w3.org/2001/XMLSchema}string" />
  *                 &lt;attribute name="type" use="required">
  *                   &lt;simpleType>
  *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
@@ -170,6 +171,7 @@ public class BaseInformationType {
      *         &lt;element name="currentDiskImage" type="{http://www.tizen.org/em}diskImageFormatType"/>
      *         &lt;element name="swapDiskImage" type="{http://www.tizen.org/em}diskImageFormatType"/>
      *       &lt;/sequence>
+     *       &lt;attribute name="profile" type="{http://www.w3.org/2001/XMLSchema}string" />
      *       &lt;attribute name="type" use="required">
      *         &lt;simpleType>
      *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
@@ -201,6 +203,8 @@ public class BaseInformationType {
         protected DiskImageFormatType currentDiskImage;
         @XmlElement(required = true)
         protected DiskImageFormatType swapDiskImage;
+        @XmlAttribute
+        protected String profile;
         @XmlAttribute(required = true)
         @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
         protected String type;
@@ -282,6 +286,30 @@ public class BaseInformationType {
         }
 
         /**
+         * Gets the value of the profile property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getProfile() {
+            return profile;
+        }
+
+        /**
+         * Sets the value of the profile property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setProfile(String value) {
+            this.profile = value;
+        }
+
+        /**
          * Gets the value of the type property.
          * 
          * @return
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2012.07.17 at 07:23:49 PM KST 
+// Generated on: 2013.07.22 at 03:22:38 PM KST 
 //
 
 
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2012.07.17 at 07:23:49 PM KST 
+// Generated on: 2013.07.22 at 03:22:38 PM KST 
 //
 
 
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2012.07.17 at 07:23:49 PM KST 
+// Generated on: 2013.07.22 at 03:22:38 PM KST 
 //
 
 
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2012.07.17 at 07:23:49 PM KST 
+// Generated on: 2013.07.22 at 03:22:38 PM KST 
 //
 
 
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2012.07.17 at 07:23:49 PM KST 
+// Generated on: 2013.07.22 at 03:22:38 PM KST 
 //
 
 
@@ -37,75 +37,75 @@ public class ObjectFactory {
     }
 
     /**
-     * Create an instance of {@link EmulatorConfiguration }
+     * Create an instance of {@link UsabilityType.FileSharing }
      * 
      */
-    public EmulatorConfiguration createEmulatorConfiguration() {
-        return new EmulatorConfiguration();
+    public UsabilityType.FileSharing createUsabilityTypeFileSharing() {
+        return new UsabilityType.FileSharing();
     }
 
     /**
-     * Create an instance of {@link BaseInformationType }
+     * Create an instance of {@link RamType }
      * 
      */
-    public BaseInformationType createBaseInformationType() {
-        return new BaseInformationType();
+    public RamType createRamType() {
+        return new RamType();
     }
 
     /**
-     * Create an instance of {@link TouchType }
+     * Create an instance of {@link DisplayType }
      * 
      */
-    public TouchType createTouchType() {
-        return new TouchType();
+    public DisplayType createDisplayType() {
+        return new DisplayType();
     }
 
     /**
-     * Create an instance of {@link DisplayType.Resolution }
+     * Create an instance of {@link SkinType }
      * 
      */
-    public DisplayType.Resolution createDisplayTypeResolution() {
-        return new DisplayType.Resolution();
+    public SkinType createSkinType() {
+        return new SkinType();
     }
 
     /**
-     * Create an instance of {@link DisplayType.Density }
+     * Create an instance of {@link EmulatorConfiguration }
      * 
      */
-    public DisplayType.Density createDisplayTypeDensity() {
-        return new DisplayType.Density();
+    public EmulatorConfiguration createEmulatorConfiguration() {
+        return new EmulatorConfiguration();
     }
 
     /**
-     * Create an instance of {@link SkinType }
+     * Create an instance of {@link DisplayType.Density }
      * 
      */
-    public SkinType createSkinType() {
-        return new SkinType();
+    public DisplayType.Density createDisplayTypeDensity() {
+        return new DisplayType.Density();
     }
 
     /**
-     * Create an instance of {@link DeviceType }
+     * Create an instance of {@link DisplayType.SkinPath }
      * 
      */
-    public DeviceType createDeviceType() {
-        return new DeviceType();
+    public DisplayType.SkinPath createDisplayTypeSkinPath() {
+        return new DisplayType.SkinPath();
     }
 
     /**
-     * Create an instance of {@link UsabilityType.FileSharing }
+     * Create an instance of {@link DisplayType.Resolution }
      * 
      */
-    public UsabilityType.FileSharing createUsabilityTypeFileSharing() {
-        return new UsabilityType.FileSharing();
+    public DisplayType.Resolution createDisplayTypeResolution() {
+        return new DisplayType.Resolution();
     }
 
     /**
-     * Create an instance of {@link UsabilityType }
+     * Create an instance of {@link TouchType }
      * 
      */
-    public UsabilityType createUsabilityType() {
-        return new UsabilityType();
+    public TouchType createTouchType() {
+        return new TouchType();
     }
 
     /**
@@ -117,51 +117,51 @@ public class ObjectFactory {
     }
 
     /**
-     * Create an instance of {@link RamType.Size }
+     * Create an instance of {@link DiskImageFormatType }
      * 
      */
-    public RamType.Size createRamTypeSize() {
-        return new RamType.Size();
+    public DiskImageFormatType createDiskImageFormatType() {
+        return new DiskImageFormatType();
     }
 
     /**
-     * Create an instance of {@link RamType }
+     * Create an instance of {@link BaseInformationType.DiskImage }
      * 
      */
-    public RamType createRamType() {
-        return new RamType();
+    public BaseInformationType.DiskImage createBaseInformationTypeDiskImage() {
+        return new BaseInformationType.DiskImage();
     }
 
     /**
-     * Create an instance of {@link BaseInformationType.DiskImage }
+     * Create an instance of {@link UsabilityType }
      * 
      */
-    public BaseInformationType.DiskImage createBaseInformationTypeDiskImage() {
-        return new BaseInformationType.DiskImage();
+    public UsabilityType createUsabilityType() {
+        return new UsabilityType();
     }
 
     /**
-     * Create an instance of {@link DisplayType }
+     * Create an instance of {@link DeviceType }
      * 
      */
-    public DisplayType createDisplayType() {
-        return new DisplayType();
+    public DeviceType createDeviceType() {
+        return new DeviceType();
     }
 
     /**
-     * Create an instance of {@link DiskImageFormatType }
+     * Create an instance of {@link BaseInformationType }
      * 
      */
-    public DiskImageFormatType createDiskImageFormatType() {
-        return new DiskImageFormatType();
+    public BaseInformationType createBaseInformationType() {
+        return new BaseInformationType();
     }
 
     /**
-     * Create an instance of {@link DisplayType.SkinPath }
+     * Create an instance of {@link RamType.Size }
      * 
      */
-    public DisplayType.SkinPath createDisplayTypeSkinPath() {
-        return new DisplayType.SkinPath();
+    public RamType.Size createRamTypeSize() {
+        return new RamType.Size();
     }
 
 }
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2012.07.17 at 07:23:49 PM KST 
+// Generated on: 2013.07.22 at 03:22:38 PM KST 
 //
 
 
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2012.07.17 at 07:23:49 PM KST 
+// Generated on: 2013.07.22 at 03:22:38 PM KST 
 //
 
 
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2012.07.17 at 07:23:49 PM KST 
+// Generated on: 2013.07.22 at 03:22:38 PM KST 
 //
 
 
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2012.07.17 at 07:23:49 PM KST 
+// Generated on: 2013.07.22 at 03:22:38 PM KST 
 //
 
 
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2012.07.17 at 07:23:49 PM KST 
+// Generated on: 2013.07.22 at 03:22:38 PM KST 
 //
 
 @javax.xml.bind.annotation.XmlSchema(namespace = "http://www.tizen.org/em", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
@@ -48,6 +48,7 @@ import org.tizen.emulator.manager.platform.BaseImage;
 import org.tizen.emulator.manager.platform.CustomPlatform;
 import org.tizen.emulator.manager.platform.Platform;
 import org.tizen.emulator.manager.platform.TotalPlatform;
+import org.tizen.emulator.manager.plugin.EMPluginList;
 import org.tizen.emulator.manager.resources.FilePathResources;
 import org.tizen.emulator.manager.resources.StringResources;
 import org.tizen.emulator.manager.tool.About;
@@ -316,6 +317,7 @@ public class EmulatorManager {
                //EmulatorVMs.getInstance().loadProperties();
 
                EmulatorManager.makePlatformList();
+               EMPluginList.loadPlugins();
 
                if (isConsoleMode) {
                        EmulatorManager.startConsoleProcessor();
@@ -81,7 +81,7 @@ public class BaseImage {
                                        throw new IOException("Image name is null. This image can not add.");
                                }
                                version         = prop.getProperty(StringResources.IMAGE_VERSION, platform.getName());
-                               domain          = prop.getProperty(StringResources.PRODUCT_DOMAIN, "Phone");
+                               domain          = prop.getProperty(StringResources.PRODUCT_DOMAIN, "phone").toLowerCase();
                                cpu                     = prop.getProperty(StringResources.TARGET_CPU, "x86");
                                cpu = cpu.toLowerCase();
                        } else {
@@ -39,5 +39,7 @@ public class CustomBaseImage extends BaseImage {
 
                this.name = name;
                this.cpu  = cpu;
+               // TODO
+               this.domain = "phone";
        }
 }
@@ -46,6 +46,8 @@ public class CustomPlatform extends Platform {
                        if (EmulatorManager.getManagerMode() == ManagerModeType.INHOUSE_MODE) {
                                imageList.add(new CustomBaseImage(this, "arm", "arm"));
                        }
+                       // TODO
+                       this.profile = imageList.get(0).getDomain();
                } catch (IOException e) {
                        // TODO
                }
@@ -40,6 +40,7 @@ import org.tizen.emulator.manager.resources.StringResources;
 public class Platform {
        protected String platformName = null;
        protected String platformPath = null;
+       protected String profile = null;
        //protected String version = null;
        protected static int id = 1;
 
@@ -133,6 +134,8 @@ public class Platform {
                for (BaseImage i : imageList) {
                        if (i.getCpu().equals("x86")) {
                                i.setID(id++);
+                               // TODO
+                               profile = i.getDomain();
                                break;
                        }
                }
@@ -151,6 +154,10 @@ public class Platform {
                return platformName;
        }
 
+       public String getProfile() {
+               return profile;
+       }
+
        public void clearVMs() {
                for (BaseImage base : imageList) {
                        base.clearVMsList();
diff --git a/emulator-manager/src/org/tizen/emulator/manager/plugin/EMPluginList.java b/emulator-manager/src/org/tizen/emulator/manager/plugin/EMPluginList.java
new file mode 100644 (file)
index 0000000..2413c72
--- /dev/null
@@ -0,0 +1,65 @@
+package org.tizen.emulator.manager.plugin;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.jar.Attributes;
+import java.util.jar.JarFile;
+
+import org.tizen.emulator.manager.logging.EMLogger;
+
+public class EMPluginList {
+       private static ArrayList<Extension>  exList = new ArrayList<Extension>();
+       static public ArrayList<Extension> getExtensionList() {
+               return exList;
+       }
+
+       static public Extension getExtension(String point) {
+               for (Extension p : exList) {
+                       if (p.getPoint().equals(point)) {
+                               return p;
+                       }
+               }
+               return null;
+       }
+
+       private static boolean init = false;
+       static private void initialize() {
+               init = true;
+               for (String point : PluginStringResources.getPointList()) {
+                       exList.add(new Extension(point));
+               }
+       }
+
+       static public void loadPlugins() {
+               if (!init) {
+                       initialize();
+               }
+               File plugins = new File(PluginStringResources.PluginDir);
+               if (plugins.exists() && plugins.isDirectory()) {
+                       for (File plugin : plugins.listFiles()) {
+                               JarFile jarFile = null;
+                               if (plugin.isFile()) {
+                                       try {
+                                               jarFile = new JarFile(plugin.getAbsolutePath());
+                                       } catch (IOException e) {
+                                               EMLogger.addStaticLog("Faile to load plugin jar file: " + e.getMessage());
+                                               continue;
+                                       }
+                                       Attributes attr = null;
+                                       try {
+                                               attr = jarFile.getManifest().getMainAttributes();
+                                       } catch (IOException e) {
+                                               EMLogger.addStaticLog("Faile to load Manifest file: " + e.getMessage());
+                                       }
+                                       if (attr != null) {
+                                               for (Extension ex : exList) {
+                                                       ex.add(attr, plugin);
+                                                       EMLogger.addStaticLog("Success to add plugin: " + plugin.getName());
+                                               }
+                                       }
+                               }
+                       }
+               }
+       }
+}
diff --git a/emulator-manager/src/org/tizen/emulator/manager/plugin/Extension.java b/emulator-manager/src/org/tizen/emulator/manager/plugin/Extension.java
new file mode 100644 (file)
index 0000000..d74577d
--- /dev/null
@@ -0,0 +1,41 @@
+package org.tizen.emulator.manager.plugin;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.jar.Attributes;
+
+import org.tizen.emulator.manager.logging.EMLogger;
+
+public class Extension {
+       private String point;
+       private ArrayList<ExtensionItem> itemList;
+
+       public Extension(String point) {
+               this.point = point;
+               itemList = new ArrayList<ExtensionItem>();
+       }
+
+       public void add(ExtensionItem item) {
+               itemList.add(item);
+       }
+
+       public void add(Attributes attr, File jarFile) {
+               ExtensionItem item = null;
+               try {
+                       item = new ExtensionItem(this, attr, jarFile);
+               } catch (IOException e) {
+                       EMLogger.getLogger().warning("Fail to create Extension item: " + e.getMessage());
+                       return;
+               }
+               itemList.add(item);
+       }
+
+       public ArrayList<ExtensionItem> getItemList() {
+               return itemList;
+       }
+
+       public String getPoint() {
+               return point;
+       }
+}
diff --git a/emulator-manager/src/org/tizen/emulator/manager/plugin/ExtensionItem.java b/emulator-manager/src/org/tizen/emulator/manager/plugin/ExtensionItem.java
new file mode 100644 (file)
index 0000000..e5c37c3
--- /dev/null
@@ -0,0 +1,87 @@
+package org.tizen.emulator.manager.plugin;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLClassLoader;
+import java.util.jar.Attributes;
+
+import org.tizen.emulator.manager.logging.EMLogger;
+
+public class ExtensionItem {
+       private Extension extension;
+       private String version;
+       private String profile;
+       private String pointClass;
+       private File jarFile;
+
+       public ExtensionItem(Extension ex, Attributes attr) throws IOException {
+               this(ex, attr, null);
+       }
+
+       public ExtensionItem(Extension ex, Attributes attr, File jarFile) throws IOException {
+               this.extension = ex;
+               pointClass = attr.getValue(extension.getPoint());
+               if (pointClass == null) {
+                       throw new IOException("Not found " + extension.getPoint() + " attribute.");
+               }
+               version = attr.getValue(PluginStringResources.PlatformVersion);
+               profile = attr.getValue(PluginStringResources.PlatformProfile);
+               if (profile == null) {
+                       throw new IOException("Not found " + "Platform-Profile" + " attribute.");
+               }
+               this.jarFile = jarFile;
+       }
+
+       public String getVersion() {
+               return version;
+       }
+
+       public String getProfile() {
+               return profile;
+       }
+
+       public String getPointClass() {
+               return pointClass;
+       }
+
+       public void setJar(File jar) {
+               jarFile = jar;
+       }
+
+       public Object createClass() {
+               URL url = null;
+               try {
+                       url = jarFile.toURI().toURL();
+               } catch (MalformedURLException e) {
+                       EMLogger.getLogger().warning("Fail to load url from jar file: " + e.getMessage());
+               }
+
+               if (url != null) {
+                       URLClassLoader loader = null;
+                       loader = URLClassLoader.newInstance(new URL[]{url});
+                       if (loader == null) {
+                               EMLogger.getLogger().warning("URLClassLoader is null");
+                               return null;
+                       }
+                       @SuppressWarnings("rawtypes")
+                       Class classToLoad = null;
+
+                       try {
+                               classToLoad = Class.forName(pointClass, true, loader);
+                       } catch (ClassNotFoundException e) {
+                               EMLogger.getLogger().warning("Fail to load point class jar file: " + e.getMessage());
+                       }
+
+                       try {
+                               return classToLoad.newInstance();
+                       } catch (InstantiationException e) {
+                               EMLogger.getLogger().warning("Fail to create new instance from class: " + e.getMessage());
+                       } catch (IllegalAccessException e) {
+                               EMLogger.getLogger().warning("Fail to create new instance from class: " + e.getMessage());
+                       }
+               }
+               return null;
+       }
+}
diff --git a/emulator-manager/src/org/tizen/emulator/manager/plugin/PluginStringResources.java b/emulator-manager/src/org/tizen/emulator/manager/plugin/PluginStringResources.java
new file mode 100644 (file)
index 0000000..564997d
--- /dev/null
@@ -0,0 +1,22 @@
+package org.tizen.emulator.manager.plugin;
+
+import java.util.ArrayList;
+
+public class PluginStringResources {
+       // extension point
+       // org.tizen.emulator.manager.ui.detail.IItemListFactory
+       public final static String ItemFactory = "Item-Factory";
+
+       public final static String PlatformVersion = "Platform-Version";
+       public final static String PlatformProfile = "Platform-Profile";
+
+       private static ArrayList<String> pointList = new ArrayList<String>();
+       static {
+               pointList.add(ItemFactory);
+       }
+       public static ArrayList<String> getPointList() {
+               return pointList;
+       }
+
+       public final static String PluginDir = "em-plugins";
+}
@@ -33,6 +33,7 @@ import org.eclipse.swt.SWT;
 import org.eclipse.swt.custom.StackLayout;
 import org.eclipse.swt.graphics.Point;
 import org.eclipse.swt.widgets.Composite;
+
 import org.tizen.emulator.manager.resources.ColorResources;
 import org.tizen.emulator.manager.ui.detail.PInfoViewPage;
 import org.tizen.emulator.manager.ui.detail.PEmptyViewPage;
@@ -158,6 +158,7 @@ public class VMsMainView {
 
                this.currentPlatform = platform;
                listView.drawPlatform(platform, index, isRefresh);
+
        }
 
        public void setPlatform(Platform platform) {
@@ -282,10 +283,12 @@ public class VMsMainView {
        }
 
        public void drawCreateVM(BaseImage image, boolean setFocus) {
+               /*
                if (isCreateMode) {
                        setSetFocus(setFocus);
                        return;
                }
+               */
                isCreateMode = true;
 
                setSetFocus(setFocus);
@@ -50,34 +50,8 @@ import org.tizen.emulator.manager.resources.ColorResources;
 import org.tizen.emulator.manager.resources.FontResources;
 import org.tizen.emulator.manager.resources.ImageResources;
 import org.tizen.emulator.manager.ui.widgets.ImageButton;
-import org.tizen.emulator.manager.vms.VMPropertyValue;
-
-class DetailItemList {
-       private static ArrayList<DetailViewItem> list = null;
-       public static ArrayList<DetailViewItem> getItemList() {
-               //if (list == null) {
-               makeList();
-               //}
-               return list;
-       }
-
-       private static void makeList() {
-               list = new ArrayList<DetailViewItem>();
-
-               list.add(new TNameTextItem());
-               list.add(new TDisplayItem());
-               list.add(new TRAMItem());
-               list.add(new TTouchPointItem());
-               list.add(new TFileShareItem());
-               list.add(new THWSupportItem());
-               //list.add(new TTouchPointItem());
-               //list.add(new TTouchPointItem());
-               //list.add(new THWSupportItem());
-               //list.add(new TDisplayItem());
-       }
-}
 
-public abstract class DetailViewItem {
+public abstract class DetailViewItem implements IInfoViewItem, IModifyViewItem {
        protected Composite comp   = null;
        protected DetailViewItem upperItem = null;
        protected DetailViewItem downItem  = null;
@@ -91,17 +65,6 @@ public abstract class DetailViewItem {
 
        protected DetailViewItem item;
 
-       // for modify
-       private DetailViewItemChangeListener listener;
-
-       public DetailViewItemChangeListener getListener() {
-               return listener;
-       }
-
-       public void setListener(DetailViewItemChangeListener listener) {
-               this.listener = listener;
-       }
-
        public DetailViewItem() {
                this.item = this;
        }
@@ -110,8 +73,14 @@ public abstract class DetailViewItem {
                return item;
        }
 
-       public void setDownItem(DetailViewItem down) {
-               this.downItem = down;
+       @Override
+       public void initItem(Composite parent, IInfoViewItem upperItem) {
+               initItem(parent, (DetailViewItem) upperItem);
+       }
+
+       @Override
+       public void initItem(Composite parent, IModifyViewItem upperItem) {
+               initItem(parent, (DetailViewItem) upperItem);
        }
 
        protected ArrayList<Composite> compList = new ArrayList<Composite>();
@@ -138,7 +107,7 @@ public abstract class DetailViewItem {
        protected static int ITEM_RIGHT_GAP = 0;
 
        private static Image image = null;
-       public void initItem(Composite parent, DetailViewItem upperItem) {
+       private void initItem(Composite parent, DetailViewItem upperItem) {
                this.upperItem = upperItem;
                Composite up;
                if (upperItem != null) {
@@ -194,6 +163,10 @@ public abstract class DetailViewItem {
                initTitle(true);
        }
 
+       private void setDownItem(DetailViewItem down) {
+               this.downItem = down;
+       }
+
        private static int ARROW_BUTTON_WIDTH  = 7;
        private static int ARROW_BUTTON_HEIGHT = 7;
        protected void initTitle(boolean supportMinMode) {
@@ -285,7 +258,8 @@ public abstract class DetailViewItem {
                                FormData data = new FormData();
                                data.height = 0;
                                compList.get(i).setLayoutData(data);
-                               compList.get(i).getParent().layout(true, false);
+                               compList.get(i).layout(true, false);
+                               compList.get(i).getParent().layout();
                        }
 
                        if (downItem != null) {
@@ -313,6 +287,7 @@ public abstract class DetailViewItem {
                                data.height = ITEM_HEIGHT;
                                compList.get(i).setLayoutData(data);
                                compList.get(i).getParent().layout(true, false);
+                               compList.get(i).getParent().getParent().layout();
                        }
                        if (downItem != null) {
                                downItem.changeUpComposite(compList.get(count-1));
@@ -342,14 +317,17 @@ public abstract class DetailViewItem {
                gc.drawText(text, x + offset , y, true);
        }
 
+       @Override
        public ArrayList<Composite> getCompositeList() {
                return compList;
        }
 
+       @Override
        public Composite getTopComposite() {
                return compList.get(0);
        }
 
+       @Override
        public Composite getBottomComposite() {
                return compList.get(compList.size()-1);
        }
@@ -370,14 +348,17 @@ public abstract class DetailViewItem {
                comp.getParent().layout(true, true);
        }
 
+       @Override
        public boolean isCreateMode() {
                return isCreateMode;
        }
 
+       @Override
        public void setCreateMode(boolean isCreateMode) {
                this.isCreateMode = isCreateMode;
        }
 
+       @Override
        public int getCount() {
                if (isMinMode) {
                        return 1;
@@ -386,19 +367,22 @@ public abstract class DetailViewItem {
                }
        }
 
+       // for modify
+       private DetailViewItemChangeListener listener;
+
+       protected DetailViewItemChangeListener getListener() {
+               return listener;
+       }
+
+       @Override
+       public void setListener(DetailViewItemChangeListener listener) {
+               this.listener = listener;
+       }
+
+       @Override
        public void close() {
                titleLabel.dispose();
 
                closeItem();
        }
-
-       protected abstract void init();
-       public abstract void setValue(VMPropertyValue value);
-       public abstract void drawDetail();
-       public abstract void drawModify();
-       // for min mode
-       public abstract void settingStatus(boolean isRefresh);
-       public abstract boolean settingDetailItem(VMPropertyValue value);
-       public abstract boolean settingModifyItem(VMPropertyValue value);
-       public abstract void closeItem();
 }
@@ -37,5 +37,5 @@ enum State {
 public interface DetailViewItemChangeListener {
        public void ChangeValue(DetailViewItem item);
        public void ChangeValue(boolean isChange);
-       public void ChangeState(State state);
+       public void ChangeState(ItemChangeState state);
 }
diff --git a/emulator-manager/src/org/tizen/emulator/manager/ui/detail/DetailViewItemList.java b/emulator-manager/src/org/tizen/emulator/manager/ui/detail/DetailViewItemList.java
new file mode 100644 (file)
index 0000000..45f730a
--- /dev/null
@@ -0,0 +1,75 @@
+package org.tizen.emulator.manager.ui.detail;
+
+import java.util.ArrayList;
+
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.FormLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.tizen.emulator.manager.plugin.ExtensionItem;
+
+public class DetailViewItemList {
+       private ExtensionItem item = null;
+       private DetailViewPage viewPage = null;
+       private Composite infoComp = null;
+       private Composite modifyComp = null;
+       private ArrayList<IInfoViewItem> infoList = null;
+       private ArrayList<IModifyViewItem> modifyList = null;
+
+       public DetailViewItemList(ExtensionItem item, DetailViewPage page) {
+               this.item = item;
+               this.viewPage = page;
+       }
+
+       public String getProfile() {
+               return item.getProfile();
+       }
+
+       public ArrayList<IInfoViewItem> getInfoItemList() {
+               if (infoList == null) {
+                       infoComp = new Composite(viewPage.getItemListComposite(), SWT.NONE);
+                       infoComp.setLayout(new FormLayout());
+                       IItemListFactory f = (IItemListFactory)(item.createClass());
+                       infoList = f.getInfoItemList();
+                       IInfoViewItem item = null;
+                       DetailViewItem up       = null;
+                       for (int i = 0; i < infoList.size(); i++) {
+                               item = infoList.get(i);
+                               item.initItem(infoComp, up);
+                               item.drawDetail();
+                               up = (DetailViewItem) item;
+                       }
+                       infoComp.layout(true, true);
+               }
+               return infoList;
+       }
+
+       public ArrayList<IModifyViewItem> getModifyItemList() {
+               if (modifyList == null) {
+                       modifyComp = new Composite(viewPage.getItemListComposite(), SWT.NONE);
+                       modifyComp.setLayout(new FormLayout());
+                       IItemListFactory f = (IItemListFactory)(item.createClass());
+                       modifyList = f.getModifyItemList();
+
+                       IModifyViewItem item = null;
+                       DetailViewItem up       = null;
+                       for (int i = 0; i < modifyList.size(); i++) {
+                               item = modifyList.get(i);
+                               item.initItem(modifyComp, up);
+                               item.drawModify();
+                               item.setListener((PModifyViewPage)viewPage);
+                               up = (DetailViewItem) item;
+                       }
+
+                       modifyComp.layout(true, true);
+               }
+               return modifyList;
+       }
+
+       public Composite getInfoComposite() {
+               return infoComp;
+       }
+
+       public Composite getModifyComposite() {
+               return modifyComp;
+       }
+}
@@ -30,6 +30,7 @@
 package org.tizen.emulator.manager.ui.detail;
 
 import org.eclipse.swt.SWT;
+import org.eclipse.swt.custom.StackLayout;
 import org.eclipse.swt.graphics.Font;
 import org.eclipse.swt.graphics.Image;
 import org.eclipse.swt.graphics.Point;
@@ -38,6 +39,7 @@ import org.eclipse.swt.layout.FormData;
 import org.eclipse.swt.layout.FormLayout;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Label;
+
 import org.tizen.emulator.manager.resources.ColorResources;
 import org.tizen.emulator.manager.resources.FontResources;
 import org.tizen.emulator.manager.resources.ImageResources;
@@ -76,6 +78,7 @@ public abstract class DetailViewPage {
 
        public abstract int checkItemCount();
 
+       protected final StackLayout stackLayout = new StackLayout();
        public DetailViewPage(VMsDetailView parent, int style) {
                this.parent = parent;
                view = new Composite((Composite)parent.getComposite(), style);
@@ -95,11 +98,11 @@ public abstract class DetailViewPage {
                scrolledList.setBackground(ColorResources.DETAIL_VIEW_PAGE_COLOR.getColor());
                itemList.setBackground(ColorResources.DETAIL_VIEW_PAGE_COLOR.getColor());
                itemListBack.setLayout(new FormLayout());
-               itemList.setLayout(new FormLayout());
+               itemList.setLayout(stackLayout);
                //
                settingItemList();
                //
-               scrolledList.setContent(itemList);
+               //scrolledList.setContent(itemList);
 
                FormData data = new FormData();
                data.left       = new FormAttachment(0, 10);
@@ -129,6 +132,10 @@ public abstract class DetailViewPage {
                return view;
        }
 
+       public Composite getItemListComposite() {
+               return itemList;
+       }
+
        protected ImageButton topButton = null;
        private static int TOP_BUTTON_WIDTH  = 21;
        private static int TOP_BUTTON_HEIGHT = 21;
@@ -166,10 +173,10 @@ public abstract class DetailViewPage {
        public void settingItemList() {
                Image image  = PatchImageResources.getDetailListView(checkItemCountwithSize());
                Image image2 = PatchImageResources.getDetailListView2(checkItemCountwithSize());
-               Image image3 = PatchImageResources.getDetailListView2(checkItemCount());
+               
                itemListBack.setBackgroundImage(image);
                scrolledList.setBackgroundImage(image2);
-               itemList.setBackgroundImage(image3);
+               //itemList.setBackgroundImage(image3);
 
                FormData data = new FormData();
                data.left       = new FormAttachment(0, 10);
@@ -188,10 +195,17 @@ public abstract class DetailViewPage {
                scrolledList.setSize(data.width, data.height);
                scrolledList.setLayoutData(data);
 
-               itemListSize.x = image3.getImageData().width;
-               itemListSize.y = image3.getImageData().height;
-               itemList.setSize(itemListSize);
-
+               int count = checkItemCount();
+               if (count != 0) {
+                       Image image3 = PatchImageResources.getDetailListView2(count);
+                       itemListSize.x = image3.getImageData().width;
+                       itemListSize.y = image3.getImageData().height;
+                       if (stackLayout.topControl != null) {
+                               stackLayout.topControl.setBackgroundImage(image3);
+                               stackLayout.topControl.setSize(itemListSize);
+                       }
+                       //itemList.setSize(itemListSize);
+               }
                itemListBack.layout(true, false);
        }
 
@@ -199,12 +213,24 @@ public abstract class DetailViewPage {
                settingItemList();
        }
 
-       protected abstract void drawInitView();
+       public abstract void drawInitView();
        public abstract void reset();
        public abstract void setFocus(boolean setFocus);
        public abstract void drawPropertyView(VMPropertyValue propertyValue, boolean isCreate);
 
+       public void setItemListSize(int width, int height) {
+               itemListSize.x = width;
+               itemListSize.y = height;
+       }
+
        public Point getItemListSize() {
                return itemListSize;
        }
+
+       public void setStackTop(Composite comp) {
+               stackLayout.topControl = comp;
+               scrolledList.setContent(comp);
+               itemList.layout(true, false);
+               scrolledList.layout();
+       }
 }
diff --git a/emulator-manager/src/org/tizen/emulator/manager/ui/detail/IInfoViewItem.java b/emulator-manager/src/org/tizen/emulator/manager/ui/detail/IInfoViewItem.java
new file mode 100644 (file)
index 0000000..952d335
--- /dev/null
@@ -0,0 +1,11 @@
+package org.tizen.emulator.manager.ui.detail;
+
+import org.eclipse.swt.widgets.Composite;
+import org.tizen.emulator.manager.vms.VMPropertyValue;
+
+public interface IInfoViewItem extends IViewItem {
+       public void initItem(Composite parent, IInfoViewItem upperItem);
+
+       public abstract void drawDetail();
+       public abstract boolean settingDetailItem(VMPropertyValue value);
+}
diff --git a/emulator-manager/src/org/tizen/emulator/manager/ui/detail/IItemListFactory.java b/emulator-manager/src/org/tizen/emulator/manager/ui/detail/IItemListFactory.java
new file mode 100644 (file)
index 0000000..c536437
--- /dev/null
@@ -0,0 +1,8 @@
+package org.tizen.emulator.manager.ui.detail;
+
+import java.util.ArrayList;
+
+public interface IItemListFactory {
+       public ArrayList<IInfoViewItem> getInfoItemList();
+       public ArrayList<IModifyViewItem> getModifyItemList();
+}
diff --git a/emulator-manager/src/org/tizen/emulator/manager/ui/detail/IModifyViewItem.java b/emulator-manager/src/org/tizen/emulator/manager/ui/detail/IModifyViewItem.java
new file mode 100644 (file)
index 0000000..2339ac8
--- /dev/null
@@ -0,0 +1,16 @@
+package org.tizen.emulator.manager.ui.detail;
+
+import org.eclipse.swt.widgets.Composite;
+import org.tizen.emulator.manager.vms.VMPropertyValue;
+
+public interface IModifyViewItem extends IViewItem{
+       public void initItem(Composite parent, IModifyViewItem upperItem);
+       public void setListener(DetailViewItemChangeListener listener);
+       public boolean isCreateMode();
+       public void setCreateMode(boolean isCreateMode);
+
+       public abstract void setValue(VMPropertyValue value);
+       public abstract void drawModify();      
+       public abstract boolean settingModifyItem(VMPropertyValue value);
+       
+}
diff --git a/emulator-manager/src/org/tizen/emulator/manager/ui/detail/IViewItem.java b/emulator-manager/src/org/tizen/emulator/manager/ui/detail/IViewItem.java
new file mode 100644 (file)
index 0000000..de05165
--- /dev/null
@@ -0,0 +1,17 @@
+package org.tizen.emulator.manager.ui.detail;
+
+import java.util.ArrayList;
+
+import org.eclipse.swt.widgets.Composite;
+
+public interface IViewItem {
+       public int getCount();
+       public void close();
+       public ArrayList<Composite> getCompositeList();
+       public Composite getTopComposite();
+       public Composite getBottomComposite();
+
+       public abstract void init();
+       public abstract void settingStatus(boolean isRefresh);
+       public abstract void closeItem();
+}
diff --git a/emulator-manager/src/org/tizen/emulator/manager/ui/detail/ItemChangeState.java b/emulator-manager/src/org/tizen/emulator/manager/ui/detail/ItemChangeState.java
new file mode 100644 (file)
index 0000000..2d3b519
--- /dev/null
@@ -0,0 +1,5 @@
+package org.tizen.emulator.manager.ui.detail;
+
+public enum ItemChangeState {
+       CREATE, MODIFY, CANCEL;
+}
@@ -32,7 +32,9 @@ package org.tizen.emulator.manager.ui.detail;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.layout.FormAttachment;
 import org.eclipse.swt.layout.FormData;
+import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Label;
+
 import org.tizen.emulator.manager.resources.ColorResources;
 import org.tizen.emulator.manager.resources.FontResources;
 import org.tizen.emulator.manager.ui.VMsDetailView;
@@ -45,10 +47,12 @@ public class PEmptyViewPage extends DetailViewPage {
                super(parent, style);
        }
 
+       private Composite comp;
        @Override
-       protected void drawInitView() {
+       public void drawInitView() {
+               comp = new Composite(itemList, SWT.NONE);
                // write message
-               title = new Label(itemList, SWT.NONE);
+               title = new Label(comp, SWT.NONE);
                title.setBackground(ColorResources.DETAIL_MIDDLE_COLOR.getColor());
                title.setForeground(ColorResources.DETAIL_ENABLE_FONT_COLOR.getColor());
                title.setFont(FontResources.DETAIL_LABEL_FONT.getFont());
@@ -63,7 +67,12 @@ public class PEmptyViewPage extends DetailViewPage {
                data = new FormData();
                data.width = this.getItemListSize().x;
                data.height = this.getItemListSize().y;
-               itemList.setLayoutData(data);
+               comp.setLayoutData(data);
+               comp.layout(true, false);
+
+               stackLayout.topControl = comp;
+               scrolledList.setContent(comp);
+               itemList.layout();
        }
 
        public void drawEmptyDetailVM() {
@@ -37,6 +37,11 @@ import org.eclipse.swt.events.SelectionListener;
 import org.eclipse.swt.graphics.Image;
 import org.eclipse.swt.layout.FormAttachment;
 import org.eclipse.swt.layout.FormData;
+
+import org.tizen.emulator.manager.plugin.EMPluginList;
+import org.tizen.emulator.manager.plugin.ExtensionItem;
+import org.tizen.emulator.manager.plugin.Extension;
+import org.tizen.emulator.manager.plugin.PluginStringResources;
 import org.tizen.emulator.manager.resources.ImageResources;
 import org.tizen.emulator.manager.resources.PatchImageResources;
 import org.tizen.emulator.manager.resources.StringResources;
@@ -53,7 +58,7 @@ public class PInfoViewPage extends DetailViewPage {
 
        private ImageButton modifyButton;
        @Override
-       protected void drawInitView() {
+       public void drawInitView() {
                modifyButton = new ImageButton(itemListTop, SWT.PUSH);
                modifyButton.setImages(ImageResources.MODIFY_BUTTON_NOMAL.getImage(),
                                ImageResources.MODIFY_BUTTON_HOVER.getImage(),
@@ -74,23 +79,28 @@ public class PInfoViewPage extends DetailViewPage {
                modifyButton.setToolTipText("modify property of vm");
 
                topButton = modifyButton;
-
-               makeDetailView();
                makeButton();
+               makeDetailView();
        }
 
-       private ArrayList<DetailViewItem> list;
+       private ArrayList<DetailViewItemList> list;
        private void makeDetailView() {
-               list = DetailItemList.getItemList();
-               DetailViewItem item = null;
+               list = new ArrayList<DetailViewItemList>();
+               Extension point = EMPluginList.getExtension(PluginStringResources.ItemFactory);
+               for (ExtensionItem item : point.getItemList()) {
+                       list.add(new DetailViewItemList(item, this));
+               }
+/*
+               IInfoViewItem item = null;
                DetailViewItem up       = null;
                for (int i = 0; i < list.size(); i++) {
                        item = list.get(i);
                        item.initItem(itemList, up);
                        item.drawDetail();
-                       up = item;
+                       up = (DetailViewItem) item;
                }
                itemList.layout(true, true);
+               */
        }
 
        private ImageButton exportButton;
@@ -185,39 +195,30 @@ public class PInfoViewPage extends DetailViewPage {
        @Override
        public void drawPropertyView(VMPropertyValue propertyValue, boolean isCreate) {
                assert propertyValue == null;
-
-               for (DetailViewItem item : list) {
-                       item.settingDetailItem(propertyValue);
+               for (DetailViewItemList item : list) {
+                       if (item.getProfile().equals(propertyValue.profile)) {
+                               for (IInfoViewItem i : item.getInfoItemList()) {
+                                       i.settingDetailItem(propertyValue);
+                               }
+                               setStackTop(item.getInfoComposite());
+                               break;
+                       }
                }
        }
-/*
-       @Override
-       public void resize(int height) {
-               Image image = PatchImageResources.getDetailListView2(checkItemCount());
-               itemList.setBackgroundImage(image);
-               itemList.setBackground(ColorResources.DETAIL_VIEW_PAGE_COLOR.getColor());
-               FormData data = new FormData();
-               data.left       = new FormAttachment(0, 0);
-               data.top        = new FormAttachment(0, 0);
-               data.bottom = new FormAttachment(100, -4);
-               data.height = image.getImageData().height;
-               data.width      = image.getImageData().width;
-               itemList.setSize(data.width, data.height);
-               itemList.setLayoutData(data);
-               itemList.redraw();
-       }
-       */
 
        @Override
        public int checkItemCount() {
-               if (list == null) {
+               if (list == null || list.isEmpty()) {
                        return checkItemCountwithSize();
                }
-               DetailViewItem item = null;
                int count = 0;
-               for (int i = 0; i < list.size(); i++) {
-                       item = list.get(i);
-                       count += item.getCount();
+               for (DetailViewItemList item : list) {
+                       if (stackLayout.topControl == item.getInfoComposite()) {
+                               for (IInfoViewItem i : item.getInfoItemList()) {
+                                       count += i.getCount();
+                               }
+                               break;
+                       }
                }
                return count;
        }
@@ -225,9 +226,16 @@ public class PInfoViewPage extends DetailViewPage {
        @Override
        public void reset() {
                scrolledList.setOrigin(0, 0);
+               for (DetailViewItemList item : list) {
+                       for (IInfoViewItem i : item.getInfoItemList()) {
+                               i.settingStatus(true);
+                       }
+               }
+               /*
                for (int i = 0; i < list.size(); i++) {
                        list.get(i).settingStatus(true);
                }
+               */
        }
 
        @Override
@@ -38,6 +38,10 @@ import org.eclipse.swt.graphics.Image;
 import org.eclipse.swt.layout.FormAttachment;
 import org.eclipse.swt.layout.FormData;
 import org.tizen.emulator.manager.logging.EMLogger;
+import org.tizen.emulator.manager.plugin.EMPluginList;
+import org.tizen.emulator.manager.plugin.ExtensionItem;
+import org.tizen.emulator.manager.plugin.Extension;
+import org.tizen.emulator.manager.plugin.PluginStringResources;
 import org.tizen.emulator.manager.resources.ImageResources;
 import org.tizen.emulator.manager.resources.PatchImageResources;
 import org.tizen.emulator.manager.resources.StringResources;
@@ -58,9 +62,8 @@ public class PModifyViewPage extends DetailViewPage
 
        private ImageButton cancelButton;
        private boolean isCreateMode = false;
-
        @Override
-       protected void drawInitView() {
+       public void drawInitView() {
                cancelButton = new ImageButton(itemListTop, SWT.PUSH);
                cancelButton.setImages(ImageResources.CANCEL_BUTTON_NOMAL.getImage(),
                                ImageResources.CANCEL_BUTTON_HOVER.getImage(),
@@ -82,10 +85,8 @@ public class PModifyViewPage extends DetailViewPage
                cancelButton.setToolTipText("cancel modification of vm");
 
                topButton = cancelButton;
-
-               makeModifyView();
                makeButton();
-
+               makeModifyView();
        }
 
        protected void cancelModify() {
@@ -97,20 +98,26 @@ public class PModifyViewPage extends DetailViewPage
                }
        }
 
-       private ArrayList<DetailViewItem> list;
+       private ArrayList<DetailViewItemList> list;
        private void makeModifyView() {
-               list = DetailItemList.getItemList();
-               DetailViewItem item = null;
+               list = new ArrayList<DetailViewItemList>();
+               Extension point = EMPluginList.getExtension(PluginStringResources.ItemFactory);
+               for (ExtensionItem item : point.getItemList()) {
+                       list.add(new DetailViewItemList(item, this));
+               }
+               /*
+               IModifyViewItem item = null;
                DetailViewItem up       = null;
                for (int i = 0; i < list.size(); i++) {
                        item = list.get(i);
                        item.initItem(itemList, up);
                        item.drawModify();
                        item.setListener(this);
-                       up = item;
+                       up = (DetailViewItem) item;
                }
 
                itemList.layout(true, true);
+               */
        }
 
        private static int CONFIRM_BUTTON_WIDTH  = 303;
@@ -148,9 +155,15 @@ public class PModifyViewPage extends DetailViewPage
        }
 
        private void modifyVMProperty() {
-               for (DetailViewItem item : list) {
-                       item.setValue(newValue);
+               for (DetailViewItemList item : list) {
+                       if (stackLayout.topControl == item.getModifyComposite()) {
+                               for (IModifyViewItem i : item.getModifyItemList()) {
+                                       i.setValue(newValue);
+                               }
+                               break;
+                       }
                }
+
                // dpi check
                if (newValue.dpi < VMProperty.MIN_DPI
                                || newValue.dpi > VMProperty.MAX_DPI) {
@@ -186,9 +199,16 @@ public class PModifyViewPage extends DetailViewPage
                isCreateMode = isCreate;
                oldValue = propertyValue;
                newValue = oldValue.clone();
-               for (DetailViewItem item : list) {
-                       item.setCreateMode(isCreate);
-                       item.settingModifyItem(propertyValue);
+
+               for (DetailViewItemList item : list) {
+                       if (item.getProfile().equals(propertyValue.profile)) {
+                               for (IModifyViewItem i : item.getModifyItemList()) {
+                                       i.setCreateMode(isCreate);
+                                       i.settingModifyItem(propertyValue);
+                               }
+                               setStackTop(item.getModifyComposite());
+                               break;
+                       }
                }
        }
 
@@ -209,26 +229,29 @@ public class PModifyViewPage extends DetailViewPage
        }
 
        @Override
-       public void ChangeState(State state) {
-               if (state == State.CREATE) {
+       public void ChangeState(ItemChangeState state) {
+               if (state == ItemChangeState.CREATE) {
                        if (confirmButton.isEnabled()) {
                                modifyVMProperty();
                        }
-               } else if (state == State.CANCEL) {
+               } else if (state == ItemChangeState.CANCEL) {
                        cancelModify();
                }
        }
 
        @Override
        public int checkItemCount() {
-               if (list == null) {
+               if (list == null || list.isEmpty()) {
                        return checkItemCountwithSize();
                }
-               DetailViewItem item = null;
                int count = 0;
-               for (int i = 0; i < list.size(); i++) {
-                       item = list.get(i);
-                       count += item.getCount();
+               for (DetailViewItemList item : list) {
+                       if (stackLayout.topControl == item.getModifyComposite()) {
+                               for (IModifyViewItem i : item.getModifyItemList()) {
+                                       count += i.getCount();
+                               }
+                               break;
+                       }
                }
                return count;
        }
@@ -236,15 +259,19 @@ public class PModifyViewPage extends DetailViewPage
        @Override
        public void reset() {
                scrolledList.setOrigin(0, 0);
-               for (int i = 0; i < list.size(); i++) {
-                       list.get(i).settingStatus(true);
+               for (DetailViewItemList item : list) {
+                       for (IModifyViewItem i : item.getModifyItemList()) {
+                               i.settingStatus(true);
+                       }
                }
        }
 
        @Override
        public void setFocus(boolean setFocus) {
-               for (int i = 0; i < list.size(); i++) {
-                       list.get(i).settingStatus(false);
+               for (DetailViewItemList item : list) {
+                       for (IModifyViewItem i : item.getModifyItemList()) {
+                               i.settingStatus(false);
+                       }
                }
        }
 }
@@ -245,6 +245,7 @@ public class Creator {
                }
 
                //
+               ec.getBaseInformation().getDiskImage().setProfile(newVM.profile);
                ec.getBaseInformation().getDiskImage().setBaseDiskImage(factory.createDiskImageFormatType());
                ec.getBaseInformation().getDiskImage().setCurrentDiskImage(factory.createDiskImageFormatType());
                // TODO :
@@ -54,6 +54,7 @@ public class VMPropertyValue implements Cloneable {
        public String vmsName;
 
        public String archType;
+       public String profile;
        public String version;          // BaseImage version(=platform)
        public String baseName;         // BaseImage name
        public boolean isStandard;
@@ -93,6 +94,7 @@ public class VMPropertyValue implements Cloneable {
                } else {
                        isStandard      = true;
                        archType        = image.getCpu();
+                       profile = image.getDomain();
                        version         = image.getVersion();
                        baseName        = image.getName();
                        baseImagePath     = image.getPath();
@@ -108,6 +110,13 @@ public class VMPropertyValue implements Cloneable {
 
                vmsName = property.getName();
                archType   = property.getArch().toString();
+               // TODO
+               if (property.getConfiguration().getBaseInformation().getDiskImage().getProfile() != null) {
+                       profile = property.getConfiguration().getBaseInformation().getDiskImage().getProfile();
+               } else {
+                       profile = "phone";
+               }
+
                version = property.getConfiguration().getBaseInformation().getDiskImage().getVersion();
                baseName = property.getConfiguration().getBaseInformation().getDiskImage().getBase();
                isStandard = property.getConfiguration().getBaseInformation().getDiskImage().getType()
@@ -128,6 +137,7 @@ public class VMPropertyValue implements Cloneable {
                dest.vmsName    = this.vmsName;
 
                dest.archType   = this.archType;
+               dest.profile    = this.profile;
                dest.version    = this.version;
                dest.baseName   = this.baseName;
                dest.isStandard = this.isStandard;
@@ -325,6 +335,8 @@ public class VMPropertyValue implements Cloneable {
 
                baseImagePath           = "";
                baseImagePathName   = isStandard ? (archType.equals("x86") ? "( emulimg-2.0.x86 )" : "( emulimg-2.0.arm )") : StringResources.None;
+               // TODO
+               profile = "phone";
 
                settingConfigure(template);
        }
similarity index 82%
rename from xsd/em.xml
rename to emulator-manager/xsd/em.xml
index be3ba82..98c1993 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<EmulatorConfiguration xmlns="http://www.tizen.org/em" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tizen.org/em/em.xsd">
+<EmulatorConfiguration>
   <baseInformation>
     <name>name</name>
     <architecture>x86</architecture>
similarity index 98%
rename from xsd/em.xsd
rename to emulator-manager/xsd/em.xsd
index ee74c75..f1d30b1 100644 (file)
@@ -38,6 +38,7 @@
                                                <element name="swapDiskImage" type="em:diskImageFormatType"
                                                    minOccurs="1" maxOccurs="1" />
                                        </sequence>
+                                       <attribute name="profile" type="string" use="optional" />
                                        <attribute name="type" use="required">
                                                <simpleType>
                                                        <restriction base="NMTOKEN">
diff --git a/mobile-plugin/.classpath b/mobile-plugin/.classpath
new file mode 100644 (file)
index 0000000..3b8e13c
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="src" path="src"/>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+       <classpathentry combineaccessrules="false" kind="src" path="/EmulatorManager"/>
+       <classpathentry kind="lib" path="/EmulatorManager/lib/swt.jar" sourcepath="/EmulatorManager/lib/src.zip"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/mobile-plugin/.project b/mobile-plugin/.project
new file mode 100644 (file)
index 0000000..9f30fd3
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>mobile-plugin</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>
diff --git a/mobile-plugin/build.xml b/mobile-plugin/build.xml
new file mode 100644 (file)
index 0000000..bdf59c1
--- /dev/null
@@ -0,0 +1,81 @@
+<?xml version="1.0" standalone="yes"?>
+<project name="mobile-plugin" basedir="." default="make-jar">
+
+       <property name="plugin.file" value="mobile-plugin.jar" />
+       <property name="swt.file" value="swt.jar" />
+       <property name="platform.version" value="default" />
+       <property name="platform.profile" value="phone"/>
+       <property name="item.factory" value="org.tizen.emulator.manager.ui.detail.mobile.ItemListFactory" />
+
+       <path id="classpath">
+               <fileset dir="${em.dir}/lib" includes="${swt.file}" />
+               <fileset dir="${em.dir}" includes="emulator-manager.jar" />
+       </path>
+       
+
+       <target name="clean">
+               <echo message="cleaning..." />
+               <delete dir="build" />
+               <delete file="${plugin.file}" />
+       </target>
+
+       <target name="prepare-compile">
+               <echo message="prepare for compile..." />
+               <delete dir="build" />
+               <mkdir dir="build" />
+       </target>
+
+       <target name="compile" depends="prepare-compile">
+               <echo message="compiling..." />
+               <javac encoding="UTF-8" fork="true" srcdir="src" destdir="build" debug="on" memorymaximumsize="128m">
+                       <classpath refid="classpath" />
+               </javac>
+       </target>
+
+       <target name="create-jar">
+               <echo message="creating jar..." />
+               <jar jarfile="${plugin.file}" basedir="build" duplicate="add">
+                       <manifest>
+                               <attribute name="Platform-Version" value="${platform.version}"/>    
+                <attribute name="Platform-Profile" value="${platform.profile}"/>
+                <attribute name="Item-Factory" value="${item.factory}"/>
+                       </manifest>
+               </jar>
+               <delete dir="build" />
+               <move todir="${em.dir}/em-plugins">
+                       <fileset file="${plugin.file}" />
+               </move>
+       </target>
+
+       <target name="make-jar" depends="compile, create-jar" />
+
+       <!-- for dibs system... -->
+       <path id="classpath-dibs">
+               <fileset dir="${classpath.dibs}" includes="${swt.file}" />
+               <fileset dir="${classpath.dibs}" includes="emulator-manager.jar" />
+       </path>
+
+       <target name="compile-dibs" depends="prepare-compile">
+               <echo message="compiling..." />
+               <javac encoding="UTF-8" fork="true" srcdir="src" destdir="build" debug="on" memorymaximumsize="128m">
+                       <classpath refid="classpath-dibs" />
+               </javac>
+       </target>
+
+       <target name="create-jar-dibs">
+               <echo message="creating jar..." />
+               <jar jarfile="${plugin.file}" basedir="build" duplicate="add">
+                   <manifest>
+                       <attribute name="Platform-Version" value="${platform.version}"/>        
+                       <attribute name="Platform-Profile" value="${platform.profile}"/>
+                       <attribute name="Item-Factory" value="${item.factory}"/>
+                   </manifest>
+               </jar>
+               <delete dir="build" />
+               <move todir="${classpath.dibs}/em-plugins">
+                   <fileset file="${plugin.file}" />
+               </move>
+    </target>
+
+       <target name="make-jar-dibs" depends="compile-dibs, create-jar-dibs" />
+</project>
diff --git a/mobile-plugin/src/org/tizen/emulator/manager/ui/detail/mobile/ItemListFactory.java b/mobile-plugin/src/org/tizen/emulator/manager/ui/detail/mobile/ItemListFactory.java
new file mode 100644 (file)
index 0000000..08973ca
--- /dev/null
@@ -0,0 +1,52 @@
+package org.tizen.emulator.manager.ui.detail.mobile;
+
+import java.util.ArrayList;
+
+import org.tizen.emulator.manager.ui.detail.IInfoViewItem;
+import org.tizen.emulator.manager.ui.detail.IItemListFactory;
+import org.tizen.emulator.manager.ui.detail.IModifyViewItem;
+
+public class ItemListFactory implements IItemListFactory {
+       private static ArrayList<IInfoViewItem> infoList = null;
+       private static ArrayList<IModifyViewItem> modifyList = null;
+
+       @ Override
+       public ArrayList<IInfoViewItem> getInfoItemList() {
+               // if (infoList == null) {
+               makeInfoList();
+               // }
+
+               return infoList;
+       }
+
+       @ Override
+       public ArrayList<IModifyViewItem> getModifyItemList() {
+               // if (modifyList == null) {
+               makeModifyList();
+               // }
+
+               return modifyList;
+       }
+
+       private static void makeInfoList() {
+               infoList = new ArrayList<IInfoViewItem>();
+
+               infoList.add(new TNameTextItem());
+               infoList.add(new TDisplayItem());
+               infoList.add(new TRAMItem());
+               infoList.add(new TTouchPointItem());
+               infoList.add(new TFileShareItem());
+               infoList.add(new THWSupportItem());
+       }
+
+       private static void makeModifyList() {
+               modifyList = new ArrayList<IModifyViewItem>();
+
+               modifyList.add(new TNameTextItem());
+               modifyList.add(new TDisplayItem());
+               modifyList.add(new TRAMItem());
+               modifyList.add(new TTouchPointItem());
+               modifyList.add(new TFileShareItem());
+               modifyList.add(new THWSupportItem());
+       }
+}
@@ -27,8 +27,7 @@
  *
  */
 
-package org.tizen.emulator.manager.ui.detail;
-
+package org.tizen.emulator.manager.ui.detail.mobile;
 import java.util.ArrayList;
 
 import org.eclipse.swt.SWT;
@@ -52,6 +51,8 @@ import org.tizen.emulator.manager.resources.ColorResources;
 import org.tizen.emulator.manager.resources.FontResources;
 import org.tizen.emulator.manager.resources.ImageResources;
 import org.tizen.emulator.manager.resources.PatchImageResources;
+import org.tizen.emulator.manager.ui.detail.DetailViewItem;
+import org.tizen.emulator.manager.ui.detail.ItemChangeState;
 import org.tizen.emulator.manager.ui.widgets.ImageCombo;
 import org.tizen.emulator.manager.ui.widgets.ImageLabel;
 import org.tizen.emulator.manager.ui.widgets.WSTATE;
@@ -297,10 +298,10 @@ public class TDisplayItem extends DetailViewItem {
                        case SWT.CR:
                        case SWT.KEYPAD_CR:
                                ///TODO
-                               getListener().ChangeState(State.CREATE);
+                               getListener().ChangeState(ItemChangeState.CREATE);
                          break;
                        case SWT.ESC:
-                                getListener().ChangeState(State.CANCEL);
+                                getListener().ChangeState(ItemChangeState.CANCEL);
                        break;
                        default:
                                // TODO
@@ -27,7 +27,7 @@
  *
  */
 
-package org.tizen.emulator.manager.ui.detail;
+package org.tizen.emulator.manager.ui.detail.mobile;
 
 import java.io.File;
 
@@ -46,6 +46,7 @@ import org.tizen.emulator.manager.resources.ImageResources;
 import org.tizen.emulator.manager.resources.PatchImageResources;
 import org.tizen.emulator.manager.resources.StringResources;
 import org.tizen.emulator.manager.ui.MainDialog;
+import org.tizen.emulator.manager.ui.detail.DetailViewItem;
 import org.tizen.emulator.manager.ui.widgets.ImageButton;
 import org.tizen.emulator.manager.ui.widgets.ImageLabel;
 import org.tizen.emulator.manager.vms.VMPropertyValue;
@@ -60,7 +61,7 @@ public class TFileShareItem extends DetailViewItem {
        private DirectoryDialog sharedFD;
 
        @Override
-       protected void init() {
+       public void init() {
                title = "File Sharing";
                count = 2;
        }
@@ -27,7 +27,7 @@
  *
  */
 
-package org.tizen.emulator.manager.ui.detail;
+package org.tizen.emulator.manager.ui.detail.mobile;
 
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.events.SelectionEvent;
@@ -41,6 +41,7 @@ import org.tizen.emulator.manager.resources.ImageResources;
 import org.tizen.emulator.manager.resources.PatchImageResources;
 import org.tizen.emulator.manager.resources.StringResources;
 import org.tizen.emulator.manager.tool.CheckVirtualization;
+import org.tizen.emulator.manager.ui.detail.DetailViewItem;
 import org.tizen.emulator.manager.ui.widgets.ImageButton;
 import org.tizen.emulator.manager.ui.widgets.ImageLabel;
 import org.tizen.emulator.manager.vms.VMPropertyValue;
@@ -52,7 +53,7 @@ public class THWSupportItem extends DetailViewItem {
        private boolean newGPUSupport;
 
        @Override
-       protected void init() {
+       public void init() {
                title = "HW Support";
                count = 2;
        }
@@ -27,7 +27,7 @@
  *
  */
 
-package org.tizen.emulator.manager.ui.detail;
+package org.tizen.emulator.manager.ui.detail.mobile;
 
 import java.io.File;
 
@@ -56,6 +56,8 @@ import org.tizen.emulator.manager.resources.PatchImageResources;
 import org.tizen.emulator.manager.ui.MainDialog;
 import org.tizen.emulator.manager.ui.MenuHandling;
 import org.tizen.emulator.manager.ui.VMsMainView;
+import org.tizen.emulator.manager.ui.detail.DetailViewItem;
+import org.tizen.emulator.manager.ui.detail.ItemChangeState;
 import org.tizen.emulator.manager.ui.dialog.MessageDialog;
 import org.tizen.emulator.manager.ui.widgets.ImageButton;
 import org.tizen.emulator.manager.ui.widgets.ImageLabel;
@@ -232,10 +234,10 @@ public class TNameTextItem extends DetailViewItem {
                        case SWT.CR:
                        case SWT.KEYPAD_CR:
                                ///TODO
-                               getListener().ChangeState(State.CREATE);
+                               getListener().ChangeState(ItemChangeState.CREATE);
                          break;
                        case SWT.ESC:
-                                getListener().ChangeState(State.CANCEL);
+                                getListener().ChangeState(ItemChangeState.CANCEL);
                        break;
                        default:
                                // TODO
@@ -27,7 +27,7 @@
  *
  */
 
-package org.tizen.emulator.manager.ui.detail;
+package org.tizen.emulator.manager.ui.detail.mobile;
 
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.events.SelectionEvent;
@@ -40,6 +40,7 @@ import org.tizen.emulator.manager.resources.ColorResources;
 import org.tizen.emulator.manager.resources.FontResources;
 import org.tizen.emulator.manager.resources.ImageResources;
 import org.tizen.emulator.manager.resources.PatchImageResources;
+import org.tizen.emulator.manager.ui.detail.DetailViewItem;
 import org.tizen.emulator.manager.ui.widgets.ImageCombo;
 import org.tizen.emulator.manager.ui.widgets.ImageLabel;
 import org.tizen.emulator.manager.ui.widgets.WSTATE;
@@ -50,7 +51,7 @@ public class TRAMItem extends DetailViewItem {
        private int newSize;
 
        @Override
-       protected void init() {
+       public void init() {
                title = "RAM Size";
                count = 1;
        }
  *
  */
 
-package org.tizen.emulator.manager.ui.detail;
+package org.tizen.emulator.manager.ui.detail.mobile;
 
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.layout.FormAttachment;
 import org.eclipse.swt.layout.FormData;
 import org.tizen.emulator.manager.resources.PatchImageResources;
+import org.tizen.emulator.manager.ui.detail.DetailViewItem;
 import org.tizen.emulator.manager.ui.widgets.ImageLabel;
 import org.tizen.emulator.manager.vms.VMPropertyValue;
 
 public class TTouchPointItem extends DetailViewItem {
        private int touchPointValue;
        @Override
-       protected void init() {
+       public void init() {
                title = "Max Touch Point";
                count = 1;
        }
@@ -28,7 +28,7 @@
  *
  */
 
-package org.tizen.emulator.manager.ui.detail;
+package org.tizen.emulator.manager.ui.detail.mobile;
 
 import java.util.ArrayList;
 
@@ -46,6 +46,7 @@ class StringArrayResource
        public StringArrayResource()
        {
                list = new ArrayList<String>();
+               list.clear();
        }
 
        public void add(int index, String element)
similarity index 100%
rename from standard.xml
rename to template/standard.xml
diff --git a/test/tizen_vms/arm/test1/test1.xml b/test/tizen_vms/arm/test1/test1.xml
deleted file mode 100644 (file)
index 2215293..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<EmulatorConfiguration xmlns="http://www.tizen.org/em" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tizen.org/em em.xsd ">
-  <baseInformation>
-    <name>test1</name>
-    <architecture>ARM</architecture>
-    <diskImage type="standard" version="1.0">
-      <baseDiskImage format="qcow2">baseDiskImage</baseDiskImage>
-      <currentDiskImage format="qcow2">currentDiskImage</currentDiskImage>
-    </diskImage>
-  </baseInformation>
-  <usability>
-    <logging>
-      <level>NONE</level>
-    </logging>
-    <fileSharing>
-      <path>path</path>
-    </fileSharing>
-    <hwVirtualization>true</hwVirtualization>
-  </usability>
-  <device>
-    <display>
-      <resolution>
-        <width>480</width>
-        <height>800</height>
-      </resolution>
-      <density unit="dpi">2070</density>
-    </display>
-    <storage>
-      <SDCard/>
-    </storage>
-    <RAM>
-      <size unit="MiB">512</size>
-    </RAM>
-  </device>
-</EmulatorConfiguration>
diff --git a/test/tizen_vms/arm/test2/test2.xml b/test/tizen_vms/arm/test2/test2.xml
deleted file mode 100644 (file)
index 14fb33c..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<EmulatorConfiguration xmlns="http://www.tizen.org/em" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tizen.org/em ../xsd/em.xsd ">
-  <baseInformation>
-    <name>test2</name>
-    <architecture>ARM</architecture>
-    <diskImage type="custom">
-      <baseDiskImage format="qcow2">baseDiskImage</baseDiskImage>
-      <currentDiskImage format="qcow2">currentDiskImage</currentDiskImage>
-    </diskImage>
-  </baseInformation>
-  <usability>
-    <logging>
-      <level>NONE</level>
-    </logging>
-    <fileSharing />
-    <hwVirtualization>true</hwVirtualization>
-  </usability>
-  <device>
-    <display>
-      <resolution>
-        <width>720</width>
-        <height>1280</height>
-      </resolution>
-      <density unit="dpi">2070</density>
-    </display>
-    <storage>
-      <SDCard/>
-    </storage>
-    <RAM>
-      <size unit="MiB">512</size>
-    </RAM>
-  </device>
-</EmulatorConfiguration>
diff --git a/test/tizen_vms/x86/test1/test1.xml b/test/tizen_vms/x86/test1/test1.xml
deleted file mode 100644 (file)
index 34f758d..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<EmulatorConfiguration xmlns="http://www.tizen.org/em" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tizen.org/em em.xsd ">
-  <baseInformation>
-    <name>test1</name>
-    <architecture>x86</architecture>
-    <diskImage type="standard" version="1.0">
-      <baseDiskImage format="qcow2">baseDiskImage</baseDiskImage>
-      <currentDiskImage format="qcow2">currentDiskImage</currentDiskImage>
-    </diskImage>
-  </baseInformation>
-  <usability>
-    <logging>
-      <level>NONE</level>
-    </logging>
-    <fileSharing />
-    <hwVirtualization>true</hwVirtualization>
-  </usability>
-  <device>
-    <display>
-      <resolution>
-        <width>480</width>
-        <height>800</height>
-      </resolution>
-      <density unit="dpi">2070</density>
-    </display>
-    <storage>
-      <SDCard/>
-    </storage>
-    <RAM>
-      <size unit="MiB">512</size>
-    </RAM>
-  </device>
-</EmulatorConfiguration>
diff --git a/test/tizen_vms/x86/test2/test2.xml b/test/tizen_vms/x86/test2/test2.xml
deleted file mode 100644 (file)
index d30cbac..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<EmulatorConfiguration xmlns="http://www.tizen.org/em">
-    <baseInformation>
-        <name>test2</name>
-        <architecture>x86</architecture>
-        <diskImage version="1.0" type="standard">
-            <baseDiskImage format="qcow2">baseDiskImage</baseDiskImage>
-            <currentDiskImage format="qcow2">currentDiskImage</currentDiskImage>
-        </diskImage>
-    </baseInformation>
-    <usability>
-        <logging>
-            <level>NONE</level>
-        </logging>
-        <fileSharing>
-            <path>path</path>
-        </fileSharing>
-        <hwVirtualization>true</hwVirtualization>
-    </usability>
-    <device>
-        <display>
-            <resolution>
-                <width>480</width>
-                <height>800</height>
-            </resolution>
-            <density unit="dpi">207</density>
-            <skinPath>
-                <path>emul_480x800</path>
-            </skinPath>
-        </display>
-        <storage>
-            <SDCard/>
-        </storage>
-        <RAM>
-            <size unit="MiB">512</size>
-        </RAM>
-    </device>
-</EmulatorConfiguration>
diff --git a/test/tizen_vms/x86/test3/test3.xml b/test/tizen_vms/x86/test3/test3.xml
deleted file mode 100644 (file)
index ebeb450..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<EmulatorConfiguration xmlns="http://www.tizen.org/em">
-    <baseInformation>
-        <name>test3</name>
-        <architecture>x86</architecture>
-        <diskImage version="1.0" type="standard">
-            <baseDiskImage format="qcow2">baseDiskImage</baseDiskImage>
-            <currentDiskImage format="qcow2">currentDiskImage</currentDiskImage>
-        </diskImage>
-    </baseInformation>
-    <usability>
-        <logging>
-            <level>NONE</level>
-        </logging>
-        <fileSharing>
-            <path>path</path>
-        </fileSharing>
-        <hwVirtualization>true</hwVirtualization>
-    </usability>
-    <device>
-        <display>
-            <resolution>
-                <width>600</width>
-                <height>1024</height>
-            </resolution>
-            <density unit="dpi">224</density>
-            <skinPath>
-                <path>emul_600x1024</path>
-            </skinPath>
-        </display>
-        <storage>
-            <SDCard/>
-        </storage>
-        <RAM>
-            <size unit="MiB">512</size>
-        </RAM>
-    </device>
-</EmulatorConfiguration>
diff --git a/test/tizen_vms/x86/test4/test4.xml b/test/tizen_vms/x86/test4/test4.xml
deleted file mode 100644 (file)
index 7eb5a8e..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<EmulatorConfiguration xmlns="http://www.tizen.org/em" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tizen.org/em ../xsd/em.xsd ">
-  <baseInformation>
-    <name>test4</name>
-    <architecture>x86</architecture>
-    <diskImage type="custom">
-      <baseDiskImage format="qcow2">baseDiskImage</baseDiskImage>
-      <currentDiskImage format="qcow2">currentDiskImage</currentDiskImage>
-    </diskImage>
-  </baseInformation>
-  <usability>
-    <logging>
-      <level>NONE</level>
-    </logging>
-    <fileSharing />
-    <hwVirtualization>true</hwVirtualization>
-  </usability>
-  <device>
-    <display>
-      <resolution>
-        <width>720</width>
-        <height>1280</height>
-      </resolution>
-      <density unit="dpi">2070</density>
-    </display>
-    <storage>
-      <SDCard/>
-    </storage>
-    <RAM>
-      <size unit="MiB">512</size>
-    </RAM>
-  </device>
-</EmulatorConfiguration>