|
||||||||||
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 contextMethod Detail |
---|
public boolean canExecute()
IContextEntry
canExecute
in interface IContextEntry
public void execute()
IContextEntry
execute
in interface IContextEntry
public IContext getContext()
IContextEntry
getContext
in interface IContextEntry
public IFeature getFeature()
IContextEntry
getFeature
in interface IContextEntry
public String getIconId()
IContextEntry
getIconId
in interface IContextEntry
public String getText()
IContextEntry
getText
in interface IContextEntry
public String getDescription()
IContextEntry
getDescription
in interface IContextEntry
private void setContext(IContext context)
private void setFeature(IFeature feature)
public void setIconId(String iconId)
IContextEntry
setIconId
in interface IContextEntry
iconId
- the new icon idpublic void setText(String text)
IContextEntry
setText
in interface IContextEntry
text
- the new textpublic void setDescription(String text)
IContextEntry
setDescription
in interface IContextEntry
text
- the new description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |