| java.lang.Object org.netbeans.modules.ant.freeform.spi.TargetDescriptor
TargetDescriptor | final public class TargetDescriptor (Code) | | Description of the build target to be shown in Target Mappings customizer
panel.
See Also: ProjectNature.getExtraTargets author: David Konecny |
Constructor Summary | |
public | TargetDescriptor(String actionName, List<String> defaultTargets, String actionLabel, String accessibleLabel) Constructor.
Parameters: actionName - IDE action name (see org.netbeans.spi.project.ActionProvider) Parameters: defaultTargets - list of regular expressions to match name of the Ant target to which this IDE action usually maps Parameters: actionLabel - localized label of this action. |
TargetDescriptor | public TargetDescriptor(String actionName, List<String> defaultTargets, String actionLabel, String accessibleLabel)(Code) | | Constructor.
Parameters: actionName - IDE action name (see org.netbeans.spi.project.ActionProvider) Parameters: defaultTargets - list of regular expressions to match name of the Ant target to which this IDE action usually maps Parameters: actionLabel - localized label of this action. To be shown in UI customizer Parameters: accessibleLabel - accessible label. Used together with actionLabel |
getAccessibleLabel | public String getAccessibleLabel()(Code) | | Accessibility of the getIDEActionLabel().
|
getDefaultTargets | public List<String> getDefaultTargets()(Code) | | List of regular expressions to match name of the target in Ant script
which usually maps to the IDE action. List will be processed in the
given order so it is recommended to list the most specific ones first.
cannot be null; can be empty array |
getIDEActionLabel | public String getIDEActionLabel()(Code) | | Label name under which this IDE action will be presented in the
Target Mapping customizer panel.
|
getIDEActionName | public String getIDEActionName()(Code) | | Name of the IDE action which is mapped to an Ant script.
|
|
|