Package org.richfaces.photoalbum.model.event

Examples of org.richfaces.photoalbum.model.event.EventTypeQualifier


     * @param mainArea - next Area to show
     *
     */
    public void setMainArea(@Observes @EventType(Events.UPDATE_MAIN_AREA_EVENT) NavEvent ne) {
        if (this.mainArea != null && this.mainArea.equals(NavigationEnum.FILE_UPLOAD)) {
            event.select(new EventTypeQualifier(Events.CLEAR_FILE_UPLOAD_EVENT)).fire(new SimpleEvent());
        }
        this.mainArea = ne.getNav();
    }
View Full Code Here


            shelfAction.addShelf(shelf);
        } catch (Exception e) {
            error.fire(new ErrorEvent("Error", Constants.SHELF_SAVING_ERROR + " <br/>" + e.getMessage()));
            return;
        }
        shelfEvent.select(new EventTypeQualifier(Events.SHELF_ADDED_EVENT)).fire(new ShelfEvent(shelf));
    }
View Full Code Here

        } catch (Exception e) {
            error.fire(new ErrorEvent("Error", Constants.SHELF_SAVING_ERROR + " <br/>" + e.getMessage()));
            shelfAction.resetShelf(shelf);
            return;
        }
        shelfEvent.select(new EventTypeQualifier(Events.SHELF_EDITED_EVENT)).fire(new ShelfEvent(shelf));
    }
View Full Code Here

            shelfAction.deleteShelf(shelf);
        } catch (Exception e) {
            error.fire(new ErrorEvent("Error", Constants.SHELF_DELETING_ERROR + " <br/>" + e.getMessage()));
            return;
        }
        shelfEvent.select(new EventTypeQualifier(Events.SHELF_DELETED_EVENT)).fire(new ShelfEvent(shelf, pathToDelete));
    }
View Full Code Here

TOP

Related Classes of org.richfaces.photoalbum.model.event.EventTypeQualifier

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.