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

org.nakedobjects.nos.client.dnd.action.CancelAction Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.nos.client.dnd.action;

import org.nakedobjects.nos.client.dnd.View;
import org.nakedobjects.nos.client.dnd.Workspace;
import org.nakedobjects.nos.client.dnd.drawing.Location;

import org.apache.log4j.Logger;


public class CancelAction extends AbstractButtonAction {
    private static final Logger LOG = Logger.getLogger(CancelAction.class);

    public CancelAction() {
        super("Cancel");
    }

    public void execute(final Workspace workspace, final View view, final Location at) {
        LOG.debug("cancel pressed");
        view.dispose();
    }
}

// Copyright (c) Naked Objects Group Ltd.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy