All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ikasan.designer.action.IgnoreSaveAndOpenAction Maven / Gradle / Ivy

The newest version!
package org.ikasan.designer.action;

import org.ikasan.designer.DesignerCanvas;
import org.ikasan.designer.function.OpenFunction;

public class IgnoreSaveAndOpenAction implements DesignerAction {

    private OpenFunction openFunction;
    private DesignerCanvas designerCanvas;

    public IgnoreSaveAndOpenAction(OpenFunction openFunction, DesignerCanvas designerCanvas) {
        this.openFunction = openFunction;
        this.designerCanvas = designerCanvas;
    }

    @Override
    public void execute() {
        this.openFunction.open(designerCanvas);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy