|
Eclipse JDT Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jdt.ui.wizards.NewTypeWizardPage.ImportsManager
public static class NewTypeWizardPage.ImportsManager
Class used in stub creation routines to add needed imports to a compilation unit.
| Method Summary | |
|---|---|
String |
addImport(ITypeBinding typeBinding)
Adds a new import declaration that is sorted in the existing imports. |
String |
addImport(String qualifiedTypeName)
Adds a new import declaration that is sorted in the existing imports. |
String |
addStaticImport(String declaringTypeName,
String simpleName,
boolean isField)
Adds a new import declaration for a static type that is sorted in the existing imports. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String addImport(String qualifiedTypeName)
qualifiedTypeName - The fully qualified name of the type to import
(dot separated).
public String addImport(ITypeBinding typeBinding)
typeBinding - the binding of the type to import
public String addStaticImport(String declaringTypeName,
String simpleName,
boolean isField)
declaringTypeName - The qualified name of the static's member declaring typesimpleName - the simple name of the member; either a field or a method name.isField - true specifies that the member is a field, false if it is a
method.
|
Eclipse JDT Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.