Examples of ClosePlaceEvent


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

        pop.show();
    }

    private void closeAndReopen(String newAssetUUID) {
        eventBus.fireEvent( new ClosePlaceEvent( new AssetEditorPlace( uuid ) ) );
        clientFactory.getPlaceController().goTo( new AssetEditorPlace( newAssetUUID ) );
    }
View Full Code Here

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

        pop.show();

    }

    public void close() {
        eventBus.fireEvent(new ClosePlaceEvent(new MultiAssetPlace(rows)));
        if ( closeCommand != null ) {
            closeCommand.execute();
        }
    }
View Full Code Here

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

    public void onCloseAllPlaces(CloseAllPlacesEvent event) {
        Set<Place> places = new HashSet<Place>();
        places.addAll(activeActivities.keySet());

        for (Place place : places) {
            eventBus.fireEvent(new ClosePlaceEvent(place));
        }
    }
View Full Code Here

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

                //When the popup is closed signal closure of place
                aboutPop.addCloseHandler( new CloseHandler<PopupPanel>() {

                    public void onClose(CloseEvent<PopupPanel> event) {
                        ManagerPlace place = new ManagerPlace( id );
                        eventBus.fireEvent( new ClosePlaceEvent( place ) );
                    }

                } );
                break;
View Full Code Here

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

    /**
     * closes itself
     */
    private void close() {
        eventBus.fireEvent( new ClosePlaceEvent( new AssetEditorPlace( asset.getUuid() ) ) );
    }
View Full Code Here

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

                                    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

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

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

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

        openModule( newAssetUUID );
    }
View Full Code Here

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

    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

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

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

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

        openModule( newAssetUUID );
    }
View Full Code Here

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

    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
TOP
Copyright © 2018 www.massapi.com. 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.