Package org.drools.guvnor.client.explorer.navigation.modules

Examples of org.drools.guvnor.client.explorer.navigation.modules.PackagesNewAssetMenu


    public Widget getModulesNewAssetMenu(String perspectiveType) {
        if ( SOAPerspective.SOA_PERSPECTIVE.equals( perspectiveType ) ) {
            return (new SOAServicesNewAssetMenu( clientFactory,
                                                 eventBus )).asWidget();
        } else if ( AuthorPerspective.AUTHOR_PERSPECTIVE.equals( perspectiveType ) ) {
            return (new PackagesNewAssetMenu( clientFactory,
                                              eventBus )).asWidget();
        } else {
            //Default
            return (new PackagesNewAssetMenu( clientFactory,
                                              eventBus )).asWidget();
        }
    }
View Full Code Here


    public Widget getModulesNewAssetMenu(String perspectiveType) {
        if ( SOAPerspective.SOA_PERSPECTIVE.equals( perspectiveType ) ) {
            return (new SOAServicesNewAssetMenu( clientFactory,
                                                 eventBus )).asWidget();
        } else if ( AuthorPerspective.AUTHOR_PERSPECTIVE.equals( perspectiveType ) ) {
            return (new PackagesNewAssetMenu( clientFactory,
                                              eventBus )).asWidget();
        } else {
            //Default
            return (new PackagesNewAssetMenu( clientFactory,
                                              eventBus )).asWidget();
        }
    }
View Full Code Here

TOP

Related Classes of org.drools.guvnor.client.explorer.navigation.modules.PackagesNewAssetMenu

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.