ABOUT_DIALOG_BUILD_TIME=Build Time
ABOUT_DIALOG_TIZEN_SITE=Tizen Site
ABOUT_DIALOG_TIZEN_SITE_LINK=http://www.tizen.org
+ABOUT_DIALOG_TIZEN_DEVELOP_SITE_LINK=http://developer.tizen.org
ABOUT_DIALOG_RELEASE_NOTE=Release Note
-ABOUT_DIALOG_RELEASE_NOTE_LINK=http://developer.tizen.org
+ABOUT_DIALOG_RELEASE_NOTE_LINK=https://developer.tizen.org/development/tools/download/release-notes
ABOUT_DIALOG_DEVELOPER_TIZEN_ADDR=http://developer.tizen.org/forums/sdk-ide
ABOUT_DIALOG_TIZEN_COMMUNITY_ADDR=http://mosaic.sec.samsung.net/club/club.main.index.screen?p_club_id=30689
ABOUT_DIALOG_TIZEN_PERF_DESK_ADDR=http://mosaic.sec.samsung.net/club/swc_perfdesk.club
import org.tizen.dynamicanalyzer.ui.toolbar.setting.FlatFeatureDialog;
import org.tizen.dynamicanalyzer.ui.toolbar.setting.PreferencesDialog;
import org.tizen.dynamicanalyzer.ui.toolbar.setting.TargetDialog;
+import org.tizen.dynamicanalyzer.util.CommonUtil;
import org.tizen.dynamicanalyzer.util.Logger;
import org.tizen.dynamicanalyzer.util.WorkbenchUtil;
import org.tizen.dynamicanalyzer.utils.AnalyzerUtil;
MenuItem helpHowto = new MenuItem(helpMenu, SWT.PUSH);
helpHowto.setText(MenuBarLabels.HELP_HOWTO);
helpHowto.addSelectionListener(helpMenuListener);
- helpHowto.setEnabled(false);
MenuItem helpBugreport = new MenuItem(helpMenu, SWT.PUSH);
helpBugreport.setText(MenuBarLabels.HELP_BUGREPORT);
helpBugreport.addSelectionListener(helpMenuListener);
- helpBugreport.setEnabled(false);
MenuItem helpAbout = new MenuItem(helpMenu, SWT.PUSH);
helpAbout.setText(MenuBarLabels.HELP_ABOUT);
AboutDialog aboutDialog = new AboutDialog(currentShell);
aboutDialog.open();
} else if (menuName.equals(MenuBarLabels.HELP_BUGREPORT)) {
-
+ try {
+ String url = MenuBarLabels.HELP_BUGREPORT_LINK;
+ if (CommonUtil.isWin()) {
+ org.eclipse.swt.program.Program.launch(url);
+ } else if (CommonUtil.isLinux()) {
+ Runtime.getRuntime().exec("xdg-open " + url); //$NON-NLS-1$
+ } else if (CommonUtil.isMac()) {
+ Runtime.getRuntime().exec("/usr/bin/open " + url); //$NON-NLS-1$
+ }
+ } catch (Throwable e) {
+ Logger.error("Failed to open developer site");
+ return;
+ }
} else if (menuName.equals(MenuBarLabels.HELP_HOWTO)) {
-
+ try {
+ String url = MenuBarLabels.HELP_HOWTO_LINK;
+ if (CommonUtil.isWin()) {
+ org.eclipse.swt.program.Program.launch(url);
+ } else if (CommonUtil.isLinux()) {
+ Runtime.getRuntime().exec("xdg-open " + url); //$NON-NLS-1$
+ } else if (CommonUtil.isMac()) {
+ Runtime.getRuntime().exec("/usr/bin/open " + url); //$NON-NLS-1$
+ }
+ } catch (Throwable e) {
+ Logger.error("Failed to open developer site");
+ return;
+ }
}
}
};