Package org.sylfra.idea.plugins.revu.actions

Source Code of org.sylfra.idea.plugins.revu.actions.ShowProjectSettingsAction

package org.sylfra.idea.plugins.revu.actions;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.PlatformDataKeys;
import com.intellij.openapi.project.Project;
import org.sylfra.idea.plugins.revu.RevuDataKeys;
import org.sylfra.idea.plugins.revu.utils.RevuUtils;

/**
* @author <a href="mailto:syllant@gmail.com">Sylvain FRANCOIS</a>
* @version $Id$
*/
public class ShowProjectSettingsAction extends AnAction
{
  public void actionPerformed(AnActionEvent e)
  {
    Project project = e.getData(PlatformDataKeys.PROJECT);

    if (project != null)
    {
      RevuUtils.editProjectSettings(project, e.getData(RevuDataKeys.REVIEW));
    }
  }
}
TOP

Related Classes of org.sylfra.idea.plugins.revu.actions.ShowProjectSettingsAction

TOP
Copyright © 2018 www.massapi.com. 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.