Sha256: be5bfcb1bec7d438271e787287790226582b13bb603d8bca522f8cd083fc3595

Contents?: true

Size: 915 Bytes

Versions: 3

Compression:

Stored size: 915 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 static <%= 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 -%>, placeController);
    }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
resty-generators-0.7.3 lib/generators/resty/setup/templates/MenuPanel.java
resty-generators-0.7.2 lib/generators/resty/setup/templates/MenuPanel.java
resty-generators-0.7.1 lib/generators/resty/setup/templates/MenuPanel.java