@Component(roles=EditorDescriptorBuilder.class) @InstantiationStrategy(value=PER_LOOKUP) @Unstable public class EditorDescriptorBuilder extends Object implements EditorDescriptor
EditorDescriptor instance.| Constructor and Description |
|---|
EditorDescriptorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
EditorDescriptor |
build()
Builds the editor descriptor.
|
String |
getCategory() |
String |
getDescription() |
String |
getIcon() |
String |
getId() |
String |
getName() |
EditorDescriptorBuilder |
setCategory(String category)
Sets the editor category.
|
EditorDescriptorBuilder |
setDescription(String description)
Sets the editor description.
|
EditorDescriptorBuilder |
setIcon(String icon)
Sets the editor icon.
|
EditorDescriptorBuilder |
setId(String id)
Sets the editor id.
|
EditorDescriptorBuilder |
setName(String name)
Sets the editor name.
|
public EditorDescriptorBuilder setId(String id)
id - the editor idpublic String getId()
getId in interface EditorDescriptorpublic EditorDescriptorBuilder setName(String name)
name - the editor namepublic String getName()
getName in interface EditorDescriptorpublic EditorDescriptorBuilder setDescription(String description)
description - the editor descriptionpublic String getDescription()
getDescription in interface EditorDescriptorpublic EditorDescriptorBuilder setIcon(String icon)
icon - the editor iconpublic String getIcon()
getIcon in interface EditorDescriptorpublic EditorDescriptorBuilder setCategory(String category)
category - the editor categorypublic String getCategory()
getCategory in interface EditorDescriptorpublic EditorDescriptor build()
Copyright © 2004–2016 XWiki. All rights reserved.