|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.ui.dialogs.TypeSelectionExtension
public abstract class TypeSelectionExtension
The class provides API to extend type selection dialogs like the open type dialog.
The class should be subclassed by clients wishing to extend the type selection dialog.
JavaUI.createTypeDialog(org.eclipse.swt.widgets.Shell, org.eclipse.jface.operation.IRunnableContext, org.eclipse.jdt.core.search.IJavaSearchScope, int, boolean, String, TypeSelectionExtension)
Constructor Summary | |
---|---|
TypeSelectionExtension()
|
Method Summary | |
---|---|
Control |
createContentArea(Composite parent)
Creates the content area which the extensions contributes to the type selection dialog. |
ITypeInfoFilterExtension |
getFilterExtension()
Returns the filter extension or null if
no additional filtering is required. |
ITypeInfoImageProvider |
getImageProvider()
Returns an image provider or null if the standard
images should be used. |
ISelectionStatusValidator |
getSelectionValidator()
Returns the selection validator or null if
selection validation is not required. |
ITypeSelectionComponent |
getTypeSelectionComponent()
Returns the type selection dialog or null if
the extension has not been initialized yet. |
void |
initialize(ITypeSelectionComponent component)
Initializes the type dialog extension with the given type dialog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeSelectionExtension()
Method Detail |
---|
public final void initialize(ITypeSelectionComponent component)
component
- the type dialog hosting this extensionpublic final ITypeSelectionComponent getTypeSelectionComponent()
null
if
the extension has not been initialized yet.
null
public Control createContentArea(Composite parent)
parent
- the parent of the additional content area
null
if no
additional content area is requiredpublic ITypeInfoFilterExtension getFilterExtension()
null
if
no additional filtering is required.
public ISelectionStatusValidator getSelectionValidator()
null
if
selection validation is not required. The elements passed
to the selection validator are of type IType
.
null
public ITypeInfoImageProvider getImageProvider()
null
if the standard
images should be used.
|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.