1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Fixing help menu links, integrating copy as html, and modifying EditorToolbar labels (Run -> Verify, Export -> Upload).

This commit is contained in:
David A. Mellis
2009-06-01 19:02:46 +00:00
parent d589209e92
commit 5f26d058e6
4 changed files with 65 additions and 23 deletions

View File

@ -1636,7 +1636,16 @@ public class Base {
File referenceFile = new File(referenceFolder, filename);
openURL(referenceFile.getAbsolutePath());
}
static public void showGettingStarted() {
if (Base.isMacOS()) {
Base.showReference("Guide_MacOSX.html");
} else if (Base.isWindows()) {
Base.showReference("Guide_Windows.html");
} else {
Base.openURL("http://www.arduino.cc/playground/Learning/Linux");
}
}
static public void showReference() {
showReference("index.html");
@ -1644,7 +1653,7 @@ public class Base {
static public void showEnvironment() {
showReference("environment" + File.separator + "index.html");
showReference("Guide_Environment.html");
}
@ -1654,9 +1663,14 @@ public class Base {
static public void showTroubleshooting() {
showReference("troubleshooting" + File.separator + "index.html");
showReference("Guide_Troubleshooting.html");
}
static public void showFAQ() {
showReference("faq.html");
}
// .................................................................