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
package com.example.client; | |
import com.example.client.gin.ClientGinjector; | |
import com.google.gwt.core.client.EntryPoint; | |
import com.google.gwt.core.client.GWT; | |
import com.google.gwt.user.client.ui.RootPanel; | |
public class example implements EntryPoint { | |
private final ClientGinjector injector = GWT.create(ClientGinjector.class); |
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
package com.example.client.gin; | |
import com.example.client.components.ColaboradorPanel; | |
import com.google.gwt.inject.client.GinModules; | |
import com.google.gwt.inject.client.Ginjector; | |
@GinModules(ClientModule.class) | |
public interface ClientGinjector extends Ginjector { | |
ColaboradorPanel getColaboradorPanel(); | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project | |
xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<!-- POM file generated with GWT webAppCreator --> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.example</groupId> | |
<artifactId>crud-example</artifactId> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<module rename-to='example'> | |
<inherits name='com.google.gwt.user.User' /> | |
<inherits name='com.google.gwt.i18n.I18N'/> | |
<inherits name='com.google.web.bindery.requestfactory.RequestFactory' /> | |
<inherits name='com.sencha.gxt.ui.GXT'/> | |
<inherits name="com.sencha.gwt.uibinder.UiBinder" /> | |
<inherits name="com.google.gwt.inject.Inject"/> | |
<entry-point class='com.example.client.example' /> | |
<extend-property name="locale" values="es_PE"/> |
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
package com.example.client.gin; | |
import com.example.client.Messages; | |
import com.example.client.images.AppImages; | |
import com.example.shared.service.AppRequestFactory; | |
import com.google.gwt.core.client.GWT; | |
import com.google.gwt.inject.client.AbstractGinModule; | |
import com.google.inject.Provides; | |
import com.google.inject.Singleton; | |
import com.google.web.bindery.event.shared.EventBus; |
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
package com.example.client.components; | |
import java.util.ArrayList; | |
import java.util.List; | |
import com.example.client.Messages; | |
import com.example.client.events.SaveEvent; | |
import com.example.client.events.SaveEvent.SaveHandler; | |
import com.example.shared.proxy.ColaboradorProxy; | |
import com.example.shared.service.AppRequestFactory; |
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
package com.example.client.events; | |
import com.google.gwt.event.shared.GwtEvent; | |
import com.google.gwt.event.shared.EventHandler; | |
import com.google.gwt.event.shared.HasHandlers; | |
public class SaveEvent extends GwtEvent<SaveEvent.SaveHandler> { | |
public static Type<SaveHandler> TYPE = new Type<SaveHandler>(); |
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 ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> | |
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" | |
xmlns:g="urn:import:com.google.gwt.user.client.ui" | |
xmlns:gxt="urn:import:com.sencha.gxt.widget.core.client" | |
xmlns:container="urn:import:com.sencha.gxt.widget.core.client.container" | |
xmlns:toolbar="urn:import:com.sencha.gxt.widget.core.client.toolbar" | |
xmlns:button="urn:import:com.sencha.gxt.widget.core.client.button" | |
xmlns:grid="urn:import:com.sencha.gxt.widget.core.client.grid" > | |
<ui:with type="com.example.client.images.AppImages" field="images" /> |
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
public class ColaboradorPanel extends Composite { | |
public interface Binder extends UiBinder<Widget, ColaboradorPanel> { | |
} | |
private static Binder uiBinder = GWT.create(Binder.class); | |
public ColaboradorPanel() { | |
initWidget(uiBinder.createAndBindUi(this)); | |
} |
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
public class ColaboradorPanel implements IsWidget { | |
public interface Binder extends UiBinder<Widget, ColaboradorPanel> { | |
} | |
private static Binder uiBinder = GWT.create(Binder.class); | |
public ColaboradorPanel(){ | |
} |
OlderNewer