|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.BaseLabelProvider
org.eclipse.jface.viewers.LabelProvider
org.topbraidcomposer.ui.viewers.ResourceLabelProvider
org.topbraidcomposer.ui.viewers.ClassesWithInstanceCountLabelProvider
public class ClassesWithInstanceCountLabelProvider
A ResourceLabelProvider that shows the number of instances in parantheses behind the class name.
| Field Summary |
|---|
| Fields inherited from interface org.topbraid.core.TBPreferenceConstants |
|---|
CLASS_INSTANCES_DEFAULT, CLASS_INSTANCES_DIRECT, CLASS_INSTANCES_INDIRECT, CLASS_INSTANCES_MODE, CLASS_INSTANCES_NONE, CLASS_INSTANCES_SEPARATELY |
| Constructor Summary | |
|---|---|
ClassesWithInstanceCountLabelProvider()
Constructs a new label provider with transitivity set to false. |
|
ClassesWithInstanceCountLabelProvider(int mode)
Constructs a new label provider. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getResourceText(com.hp.hpl.jena.rdf.model.Resource resource)
|
| Methods inherited from class org.topbraidcomposer.ui.viewers.ResourceLabelProvider |
|---|
getBackground, getForeground, getImage, getText, setDelegateColorProvider, setLabelDisplayMode, setResourceIconDecorator |
| Methods inherited from class org.eclipse.jface.viewers.BaseLabelProvider |
|---|
addListener, dispose, fireLabelProviderChanged, isLabelProperty, removeListener |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider |
|---|
addListener, dispose, isLabelProperty, removeListener |
| Constructor Detail |
|---|
public ClassesWithInstanceCountLabelProvider()
public ClassesWithInstanceCountLabelProvider(int mode)
transitive - true to also show the number of indirect instances| Method Detail |
|---|
protected java.lang.String getResourceText(com.hp.hpl.jena.rdf.model.Resource resource)
getResourceText in class ResourceLabelProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||