|
Eclipse JDT Release 3.7 |
|||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |
raw classpath
(or the output folder
) of a project has changed.
IJavaElementDelta.F_REORDER
instead.
IProject
has been
closed.
IProject
has been
opened.
resolved classpath
of a project has changed.
IType
has changed.
String
, value type: String
).
FieldAccess
.
FieldDeclaration
.
IProblem.AmbiguousType
instead
IProblem.InheritedTypeHidesEnclosingName
instead
IProblem.InternalTypeNameProvided
instead
IProblem.UndefinedType
instead
IProblem.NotVisibleType
instead
ASTParser.createASTs
.Modifier.FINAL
.
Block
).
"org.eclipse.jdt.ui.actions.BreakContinueTargetOccurrences"
).
"org.eclipse.jdt.ui.actions.DeclarationsInHierarchy"
).
"org.eclipse.jdt.ui.actions.DeclarationsInProject"
).
"org.eclipse.jdt.ui.actions.DeclarationsInWorkingSet"
).
"org.eclipse.jdt.ui.actions.DeclarationsInWorkspace"
).
"org.eclipse.jdt.ui.actions.ExceptionOccurrences"
).
"org.eclipse.jdt.ui.actions.ImplementOccurrences"
).
"org.eclipse.jdt.ui.actions.ImplementorsInProject"
).
"org.eclipse.jdt.ui.actions.ImplementorsInWorkingSet"
).
"org.eclipse.jdt.ui.actions.ImplementorsInWorkspace"
).
"org.eclipse.jdt.ui.actions.MethodExitOccurrences"
).
"org.eclipse.jdt.ui.actions.OccurrencesInFile"
).
"org.eclipse.jdt.ui.actions.ReadAccessInHierarchy"
).
"org.eclipse.jdt.ui.actions.ReadAccessInProject"
).
"org.eclipse.jdt.ui.actions.ReadAccessInWorkingSet"
).
"org.eclipse.jdt.ui.actions.ReadAccessInWorkspace"
).
"org.eclipse.jdt.ui.actions.ReferencesInHierarchy"
).
"org.eclipse.jdt.ui.actions.ReferencesInProject"
).
"org.eclipse.jdt.ui.actions.ReferencesInWorkingSet"
).
"org.eclipse.jdt.ui.actions.ReferencesInWorkspace"
).
IJavaEditorActionDefinitionIds.EXTERNALIZE_STRINGS
instead
JdtActionConstants.EXTERNALIZE_STRINGS
instead
"org.eclipse.jdt.ui.actions.WriteAccessInHierarchy"
).
"org.eclipse.jdt.ui.actions.WriteAccessInProject"
).
"org.eclipse.jdt.ui.actions.WriteAccessInWorkingSet"
).
"org.eclipse.jdt.ui.actions.WriteAccessInWorkspace"
).
FindBreakContinueTargetOccurrencesAction
.
FindDeclarationsAction
.
FindDeclarationsInHierarchyAction
.
FindDeclarationsInProjectAction
.
FindDeclarationsInWorkingSetAction
.
FindDeclarationsInWorkingSetAction
.
IJavaElement
corresponding to the given
classpath-relative path, or null
if no such
IJavaElement
is found.
IJavaElement
corresponding to the given
classpath-relative path, or null
if no such
IJavaElement
is found.
null
.
ICompilationUnit.findElements(IJavaElement)
instead.
FindExceptionOccurrencesAction
.
FindImplementOccurrencesAction
.
FindImplementorsAction
.
FindImplementorsInProjectAction
.
FindImplementorsInWorkingSetAction
.
FindImplementorsInWorkingSetAction
.
ImportRewrite.ImportRewriteContext.RES_NAME_FOUND
),
unknown (ImportRewrite.ImportRewriteContext.RES_NAME_UNKNOWN
) or if its name conflicts (ImportRewrite.ImportRewriteContext.RES_NAME_CONFLICT
) with an other element.
null
if there is no existing configuration.
FindMethodExitOccurrencesAction
.
FindOccurrencesInFileAction
.
FindOccurrencesInFileAction
.
FindOccurrencesInFileAction
.
null
if none
exist.
null
if
one does not exist.
null
if no such a type exists.
ITypeRoot.findPrimaryType()
instead.
FindReadReferencesAction
.
FindReadReferencesInHierarchyAction
.
FindReadReferencesInProjectAction
.
FindReadReferencesInWorkingSetAction
.
FindReadReferencesInWorkingSetAction
.
FindReferencesAction
.
FindReferencesInHierarchyAction
.
FindReferencesInProjectAction
.
FindReferencesInWorkingSetAction
.
FindReferencesInWorkingSetAction
.
ICompilationUnit.findWorkingCopy(WorkingCopyOwner)
instead.
null
if the type is unknown to this
owner.
null
if none could be found.
ExternalizeStringsAction
insteadFindStringsToExternalizeAction
.
null
if none is found.
IJavaProject.findType(String)
but also look for secondary
types if given name does not match a compilation unit name.
null
if none is found.
IJavaProject.findType(String, WorkingCopyOwner)
but also look for secondary types if given name does not match
a compilation unit name.
null
if none is found.
IJavaProject.findType(String, String)
but also look for
secondary types if given name does not match a compilation unit name.
null
if none is found.
IJavaProject.findType(String, String, WorkingCopyOwner)
but also look for secondary types if given name does not match a compilation unit name.
findFreePort()
instead. It is possible that this
method can return a port that is already in use since the implementation does
not bind to the given port to ensure that it is free.
null
if unable to resolve a variable with the name.
null
if unable to resolve a variable with the name.
null
if
unable to resolve a variable with the name, or if this
thread is not currently suspended.
WorkingCopyOwner
.
FindWriteReferencesAction
.
FindWriteReferencesInHierarchyAction
.
FindWriteReferencesInProjectAction
.
FindWriteReferencesInWorkingSetAction
.
FindWriteReferencesInWorkingSetAction
.
CompilationUnit.getCommentList()
of the first leading comments associated with the given node.
"flags"
).
float
"org.eclipse.jdt.ui.edit.text.java.folding.collapseComments"
).
"org.eclipse.jdt.ui.edit.text.java.folding.collapseMembers"
).
ForStatement
.
source
,
and returns a text edit that correspond to the difference between the given
string and the formatted string.
source
,
and returns a text edit that correspond to the difference between the given string and the formatted string.
sourceString
,
and returns a string containing the formatted version.
"org.eclipse.jdt.ui.edit.text.java.format"
).
"org.eclipse.jdt.ui.actions.Format"
).
"org.eclipse.jdt.ui.actions.FormatElement"
).
FormatAllAction
.
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_NO_SPLIT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_NO_SPLIT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_BY_ONE)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_NO_SPLIT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_NO_SPLIT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_NEXT_SHIFTED, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
createAlignmentValue(boolean, int, int)
call
- default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
DefaultCodeFormatterConstants.FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE
instead.
DefaultCodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES_IN_BLOCK_COMMENT
and DefaultCodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES_IN_JAVADOC_COMMENT
DefaultCodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES
DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_BLOCK_COMMENT
,
DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_JAVADOC_COMMENT
and DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_LINE_COMMENT
.
DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT
DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_LINE_COMMENT
option has been set to
DefaultCodeFormatterConstants.FALSE
or the formatter is created with the mode
ToolFactory.M_FORMAT_NEW
.
DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HEADER
DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HTML
DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_SOURCE
DefaultCodeFormatterConstants.FORMATTER_COMMENT_INDENT_PARAMETER_DESCRIPTION
DefaultCodeFormatterConstants.FORMATTER_COMMENT_INDENT_ROOT_TAGS
DefaultCodeFormatterConstants.FORMATTER_COMMENT_LINE_LENGTH
DefaultCodeFormatterConstants.FORMATTER_COMMENT_INSERT_NEW_LINE_FOR_PARAMETER
DefaultCodeFormatterConstants.FORMATTER_COMMENT_INSERT_EMPTY_LINE_BEFORE_ROOT_TAGS
DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATOR
instead.
DefaultCodeFormatterConstants.FORMATTER_DISABLING_TAG
)
- option id: "org.eclipse.jdt.core.formatter.enabling_tag"
- possible values: String, with constraints mentioned below
- default: "@formatter:on"
Note that:
This tag is used by the formatter only if the
DefaultCodeFormatterConstants.FORMATTER_USE_ON_OFF_TAGS
option is set to DefaultCodeFormatterConstants.TRUE
.
DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_MEMBER
DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_LOCAL_VARIABLE
DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_PARAMETER
DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_FIELD
DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_METHOD
DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_PACKAGE
DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_TYPE
DefaultCodeFormatterConstants.FORMATTER_LINE_SPLIT
instead
ToolFactory.M_FORMAT_NEW
.
ToolFactory.M_FORMAT_NEW
even with this option activated, the formatter still can ignore line comments starting at first column
if the option DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_LINE_COMMENT_STARTING_ON_FIRST_COLUMN
is set to "false"
DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT
,
DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT
,
DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_FINALLY_IN_TRY_STATEMENT
,
DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT
instead.
DefaultCodeFormatterConstants.FORMATTER_COMPACT_ELSE_IF
instead.
DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK
instead.
DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION
,
DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK
,
DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION
,
DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION
,
DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_SWITCH
,
DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION
instead.
DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_PAREN_IN_CAST
instead.
DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR
instead.
DefaultCodeFormatterConstants.FORMATTER_TAB_SIZE
instead.
DefaultCodeFormatterConstants.FORMATTER_DISABLING_TAG
and the DefaultCodeFormatterConstants.FORMATTER_ENABLING_TAG
options
DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION
is set.
VariableDeclarationFragment
).
IDocElement
).
VariableDeclarationFragment
).
VariableDeclarationFragment
).
null
if none or if more than one bit is set.
|
Eclipse JDT Release 3.7 |
|||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.