Package org.sylfra.idea.plugins.revu.ui.forms.review.referential.tag

Source Code of org.sylfra.idea.plugins.revu.ui.forms.review.referential.tag.IssueTagReferentialForm

package org.sylfra.idea.plugins.revu.ui.forms.review.referential.tag;

import com.intellij.openapi.project.Project;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import org.sylfra.idea.plugins.revu.model.IssueTag;
import org.sylfra.idea.plugins.revu.ui.forms.review.referential.AbstractNameHolderReferentialForm;
import org.sylfra.idea.plugins.revu.ui.forms.review.referential.AbstractReferentialDetailForm;

/**
* @author <a href="mailto:syllant@gmail.com">Sylvain FRANCOIS</a>
* @version $Id: IssueTagReferentialForm.java 22 2010-04-03 17:16:12Z syllant $
*/
public class IssueTagReferentialForm extends AbstractNameHolderReferentialForm<IssueTag>
{
  public IssueTagReferentialForm(Project project)
  {
    super(project);
  }

  protected boolean isTableSelectionMovable()
  {
    return false;
  }

  protected AbstractReferentialDetailForm<IssueTag> buildNestedFormForDialog()
  {
    return new IssueTagDetailForm(table);
  }

  @Nls
  protected String getTitleKeyForDialog(boolean addMode)
  {
    return addMode
      ? "projectSettings.review.referential.issueTag.addDialog.title"
      : "projectSettings.review.referential.issueTag.editDialog.title";
  }

  @NotNull
  protected IssueTag createDefaultDataForDialog()
  {
    return new IssueTag();
  }
}
TOP

Related Classes of org.sylfra.idea.plugins.revu.ui.forms.review.referential.tag.IssueTagReferentialForm

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.