|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.graphiti.tb.AbstractContextEntry
public class AbstractContextEntry
The Class AbstractContextEntry.
| Field Summary | |
|---|---|
private IContext |
context
|
private String |
description
|
private IFeature |
feature
|
private String |
iconId
|
private String |
text
|
| Constructor Summary | |
|---|---|
AbstractContextEntry(IFeature feature,
IContext context)
Creates a new AbstractContextEntry. |
|
| Method Summary | |
|---|---|
boolean |
canExecute()
Can execute. |
void |
execute()
Execute. |
IContext |
getContext()
Gets the context. |
String |
getDescription()
Gets the description. |
IFeature |
getFeature()
Gets the feature. |
String |
getIconId()
Gets the icon id. |
String |
getText()
Gets the text. |
private void |
setContext(IContext context)
|
void |
setDescription(String text)
Sets the description. |
private void |
setFeature(IFeature feature)
|
void |
setIconId(String iconId)
Sets the icon id. |
void |
setText(String text)
Sets the text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private IContext context
private IFeature feature
private String iconId
private String text
private String description
| Constructor Detail |
|---|
public AbstractContextEntry(IFeature feature,
IContext context)
AbstractContextEntry.
feature - the featurecontext - the context| Method Detail |
|---|
public boolean canExecute()
IContextEntry
canExecute in interface IContextEntrypublic void execute()
IContextEntry
execute in interface IContextEntrypublic IContext getContext()
IContextEntry
getContext in interface IContextEntrypublic IFeature getFeature()
IContextEntry
getFeature in interface IContextEntrypublic String getIconId()
IContextEntry
getIconId in interface IContextEntrypublic String getText()
IContextEntry
getText in interface IContextEntrypublic String getDescription()
IContextEntry
getDescription in interface IContextEntryprivate void setContext(IContext context)
private void setFeature(IFeature feature)
public void setIconId(String iconId)
IContextEntry
setIconId in interface IContextEntryiconId - the new icon idpublic void setText(String text)
IContextEntry
setText in interface IContextEntrytext - the new textpublic void setDescription(String text)
IContextEntry
setDescription in interface IContextEntrytext - the new description
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||