From: Hyunjong.park Date: Tue, 8 Jul 2014 08:41:53 +0000 (+0900) Subject: configuration : remove messagebox that show the setting during trace, and disable... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8f4a6619728542e9fc517b7f62d0b3d49cdfce7;p=sdk%2Ftools%2Fdynamic-analyzer.git configuration : remove messagebox that show the setting during trace, and disable dafault features(memory_allocation, recording) Signed-off-by: Hyunjong.park Change-Id: Id1b882d8987ef2a37775254ac6bed2b06737c2b0 --- diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/ConfigureManager.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/ConfigureManager.java index 202a58e..3d2fea0 100644 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/ConfigureManager.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/ConfigureManager.java @@ -134,7 +134,7 @@ public class ConfigureManager { if (null == data.get(ConfigureLabels.FEATURE_MEMORY_ALLOCATION)) { data.put(ConfigureLabels.FEATURE_MEMORY_ALLOCATION, - Long.toString(AnalyzerConstants.FEATURE_ALLOCATION)); + Long.toString(AnalyzerConstants.FEATURE_OFF)); } if (null == data.get(ConfigureLabels.FEATURE_FILE)) { data.put(ConfigureLabels.FEATURE_FILE, @@ -162,7 +162,7 @@ public class ConfigureManager { } if (null == data.get(ConfigureLabels.FEATURE_RECORDING)) { data.put(ConfigureLabels.FEATURE_RECORDING, - Long.toString(AnalyzerConstants.FEATURE_RECORDING)); + Long.toString(AnalyzerConstants.FEATURE_OFF)); } // if (null == data.get(ConfigureLabels.FEATURE_SYSCALL)) { diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/configuration/ConfigurationDialogFeaturesTable.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/configuration/ConfigurationDialogFeaturesTable.java index a76bb2e..e327825 100644 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/configuration/ConfigurationDialogFeaturesTable.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/configuration/ConfigurationDialogFeaturesTable.java @@ -191,20 +191,7 @@ public class ConfigurationDialogFeaturesTable extends DATreeComposite { case SWT.MouseDown: switch (event.button) { case MOUSE_LEFT: { - if (DACommunicator.isRunning()) { - Display.getDefault().asyncExec(new Runnable() { - @Override - public void run() { - final org.eclipse.swt.widgets.Shell shell = WorkbenchUtil - .getWorkbenchWindow().getShell(); - DADialog dialog = new DADialog(shell, SWT.NONE, - 550, 153); - dialog.setIcon(ImageResources.DIALOG_WARNING_ICON); - dialog.setMessage("You can not change the setting during trace"); - dialog.open(); - } - }); - } else { + if (!DACommunicator.isRunning()) { if (isClickCheckBox(item, event)) { updateCheckBox(item, event); updateChildCheckBoxByParent(item, event); @@ -212,7 +199,6 @@ public class ConfigurationDialogFeaturesTable extends DATreeComposite { setConfigurationDialogDataManager(item, event); } } - break; } case MOUSE_RIGHT: {