|
org.netbeans.modules.versioning.core/1 1.5.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.modules.versioning.core.spi.VCSAnnotator
public abstract class VCSAnnotator
Annotator provides these services based on files' versioning status:
| Nested Class Summary | |
|---|---|
static class |
VCSAnnotator.ActionDestination
Specifies destination of returned actions. |
| Constructor Summary | |
|---|---|
protected |
VCSAnnotator()
Protected constructor, does nothing. |
| Method Summary | |
|---|---|
Image |
annotateIcon(Image icon,
VCSContext context)
Allows a versioning system to decorate given icon (badging). |
String |
annotateName(String name,
VCSContext context)
Allows a versioning system to decorate given name with HTML markup. |
Action[] |
getActions(VCSContext context,
VCSAnnotator.ActionDestination destination)
Returns set of actions to offer to the user use on a given context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected VCSAnnotator()
| Method Detail |
|---|
public String annotateName(String name,
VCSContext context)
name - text to decoratecontext - a context this name represents
public Image annotateIcon(Image icon,
VCSContext context)
icon - an icon to decoratecontext - a context this icon represents
public Action[] getActions(VCSContext context,
VCSAnnotator.ActionDestination destination)
context - context on which returned actions should operatedestination - where this actions will be used
|
org.netbeans.modules.versioning.core/1 1.5.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||