Sha256: 6675ab35efb48ae2d726b36a5940c2468061ba98e5be2e0088522ad3b3331f78

Contents?: true

Size: 889 Bytes

Versions: 2

Compression:

Stored size: 889 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<<%= options[:session] ? 'User' : 'Void' -%>> {

    @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.6.0 lib/generators/resty/setup/templates/MenuPanel.java
resty-generators-0.5.3 lib/generators/resty/setup/templates/MenuPanel.java