import org.eclipse.swt.layout.FormData;
import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Listener;
import org.eclipse.swt.widgets.Shell;
import org.tizen.dynamicanalyzer.communicator.DACommunicator;
import org.tizen.dynamicanalyzer.nl.AnalyzerLabels;
import org.tizen.dynamicanalyzer.widgets.button.DACustomButtonClickEventListener;
import org.tizen.dynamicanalyzer.widgets.da.base.DAButton;
import org.tizen.dynamicanalyzer.widgets.da.base.DAMessageBox;
+import org.tizen.dynamicanalyzer.widgets.da.view.DABaseComposite;
import org.tizen.dynamicanalyzer.widgets.da.view.DATabComposite;
public class SettingDialog extends DAMessageBox {
tabView.getContentComposite(), SWT.NONE);
tabView.addView(settingPage, false);
-// DABaseComposite binarySettings = new SettingDialogBinarySettingsPage(
-// tabView.getContentComposite(), SWT.NONE);
-// tabView.addView(binarySettings, false);
+ DABaseComposite binarySettings = new SettingDialogBinarySettingsPage(
+ tabView.getContentComposite(), SWT.NONE);
+ tabView.addView(binarySettings, false);
// button composite
buttonContentsComp = new Composite(shell, SWT.NONE);
}
});
-// binarySettings.addListener(SWT.Show, new Listener() {
-//
-// @Override
-// public void handleEvent(Event event) {
-// FormData data = (FormData) applyButton.getLayoutData();
-// data.width = 0;
-//
+ binarySettings.addListener(SWT.Show, new Listener() {
+
+ @Override
+ public void handleEvent(Event event) {
+ FormData data = (FormData) applyButton.getLayoutData();
+ data.width = 0;
+
// data = (FormData) revertButton.getLayoutData();
// data.width = 0;
-//
-// buttonContentsComp.layout();
-// }
-// });
-//
-// binarySettings.addListener(SWT.Hide, new Listener() {
-//
-// @Override
-// public void handleEvent(Event event) {
-// FormData data = (FormData) applyButton.getLayoutData();
-// data.width = 100;
-//
+
+ buttonContentsComp.layout();
+ }
+ });
+
+ binarySettings.addListener(SWT.Hide, new Listener() {
+
+ @Override
+ public void handleEvent(Event event) {
+ FormData data = (FormData) applyButton.getLayoutData();
+ data.width = 100;
+
// data = (FormData) revertButton.getLayoutData();
// data.width = 100;
-//
-// buttonContentsComp.layout();
-// }
-// });
+
+ buttonContentsComp.layout();
+ }
+ });
closeButton = new DAButton(buttonContentsComp, SWT.NONE);