});
pkginfoLines.add("");
-// // add lines for running process
-// pkginfoLines.add(PackageInfo.PKGTYPE + "[unknown]" + PackageInfo.PKGID + "["
-// + AnalyzerConstants.RUNNING_PROCESS + "]");
-// pkginfoLines.add(AppInfo.PROPERTY.APPID.name + ":" + AnalyzerConstants.RUNNING_PROCESS);
-// pkginfoLines.add(AppInfo.PROPERTY.PACKAGE.name + ":" + AnalyzerConstants.RUNNING_PROCESS);
-// pkginfoLines.add(AppInfo.PROPERTY.LABEL.name + ":"
-// + AnalyzerConstants.RUNNING_PROCESS_LABEL);
-// pkginfoLines.add(AppInfo.PROPERTY.APPTYPE.name + ":" + AppInfo.APPTYPE_RUNNING);
-// pkginfoLines.add("");
-//
-// // add lines for without-executable
-// pkginfoLines.add(PackageInfo.PKGTYPE + "[unknown]" + PackageInfo.PKGID + "["
-// + AnalyzerConstants.COMMON_EXECUTABLE + "]");
-// pkginfoLines.add(AppInfo.PROPERTY.APPID.name + ":" + AnalyzerConstants.COMMON_EXECUTABLE);
-// pkginfoLines.add(AppInfo.PROPERTY.PACKAGE.name + ":" + AnalyzerConstants.COMMON_EXECUTABLE);
-// pkginfoLines.add(AppInfo.PROPERTY.LABEL.name + ":"
-// + AnalyzerConstants.COMMON_EXECUTABLE_LABEL);
-// pkginfoLines.add(AppInfo.PROPERTY.APPTYPE.name + ":" + AppInfo.APPTYPE_EXEC);
-// pkginfoLines.add("");
-//
-// // add lines for without-executable
-// pkginfoLines.add(PackageInfo.PKGTYPE + "[unknown]" + PackageInfo.PKGID + "["
-// + AnalyzerConstants.WITHOUT_EXECUTABLE + "]");
-// pkginfoLines.add(AppInfo.PROPERTY.APPID.name + ":" + AnalyzerConstants.WITHOUT_EXECUTABLE);
-// pkginfoLines
-// .add(AppInfo.PROPERTY.PACKAGE.name + ":" + AnalyzerConstants.WITHOUT_EXECUTABLE);
-// pkginfoLines.add(AppInfo.PROPERTY.LABEL.name + ":"
-// + AnalyzerConstants.WITHOUT_EXECUTABLE_LABEL);
-// pkginfoLines.add(AppInfo.PROPERTY.APPTYPE.name + ":" + AppInfo.APPTYPE_NONE);
-// pkginfoLines.add("");
+ // add lines for running process
+ pkginfoLines.add(PackageInfo.PKGTYPE + "[unknown]" + PackageInfo.PKGID + "["
+ + AnalyzerConstants.RUNNING_PROCESS + "]" + PackageInfo.PRELOAD + "[1]");
+ pkginfoLines.add(AppInfo.PROPERTY.APPID.name + ":" + AnalyzerConstants.RUNNING_PROCESS);
+ pkginfoLines.add(AppInfo.PROPERTY.PACKAGE.name + ":" + AnalyzerConstants.RUNNING_PROCESS);
+ pkginfoLines.add(AppInfo.PROPERTY.LABEL.name + ":"
+ + AnalyzerConstants.RUNNING_PROCESS_LABEL);
+ pkginfoLines.add(AppInfo.PROPERTY.APPTYPE.name + ":" + AppInfo.APPTYPE_RUNNING);
+ pkginfoLines.add("");
+
+ // add lines for common-executable
+ pkginfoLines.add(PackageInfo.PKGTYPE + "[unknown]" + PackageInfo.PKGID + "["
+ + AnalyzerConstants.COMMON_EXECUTABLE + "]" + PackageInfo.PRELOAD + "[1]");
+ pkginfoLines.add(AppInfo.PROPERTY.APPID.name + ":" + AnalyzerConstants.COMMON_EXECUTABLE);
+ pkginfoLines.add(AppInfo.PROPERTY.PACKAGE.name + ":" + AnalyzerConstants.COMMON_EXECUTABLE);
+ pkginfoLines.add(AppInfo.PROPERTY.LABEL.name + ":"
+ + AnalyzerConstants.COMMON_EXECUTABLE_LABEL);
+ pkginfoLines.add(AppInfo.PROPERTY.APPTYPE.name + ":" + AppInfo.APPTYPE_EXEC);
+ pkginfoLines.add("");
+
+ // add lines for without-executable
+ pkginfoLines.add(PackageInfo.PKGTYPE + "[unknown]" + PackageInfo.PKGID + "["
+ + AnalyzerConstants.WITHOUT_EXECUTABLE + "]" + PackageInfo.PRELOAD + "[1]");
+ pkginfoLines.add(AppInfo.PROPERTY.APPID.name + ":" + AnalyzerConstants.WITHOUT_EXECUTABLE);
+ pkginfoLines
+ .add(AppInfo.PROPERTY.PACKAGE.name + ":" + AnalyzerConstants.WITHOUT_EXECUTABLE);
+ pkginfoLines.add(AppInfo.PROPERTY.LABEL.name + ":"
+ + AnalyzerConstants.WITHOUT_EXECUTABLE_LABEL);
+ pkginfoLines.add(AppInfo.PROPERTY.APPTYPE.name + ":" + AppInfo.APPTYPE_NONE);
+ pkginfoLines.add("");
curDev.updatePackageList(ApplistManager.parseTizenPkginfo(pkginfoLines, unittestLines,
imeLines, curDev.getIDevice().getAppInstallPath()));
tabView.getContentComposite(), SWT.NONE);
tabView.addView(optionPage, false);
-// comment : HIDDEN BINARY SETTING PAGE
-// DABaseComposite binarySettings = new SettingDialogBinarySettingsPage(
-// tabView.getContentComposite(), SWT.NONE);
-// tabView.addView(binarySettings, false);
+ // check platform SDK (show binary setting page)
+ if (Global.isPlatformSDK()) {
+ createBinarySettingPage();
+ }
// button composite
buttonContentsComp = new Composite(shell, SWT.NONE);
}
});
-//comment : HIDDEN BINARY SETTING PAGE
-// // binarySettings tab is selected, the close button will be shown.
-// // ok and cancel button is hidden
-// binarySettings.addListener(SWT.Show, new Listener() {
-//
-// @Override
-// public void handleEvent(Event event) {
-// Logger.debug("binary settings show");
-// cancelButton.setText(WidgetLabels.CLOSE);
-// FormData data = (FormData) okButton.getLayoutData();
-// data.width = 0;
-//
-// buttonContentsComp.layout();
-// }
-// });
-//
-// binarySettings.addListener(SWT.Hide, new Listener() {
-//
-// @Override
-// public void handleEvent(Event event) {
-// Logger.debug("binary settings hide");
-// cancelButton.setText(WidgetLabels.CANCEL);
-// FormData data = (FormData) okButton.getLayoutData();
-// data.width = 100;
-//
-// buttonContentsComp.layout();
-// }
-// });
-
+
cancelButton = new DAButton(buttonContentsComp, SWT.NONE);
cancelButton.addClickListener(cancelButtonListener);
cancelButton.setText(WidgetLabels.CANCEL);