Package | Description |
---|---|
org.eclipse.wst.jsdt.core | |
org.eclipse.wst.jsdt.ui | |
org.eclipse.wst.jsdt.ui.refactoring |
Modifier and Type | Method and Description |
---|---|
IField |
IJavaScriptUnit.createField(java.lang.String contents,
IJavaScriptElement sibling,
boolean force,
IProgressMonitor monitor)
Creates and returns a var in this javaScript file with the
given contents.
|
IField |
IType.createField(java.lang.String contents,
IJavaScriptElement sibling,
boolean force,
IProgressMonitor monitor)
Creates and returns a field in this type with the
given contents.
|
IField |
IFunctionContainer.getField(java.lang.String name)
Returns the field with the specified name
in this type (for example,
"bar" ). |
IField |
IType.getField(java.lang.String name)
Returns the field with the specified name
in this type (for example,
"bar" ). |
IField[] |
IFunctionContainer.getFields()
Returns the fields declared by this type or javascript file.
|
IField[] |
IType.getFields()
Returns the fields declared by this type.
|
Modifier and Type | Method and Description |
---|---|
static void |
JavaScriptElementLabels.getFieldLabel(IField field,
long flags,
java.lang.StringBuffer buf)
Appends the label for a field to a
StringBuffer . |
Modifier and Type | Method and Description |
---|---|
static RenameSupport |
RenameSupport.create(IField field,
java.lang.String newName,
int flags)
Creates a new rename support for the given
IField . |
Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.