|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.jsdt.ui.wizards.ClasspathAttributeConfiguration
public abstract class ClasspathAttributeConfiguration
A ClasspathAttributeConfiguration
specifies how a class path attribute
is presented and configured
in the JavaScript build path dialog.
Clients should implement this interface and include the name of their
class in an extension contributed to the jdt.ui's classpath attribute configuration
extension point (named org.eclipse.wst.jsdt.ui.classpathAttributeConfiguration
).
Nested Class Summary | |
---|---|
static class |
ClasspathAttributeConfiguration.ClasspathAttributeAccess
This class provides information about the attribute to be rendered or configured. |
Constructor Summary | |
---|---|
ClasspathAttributeConfiguration()
|
Method Summary | |
---|---|
abstract boolean |
canEdit(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
Specifies if the given attribute can be edited. |
abstract boolean |
canRemove(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
Specifies if 'Remove' is a valid action on the given attribute. |
abstract ImageDescriptor |
getImageDescriptor(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
Returns the image descriptor of the classpath attributes name as a translated string. |
abstract java.lang.String |
getNameLabel(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
Returns the label of the classpath attributes name as a translated string. |
abstract java.lang.String |
getValueLabel(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
Returns the label of the classpath attributes value as a translated string. |
abstract IIncludePathAttribute |
performEdit(Shell shell,
ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
This method is invoked when the Edit is pressed. |
abstract IIncludePathAttribute |
performRemove(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
This method is invoked when the Remove is pressed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClasspathAttributeConfiguration()
Method Detail |
---|
public abstract ImageDescriptor getImageDescriptor(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
attribute
- access to the attributes to render
public abstract java.lang.String getNameLabel(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
attribute
- access to the attributes to render
public abstract java.lang.String getValueLabel(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
attribute
- access to the attributes to render
public abstract boolean canEdit(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
attribute
- access to the attribute to answer the question of
public abstract boolean canRemove(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
true
if the element isn't already cleared.
attribute
- access to the attribute to answer the question of
public abstract IIncludePathAttribute performEdit(Shell shell, ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
shell
- the parent shellattribute
- access to the attribute to configure
null
if the action has been cancelled.public abstract IIncludePathAttribute performRemove(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
attribute
- access to the attribute to configure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |