|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.jsdt.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 | |
---|---|
java.lang.String |
addImport(ITypeBinding typeBinding)
Adds a new import declaration that is sorted in the existing imports. |
java.lang.String |
addImport(java.lang.String qualifiedTypeName)
Adds a new import declaration that is sorted in the existing imports. |
java.lang.String |
addStaticImport(java.lang.String declaringTypeName,
java.lang.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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String addImport(java.lang.String qualifiedTypeName)
qualifiedTypeName
- The fully qualified name of the type to import
(dot separated).
public java.lang.String addImport(ITypeBinding typeBinding)
typeBinding
- the binding of the type to import
public java.lang.String addStaticImport(java.lang.String declaringTypeName, java.lang.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |