Skip to content

Latest commit

 

History

History
40 lines (40 loc) · 886 Bytes

README.md

File metadata and controls

40 lines (40 loc) · 886 Bytes

Slim and Simple MVP framework for GWT

I hope can make every thing become simple for you


SMVP4G Feature

Support MVP

Easy Using I18n

Support set user permission for views

Support set user permission for each filed in a view

Support Reflection

Support Aop


Example

View

	@View
	public class TestView extends AbstractView {
	    @Override
	    protected void initializeView() {
	        setWidget(new Label("Main Test View"));
	    }
	}

Presenter

	@Presenter(view = TestView.class, place = TestPlace.class)
	public class TestPresenter extends AbstractPresenter {
	    @Override
	    public void onActivate() {
	        view.show();
	    }
	}

Place

	@Place
	public class TestPlace extends AbstractPlace {
	}