litesoft
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
package org.litesoft.sandbox.multimodule.client.main.home;
import org.litesoft.sandbox.multimodule.client.common.pavsupport.*;
import org.litesoft.sandbox.multimodule.client.foundation.places.*;
import org.litesoft.sandbox.multimodule.client.foundation.support.*;
import com.google.gwt.place.shared.*;
import com.google.gwt.user.client.ui.*;
public class HomeActivity extends AbstractActivity implements HomeView.Presenter
{
private ClientFactory mClientFactory;
private HomeView mView;
@SuppressWarnings({"UnusedParameters"})
public HomeActivity( ClientFactory pClientFactory, HomeView pView, PlaceHome pPlace ) // pPlace not currently being used, but kept for API consistency
{
mClientFactory = pClientFactory;
mView = pView;
}
@Override
public void start( AcceptsOneWidget pPanel )
{
mView.setPresenter( this );
pPanel.setWidget( mView.asWidget() );
}
@Override
public void goTo( Place place )
{
mClientFactory.goTo( place );
}
}
|
Revision |
Author |
Commited |
Message |
669
|
GeorgeS
|
Sun 13 May, 2012 23:29:27 +0000 |
|