1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-18 21:55:45 +02:00

Bug 480114 Fix package URL dialog box.

This commit is contained in:
Doug Schaefer 2015-10-20 11:59:46 -04:00
parent 652943dfdf
commit 8e38e98780
2 changed files with 3 additions and 3 deletions

View file

@ -21,8 +21,8 @@ public class ArduinoPreferences {
private static final String defaultHome = Paths.get(System.getProperty("user.home"), ".arduinocdt").toString(); //$NON-NLS-1$ //$NON-NLS-2$
private static final String defaultBoardUrls = "http://downloads.arduino.cc/packages/package_index.json" //$NON-NLS-1$
+ "\r\nhttp://arduino.esp8266.com/stable/package_esp8266com_index.json" //$NON-NLS-1$
+ "\r\nhttps://adafruit.github.io/arduino-board-index/package_adafruit_index.json"; //$NON-NLS-1$
+ "\nhttp://arduino.esp8266.com/stable/package_esp8266com_index.json" //$NON-NLS-1$
+ "\nhttps://adafruit.github.io/arduino-board-index/package_adafruit_index.json"; //$NON-NLS-1$
private static IEclipsePreferences getPrefs() {
return InstanceScope.INSTANCE.getNode(Activator.getId());

View file

@ -43,7 +43,7 @@ public class ArduinoPreferencePage extends PreferencePage implements IWorkbenchP
desc.setBackground(parent.getBackground());
desc.setText(Messages.ArduinoPreferencePage_desc);
urlsText = new Text(control, SWT.BORDER);
urlsText = new Text(control, SWT.BORDER | SWT.MULTI);
urlsText.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
urlsText.setText(ArduinoPreferences.getBoardUrls());