This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def editorTitle = "Firebase_Login.html" | |
import java.nio.file.*; | |
import com.sun.nio.file.* | |
def refreshBrowser = { path -> | |
eclipse.log("Opening browser with: " + path); | |
eclipse.views.create(path).clear().add.browser().open(path); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def firebaseJsonData = "https://incandescent-fire-1320.firebaseio.com/.json?print=pretty" | |
def data = firebaseJsonData.toURL().getText() | |
return data; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eclipse.views.create("Karma Runner") | |
.clear() | |
.add.browser() | |
.open("http://localhost:9879/__karma/") | |
eclipse.views.create("Website") | |
.clear() | |
.add.browser() | |
.open("http://localhost:9879/index.html") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8" > | |
<title>WebSocket Test></title> | |
<script language="javascript" type="text/javascript"> | |
var wsUri = "ws://echo.websocket.org/"; | |
var output; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.eclipse.swt.SWT; | |
import org.eclipse.swt.browser.Browser; | |
import org.eclipse.swt.widgets.*; | |
import org.eclipse.swt.graphics.Rectangle; | |
import org.eclipse.jface.action.Action; | |
import org.eclipse.ui.internal.about.*; | |
def panel = eclipseAPI.panels.add_Panel("asd_2 123"); | |
for (def control : panel.composite.getChildren()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//run these first (so that the code below compiles) | |
eclipseAPI.extraGroovyJars = | |
[ "/Users/plugin/_Dev/eclipses/Kepler/plugins/org.eclipse.swtbot.eclipse.finder_2.1.2.201311041021.jar" , | |
"/Users/plugin/_Dev/eclipses/Kepler/plugins/org.eclipse.swtbot.swt.finder_2.1.2.201311041021.jar" , | |
"/Users/plugin/_Dev/eclipses/Kepler/plugins/org.apache.log4j_1.2.15.v201012070815.jar" ] | |
def groovyExecution = view.groovyExecution; | |
def groovyShell = groovyExecution.groovyShell; | |
//def jar = "asd"; |
NewerOlder