| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
package org.homeunix.thecave.buddi.view.menu.menus; |
| 5 | |
|
| 6 | |
import org.homeunix.thecave.buddi.i18n.keys.MenuKeys; |
| 7 | |
import org.homeunix.thecave.buddi.model.prefs.PrefsModel; |
| 8 | |
import org.homeunix.thecave.buddi.view.menu.items.HelpAbout; |
| 9 | |
import org.homeunix.thecave.buddi.view.menu.items.HelpCheckForUpdates; |
| 10 | |
import org.homeunix.thecave.buddi.view.menu.items.HelpDownloadPlugins; |
| 11 | |
import org.homeunix.thecave.buddi.view.menu.items.HelpHelp; |
| 12 | |
import org.homeunix.thecave.buddi.view.menu.items.HelpTutorial; |
| 13 | |
|
| 14 | |
import ca.digitalcave.moss.common.OperatingSystemUtil; |
| 15 | |
import ca.digitalcave.moss.swing.MossFrame; |
| 16 | |
import ca.digitalcave.moss.swing.MossMenu; |
| 17 | |
|
| 18 | |
public class HelpMenu extends MossMenu { |
| 19 | |
public static final long serialVersionUID = 0; |
| 20 | |
|
| 21 | |
public HelpMenu(MossFrame frame) { |
| 22 | 5975 | super(frame, PrefsModel.getInstance().getTranslator().get(MenuKeys.MENU_HELP)); |
| 23 | |
|
| 24 | 5975 | if (!OperatingSystemUtil.isMac()){ |
| 25 | 5975 | this.add(new HelpAbout(frame)); |
| 26 | 5975 | this.addSeparator(); |
| 27 | |
} |
| 28 | 5975 | this.add(new HelpHelp(frame)); |
| 29 | 5975 | this.add(new HelpTutorial(frame)); |
| 30 | 5975 | this.addSeparator(); |
| 31 | 5975 | this.add(new HelpDownloadPlugins(frame)); |
| 32 | 5975 | this.addSeparator(); |
| 33 | 5975 | this.add(new HelpCheckForUpdates(frame)); |
| 34 | |
|
| 35 | 5975 | } |
| 36 | |
} |