Create Labels
In a project, use labels to organize files and communicate information to project users. You can create these types of label categories:
Single-valued — You can attach only one label from the category to a file.
Multi-valued — You can attach multiple labels from the category to a file.
TheLabelstree has built-in labels in the single-valuedClassificationcategory:
You cannot rename or deleteArtifact,Convenience,派生的,Design,None,Test, andOther.
你不能注释内置标签。
To create a label category:
In a project, right-click theLabelspane. Then selectCreate New Category.
In the Create Category dialog box, enter a name for the new category.
If you require a single-valued label category, select theSingle Valuedcheck box. The default is multi-valued.
If you want to specify a data type for the label other than
String
, from theTypelist, selectDouble
,Integer
,Logical
, orNone
.ClickCreate.
To create a label in a category:
In theLabelspane, right-click the label category and selectCreate New Label.
In the Create Label dialog box, enter a name for the new label and clickOK.
To rename or delete a category or label, right-click it and selectRenameorRemove.
To create new labels at the command line, seeAutomate Project Tasks Using Scripts.