import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.tizen.dynamicanalyzer.appearance.DesignConstants;
+import org.tizen.dynamicanalyzer.common.AnalyzerConstants;
import org.tizen.dynamicanalyzer.common.path.PathManager;
import org.tizen.dynamicanalyzer.constant.CommonConstants;
import org.tizen.dynamicanalyzer.nl.AnalyzerLabels;
private static String ideBuildVersionInfo = CommonConstants.EMPTY;
private static String daBuildVersionInfo = CommonConstants.EMPTY;
private static String daBuildTimeInfo = CommonConstants.EMPTY;
+
+ private static String daVersionInfo = AnalyzerConstants.DA_VERSION;
private final Image iconImage = ImageResources.ABOUT_TIZEN_SDK;
version.setForeground(ColorResources.DEFAULT_FONT_COLOR);
version.setFont(FontResources.ABOUT_TEXT);
+ Label daVersion = new Label(base, SWT.TRANSPARENT);
+ daVersion.setText(AnalyzerLabels.ABOUT_DIALOG_DA_VERSION_TAB + daVersionInfo);
+ daVersion.setBackground(ColorResources.DIALOG_BG_UPPER);
+ daVersion.setAlignment(SWT.LEFT);
+ daVersion.setForeground(ColorResources.DEFAULT_FONT_COLOR);
+ daVersion.setFont(FontResources.ABOUT_TEXT);
+
Label buildTime = new Label(base, SWT.TRANSPARENT);
// String buildTimeString = getBuildTime();// FIXME
buildTime.setText(AnalyzerLabels.ABOUT_DIALOG_BUILD_TIME_TAB + daBuildTimeInfo);
buildTime.setAlignment(SWT.LEFT);
buildTime.setForeground(ColorResources.DEFAULT_FONT_COLOR);
buildTime.setFont(FontResources.ABOUT_TEXT);
-
+
FormData labelData = new FormData();
labelData.left = new FormAttachment(0, 0);
labelData.top = new FormAttachment(0, 0);
labelData.right = new FormAttachment(100, 0);
labelData.top = new FormAttachment(0, textPos += 17);
labelData.height = 17;
+ daVersion.setLayoutData(labelData);
+
+ labelData = new FormData();
+ labelData.left = new FormAttachment(0, 155);
+ labelData.right = new FormAttachment(100, 0);
+ labelData.top = new FormAttachment(0, textPos += 17);
+ labelData.height = 17;
buildTime.setLayoutData(labelData);
Composite buttonComp = new Composite(shell, SWT.NONE);