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 WelcomeViewImpl extends Composite implements WelcomeView { | |
public interface Binder extends UiBinder<Widget, WelcomeViewImpl> { | |
} | |
private Presenter presenter; | |
@Inject | |
public WelcomeViewImpl(final Binder uiBinder) { | |
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 WelcomePlace extends Place { | |
private final String appPlace; | |
public WelcomePlace() { | |
this.appPlace = ""; | |
} | |
public String getAppPlace() { | |
return appPlace; | |
} |
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
// In the parent presenter | |
@ContentSlot | |
public static final Type<RevealContentHandler<?>> TYPE_SetMainContent = new Type<RevealContentHandler<?>>(); | |
// In the child presenter | |
@Override | |
protected void revealInParent() { | |
RevealContentEvent.fire(this, AppPresenter.TYPE_SetMainContent, 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 StoreManagerActivityMapper implements ActivityMapper { | |
private final Provider<StoreProfileActivity> storeProfileActivityProvider; | |
@Inject | |
public StoreManagerActivityMapper( | |
final Provider<StoreProfileActivity> storeProfileActivityProvider) { | |
this.storeProfileActivityProvider = storeProfileActivityProvider; | |
} |
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
@WithTokenizers({WelcomePlace.Tokenizer.class, StoreProfilePlace.Tokenizer.class}) | |
public interface AdminPlaceHistoryMapper extends PlaceHistoryMapper { | |
} | |
public class ContentActivityMapper implements ActivityMapper { | |
private final Provider<WelcomeActivity> appActivityProvider; | |
private final Provider<StoreManagerActivity> storeManagerActivityProvider; | |
@Inject |
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
<ui:with field="res" type="com.phonehalo.mystuff.client.MyStuffResources" /> | |
<g:HTMLPanel> | |
<g:Image url="{res.cobraTagLogo.getSafeUri}" /> | |
</g:HTMLPanel> |
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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.quebecpass</groupId> | |
<artifactId>quebecpass</artifactId> | |
<version>0.1-SNAPSHOT</version> |
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
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' | |
xmlns:g='urn:import:com.google.gwt.user.client.ui'> | |
<ui:style> | |
.mainPanel, .secondPanel, .thirdPanel, .fourthPanel, .leftFifthPanel, .rightFifthPanel, .fifthPanel { | |
border: 2px solid; | |
margin: 5px; | |
padding: 5px; | |
} |
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.sp.admin.client.mvp; | |
import com.google.gwt.activity.shared.Activity; | |
import com.google.gwt.activity.shared.ActivityMapper; | |
import com.google.gwt.place.shared.Place; | |
import com.sp.admin.client.application.storemanager.StoreDetailsActivity; | |
import com.sp.admin.client.application.storemanager.StoreManagerActivity; | |
import com.sp.admin.client.application.storemanager.categories.StoreCategoryDetailsActivity; | |
import com.sp.admin.client.application.storemanager.categories.StoreCategoryDetailsPlace; | |
import com.sp.admin.client.application.storemanager.categories.StoreCategoryIndexActivity; |
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.sp.admin.client.mvp; | |
import com.google.gwt.activity.shared.Activity; | |
import com.google.gwt.activity.shared.ActivityMapper; | |
import com.google.gwt.place.shared.Place; | |
import com.sp.admin.client.application.accountsettings.AccountSettingsActivity; | |
import com.sp.admin.client.application.accountsettings.AccountSettingsPlace; | |
import com.sp.admin.client.application.accountsettings.companyprofile.CompanyProfileActivity; | |
import com.sp.admin.client.application.accountsettings.companyprofile.CompanyProfilePlace; | |
import com.sp.admin.client.application.accountsettings.manageusers.ManageUsersActivity; |