Skip to content

Instantly share code, notes, and snippets.

View leonardoriviere's full-sized avatar

Leonardo Riviere leonardoriviere

View GitHub Profile
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@leonardoriviere
leonardoriviere / GWT.java
Created June 24, 2015 16:57
GWT Widgets Snippet
MenuBar yesMenu = new MenuBar(true);
yesMenu.setAutoOpen(true);
yesMenu.setWidth("500px");
yesMenu.setAnimationEnabled(true);
yesMenu.addItem("Sí", new Command() {
@Override
public void execute() {
}
});