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

GUI for platform installer, first draft

This commit is contained in:
Cristian Maglie
2014-05-16 00:56:22 +02:00
committed by Federico Fissore
parent 100dd21bd0
commit 373a625903
11 changed files with 1199 additions and 5 deletions

View File

@ -197,4 +197,16 @@ public class ContributionsIndexer {
}
return res;
}
public ContributionsIndex getIndex() {
return index;
}
public void install(ContributedPlatform platform) {
// TODO Auto-generated method stub
}
public void remove(ContributedPlatform platform) {
// TODO Auto-generated method stub
}
}

View File

@ -69,9 +69,10 @@ public class BaseNoGui {
static Platform platform;
static File portableFolder = null;
static final String portableSketchbookFolder = "sketchbook";
static ContributionsIndexer indexer;
// Returns a File object for the given pathname. If the pathname
// is not absolute, it is interpreted relative to the current
// directory when starting the IDE (which is not the same as the
@ -584,7 +585,7 @@ public class BaseNoGui {
}
static public void initPackages() throws Exception {
ContributionsIndexer indexer = new ContributionsIndexer(BaseNoGui.getSettingsFolder());
indexer = new ContributionsIndexer(BaseNoGui.getSettingsFolder());
indexer.parseIndex();
indexer.syncWithFilesystem();
System.out.println(indexer);