public abstract class AbstractFeatureCommand
extends org.jboss.forge.addon.projects.ui.AbstractProjectCommand
Modifier and Type | Class and Description |
---|---|
protected static interface |
AbstractFeatureCommand.FeatureFilter |
protected class |
AbstractFeatureCommand.FeatureLabelConverter |
protected class |
AbstractFeatureCommand.FeatureValueConverter |
Constructor and Description |
---|
AbstractFeatureCommand() |
Modifier and Type | Method and Description |
---|---|
org.jboss.forge.addon.ui.result.Result |
execute(org.jboss.forge.addon.ui.context.UIExecutionContext context) |
protected abstract AbstractFeatureCommand.FeatureFilter |
getFilter() |
org.jboss.forge.addon.projects.ProjectFactory |
getProjectFactory() |
protected abstract String |
getSelectionDescription() |
protected abstract String |
getSelectionLabel() |
void |
initializeUI(org.jboss.forge.addon.ui.context.UIBuilder builder) |
protected boolean |
isProjectRequired() |
protected abstract void |
performOperation(org.jboss.forge.addon.projects.Project project,
AggregatorFacetReflections.Feature feature) |
containsProject, getSelectedProject, getSelectedProject, isEnabled
public void initializeUI(org.jboss.forge.addon.ui.context.UIBuilder builder) throws Exception
Exception
protected abstract AbstractFeatureCommand.FeatureFilter getFilter()
protected abstract String getSelectionDescription()
protected abstract String getSelectionLabel()
public org.jboss.forge.addon.ui.result.Result execute(org.jboss.forge.addon.ui.context.UIExecutionContext context) throws Exception
Exception
protected abstract void performOperation(org.jboss.forge.addon.projects.Project project, AggregatorFacetReflections.Feature feature) throws Exception
Exception
protected boolean isProjectRequired()
isProjectRequired
in class org.jboss.forge.addon.projects.ui.AbstractProjectCommand
public org.jboss.forge.addon.projects.ProjectFactory getProjectFactory()
getProjectFactory
in class org.jboss.forge.addon.projects.ui.AbstractProjectCommand
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.