public abstract class ClasspathAttributeConfiguration extends Object
ClasspathAttributeConfiguration
specifies how a class path attribute
is presented and configured
in the Java build path dialog.
Clients should extend this class and include the name of their
class in an extension contributed to the jdt.ui's classpath attribute configuration
extension point (named org.eclipse.jdt.ui.classpathAttributeConfiguration
).
Modifier and Type | Class and Description |
---|---|
static class |
ClasspathAttributeConfiguration.ClasspathAttributeAccess
This class provides information about the attribute to be rendered or configured.
|
Constructor and Description |
---|
ClasspathAttributeConfiguration() |
Modifier and Type | Method and Description |
---|---|
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 String |
getNameLabel(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
Returns the label of the classpath attributes name as a translated string.
|
abstract String |
getValueLabel(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
Returns the label of the classpath attributes value as a translated string.
|
abstract IClasspathAttribute |
performEdit(Shell shell,
ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
This method is invoked when the Edit is pressed.
|
abstract IClasspathAttribute |
performRemove(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
This method is invoked when the Remove is pressed.
|
public abstract ImageDescriptor getImageDescriptor(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
attribute
- access to the attributes to renderpublic abstract String getNameLabel(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
attribute
- access to the attributes to renderpublic abstract String getValueLabel(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
attribute
- access to the attributes to renderpublic abstract boolean canEdit(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
attribute
- access to the attribute to answer the question ofpublic abstract boolean canRemove(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
true
if the element isn't already cleared.attribute
- access to the attribute to answer the question ofpublic abstract IClasspathAttribute performEdit(Shell shell, ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
shell
- the parent shellattribute
- access to the attribute to configurenull
if the action has been cancelled.public abstract IClasspathAttribute performRemove(ClasspathAttributeConfiguration.ClasspathAttributeAccess attribute)
attribute
- access to the attribute to configure
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.