Package org.jrebirth.af.core.facade

Examples of org.jrebirth.af.core.facade.JRebirthEvent


    @Override
    @OnWave(EditorWaves.DO_SELECT_EVENT_ACTION)
    protected void processWave(final Wave wave) {
        if (EditorWaves.DO_SELECT_EVENT == wave.getWaveType()) {

            final JRebirthEvent event = wave.get(PropertiesWaves.EVENT_OBJECT);

            getView().getNodeName().setText(event.getTarget());
        }
    }
View Full Code Here


     * {@inheritDoc}
     */
    @Override
    public void perform(final Wave wave) {

        final JRebirthEvent event = wave.get(EditorWaves.EVENT);
        final BallModel targetBallModel = getModel(BallModel.class, event);
        targetBallModel.hide();

        getModel(EditorModel.class).unregisterBall(targetBallModel);
    }
View Full Code Here

     * {@inheritDoc}
     */
    @Override
    public void perform(final Wave wave) {

        final JRebirthEvent event = wave.get(EditorWaves.EVENT);
        final BallModel targetBallModel = getModel(BallModel.class, event);
        targetBallModel.access();

        // getModel(EditorModel.class).unregisterBall(targetBallModel);
    }
View Full Code Here

     * {@inheritDoc}
     */
    @Override
    public void perform(final Wave wave) {

        final JRebirthEvent event = wave.get(EditorWaves.EVENT);

        LOGGER.trace("Process " + event.getEventType() + " of type " + event.getTarget());

        final EditorModel editorModel = getModel(EditorModel.class);

        final BallModel targetBallModel = getModel(BallModel.class, event);

View Full Code Here

     * {@inheritDoc}
     */
    @Override
    public void perform(final Wave wave) {

        final JRebirthEvent event = wave.get(EditorWaves.EVENT);

        if (event.getEventType().name().startsWith("CREATE")) {
            createBallModel(event);
        } else if (event.getEventType().name().startsWith("ACCESS")) {
            accessBallModel(event);
        } else if (event.getEventType().name().startsWith("DESTROY")) {
            destroyBallModel(event);
        }
    }
View Full Code Here

TOP

Related Classes of org.jrebirth.af.core.facade.JRebirthEvent

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.