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

Examples of org.drools.guvnor.client.explorer.navigation.ClosePlaceEvent$Handler


    private void completedRenaming(String newAssetUUID) {
        Window.alert( Constants.INSTANCE.PackageRenamedSuccessfully() );
        refreshPackageList();

        eventBus.fireEvent( new ClosePlaceEvent( new ModuleEditorPlace( newAssetUUID ) ) );

        openModule( newAssetUUID );
    }
View Full Code Here


    private void doArchive() {
        packageConfigData.setArchived( true );
        Command ref = new Command() {
            public void execute() {
                eventBus.fireEvent( new ClosePlaceEvent( new ModuleEditorPlace( packageConfigData.getUuid() ) ) );
                refreshPackageList();
            }
        };
        doSave( ref );
    }
View Full Code Here

            final Place place) {
        ClosableLabel closableLabel = new ClosableLabel(title);

        closableLabel.addCloseHandler(new CloseHandler<ClosableLabel>() {
            public void onClose(CloseEvent<ClosableLabel> event) {
                eventBus.fireEvent(new ClosePlaceEvent(place));
            }

        });

        return closableLabel;
View Full Code Here

        });
        return btn;
    }

    private ClosePlaceEvent getCloseEvent(String moduleName) {
        return new ClosePlaceEvent(new SnapshotPlace(moduleName, snapInfo.getName()));
    }
View Full Code Here

TOP

Related Classes of org.drools.guvnor.client.explorer.navigation.ClosePlaceEvent$Handler

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.