Sha256: 373c8474f891b2b556b706cc972a386274c480fb2521029880cefe5511b37703

Contents?: true

Size: 850 Bytes

Versions: 2

Compression:

Stored size: 850 Bytes

Contents

package <%= managed_package %>;

import javax.inject.Inject;
import javax.inject.Singleton;
<% if options[:session] -%>

import <%= models_package %>.User;
<% end -%>

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.place.shared.PlaceController;

import <%= gwt_rails_package %>.places.RestfulActionEnum;
<% if options[:session] -%>
import <%= gwt_rails_package %>.session.SessionManager;
<% end -%>
import <%= gwt_rails_package %>.views.MenuPanel;

@Singleton
public class <%= application_name %>MenuPanel extends MenuPanel<User> {

    @Inject
    <%= application_name %>MenuPanel(final PlaceController placeController<% if options[:session] -%>, SessionManager<User> sessionManager<% end %>){
        super(<% if options[:session] -%>sessionManager<% end -%>);
    }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
resty-generators-0.5.1 lib/generators/resty/setup/templates/MenuPanel.java
resty-generators-0.5.0 lib/generators/resty/setup/templates/MenuPanel.java