|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.contribution.visualiser.core.ProviderDefinition
A ProviderDefinition represents the definition of a visualiser provider as specified by someone extending the given extension point. They are managed by the ProviderManager.
Constructor Summary | |
ProviderDefinition(java.lang.String id,
java.lang.String className,
IContentProvider contentP,
IMarkupProvider markupP)
The constructor - requires a content provider and a markup provider |
Method Summary | |
IContentProvider |
getContentProvider()
Get the IContentProvider associated with this provider |
java.lang.String |
getDescription()
Get the description of this provider |
java.lang.String |
getEmptyMessage()
|
java.lang.String |
getID()
Get the id for this provider |
IMarkupProvider |
getMarkupInstance()
Get the IMarkupProvider associated with this provider |
java.lang.String |
getName()
Get the name for this provider |
java.lang.String |
getPaletteID()
Get the default palette for this provider, if one has been specified |
int |
getPriority()
Get the priority of this provider |
java.lang.String |
getTitle()
Get the title for this provider definition |
boolean |
isEnabled()
Get the enabled state of this provider |
void |
setDescription(java.lang.String d)
Set the description for this provider |
void |
setEmptyMessage(java.lang.String emptyMessage)
Set the empty message for this provider, which is displayed when there is no data available. |
void |
setEnabled(boolean checked)
Enable/disable this provider (set it as current). |
void |
setPaletteID(java.lang.String paletteID)
Set the default palette for this provider |
void |
setPriority(int priority)
Set the priority of this provider |
void |
setTitle(java.lang.String title)
Set the title for this provider - used to augment the title of the Visualiser view |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProviderDefinition(java.lang.String id, java.lang.String className, IContentProvider contentP, IMarkupProvider markupP)
className
- contentP
- markupP
- Method Detail |
public java.lang.String getName()
public java.lang.String getID()
public void setDescription(java.lang.String d)
d
- public java.lang.String getDescription()
public void setEnabled(boolean checked)
checked
- public boolean isEnabled()
public IContentProvider getContentProvider()
public IMarkupProvider getMarkupInstance()
public void setTitle(java.lang.String title)
title
- public java.lang.String getTitle()
public void setPriority(int priority)
priority
- public int getPriority()
public void setPaletteID(java.lang.String paletteID)
paletteID
- public java.lang.String getPaletteID()
public void setEmptyMessage(java.lang.String emptyMessage)
emptyMessage
- public java.lang.String getEmptyMessage()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |