Skip to content

Commit

Permalink
Introduced AbstractCommandExecutionListener
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Aug 21, 2013
1 parent bc9c938 commit c4fcc73
Showing 1 changed file with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/**
* Copyright 2013 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/

package org.jboss.forge.addon.ui;

import org.jboss.forge.addon.ui.context.UIContext;
import org.jboss.forge.addon.ui.result.Result;

/**
* An abstract class that implements the {@link CommandExecutionListener} interface
*
* @author <a href="ggastald@redhat.com">George Gastaldi</a>
*/
public abstract class AbstractCommandExecutionListener implements CommandExecutionListener
{

@Override
public void preCommandExecuted(UICommand command, UIContext context)
{
// do nothing
}

@Override
public void postCommandExecuted(UICommand command, UIContext context, Result result)
{
// do nothing
}

}

0 comments on commit c4fcc73

Please sign in to comment.