Skip to content
Commits on Source (6)
......@@ -3,6 +3,6 @@ Contributing to Platform UI
Contributions to the Eclipse platform are most welcome. There are many ways to contribute,
from entering high quality bug reports, to contributing code or documentation changes.
For a complete guide, see the [How to Contribute] [1] page on the team wiki.
For a complete guide, see the [How to Contribute][1] page on the team wiki.
[1]: http://wiki.eclipse.org/Platform_UI/How_to_Contribute
\ No newline at end of file
[1]: http://wiki.eclipse.org/Platform_UI/How_to_Contribute
......@@ -6,19 +6,34 @@ Thanks for your interest in this project.
Project description:
--------------------
Platform UI provides the basic building blocks for user interfaces built with Eclipse. Some of these form the Eclipse Rich Client Platform (RCP) and can be used for arbitrary rich client applications, while others are specific to the Eclipse IDE. The Platform UI codebase is built on top of the Eclipse Standard Widget Toolkit (SWT), which is developed as an independent project.
Platform UI provides the basic building blocks for user interfaces built with Eclipse.
Some of these form the Eclipse Rich Client Platform (RCP) and can be used for arbitrary rich client applications, while others are specific to the Eclipse IDE. The Platform UI codebase is built on top of the Eclipse Standard Widget Toolkit (SWT), which is developed as an independent project.
Website: <http://www.eclipse.org/platform/ui/>
- <https://projects.eclipse.org/projects/eclipse.platform.ui>
For more information, refer to the [Platform UI wiki page] [1].
For more information, refer to the [Platform UI wiki page][1].
How to contribute:
--------------------
Contributions to Platform UI are most welcome. There are many ways to contribute,
from entering high quality bug reports, to contributing code or documentation changes.
For a complete guide, see the [Platform UI - How to contribute wiki page] [2] page on the team wiki.
For a complete guide, see the [Platform UI - How to contribute wiki page][2] page on the team wiki.
Test dependencies
-----------------
Several test plug-ins have a dependency to the Mockito and Hamcrest library.
Please install them from the [Orbit Download page][3]
Currently the following versions are required:
- org.hamcrest;bundle-version="1.1.0",
- org.mockito;bundle-version="1.8.4",
How to build on the command line
--------------------------------
......@@ -68,8 +83,9 @@ Contact the project developers via the project's "dev" list.
License
-------
[Eclipse Public License (EPL) v1.0][3]
[Eclipse Public License (EPL) v1.0][4]
[1]: http://wiki.eclipse.org/Platform_UI
[2]: https://wiki.eclipse.org/Platform_UI/How_to_Contribute
[3]: http://download.eclipse.org/tools/orbit/downloads/
[3]: http://wiki.eclipse.org/EPL
......@@ -131,6 +131,7 @@ org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
org.eclipse.jdt.core.compiler.source=1.8
org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
......@@ -142,10 +143,13 @@ org.eclipse.jdt.core.formatter.alignment_for_assignment=0
org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=16
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header=0
org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
org.eclipse.jdt.core.formatter.alignment_for_module_statements=16
org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references=0
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
......@@ -155,6 +159,8 @@ org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_type_arguments=0
org.eclipse.jdt.core.formatter.alignment_for_type_parameters=0
org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
org.eclipse.jdt.core.formatter.blank_lines_after_package=1
......@@ -179,18 +185,21 @@ org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
org.eclipse.jdt.core.formatter.comment.align_tags_descriptions_grouped=true
org.eclipse.jdt.core.formatter.comment.align_tags_names_descriptions=false
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
org.eclipse.jdt.core.formatter.comment.count_line_length_from_starting_position=true
org.eclipse.jdt.core.formatter.comment.format_block_comments=true
org.eclipse.jdt.core.formatter.comment.format_header=false
org.eclipse.jdt.core.formatter.comment.format_html=true
org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
org.eclipse.jdt.core.formatter.comment.format_line_comments=true
org.eclipse.jdt.core.formatter.comment.format_source_code=true
org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
org.eclipse.jdt.core.formatter.comment.indent_parameter_description=false
org.eclipse.jdt.core.formatter.comment.indent_root_tags=false
org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert
org.eclipse.jdt.core.formatter.comment.line_length=80
org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
......@@ -201,7 +210,7 @@ org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=false
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
......@@ -213,6 +222,7 @@ org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
org.eclipse.jdt.core.formatter.indentation.size=4
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
......@@ -240,7 +250,7 @@ org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
......@@ -407,12 +417,24 @@ org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
org.eclipse.jdt.core.formatter.parentheses_positions_in_annotation=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_if_while_statement=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_lambda_declaration=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_method_delcaration=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_method_invocation=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_switch_statement=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_try_clause=common_lines
org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
org.eclipse.jdt.core.formatter.tabulation.char=tab
org.eclipse.jdt.core.formatter.tabulation.size=4
org.eclipse.jdt.core.formatter.use_on_off_tags=false
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
org.eclipse.jdt.core.formatter.wrap_before_assignment_operator=false
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
org.eclipse.jdt.core.formatter.wrap_before_conditional_operator=true
org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
org.eclipse.jdt.core.incompatibleJDKLevel=ignore
......
eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=org.eclipse.jdt.ui.default.eclipse_profile
formatter_settings_version=12
formatter_settings_version=14
internal.default.compliance=user
org.eclipse.jdt.ui.exception.name=e
org.eclipse.jdt.ui.gettersetter.use.is=true
......
......@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.core.commands
Bundle-Version: 3.9.0.qualifier
Bundle-Version: 3.9.100.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
......@@ -15,3 +15,4 @@ Export-Package: org.eclipse.core.commands,
org.eclipse.core.internal.commands.util;x-internal:=true
Require-Bundle: org.eclipse.equinox.common;bundle-version="[3.2.0,4.0.0)"
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Automatic-Module-Name: org.eclipse.core.commands
......@@ -14,11 +14,11 @@
<parent>
<artifactId>eclipse.platform.ui</artifactId>
<groupId>eclipse.platform.ui</groupId>
<version>4.7.3-SNAPSHOT</version>
<version>4.8.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<groupId>org.eclipse.core</groupId>
<artifactId>org.eclipse.core.commands</artifactId>
<version>3.9.0-SNAPSHOT</version>
<version>3.9.100-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
......@@ -34,9 +34,6 @@ public abstract class AbstractHandler extends EventManager implements IHandler2
*/
private boolean baseEnabled = true;
/**
* @see IHandler#addHandlerListener(IHandlerListener)
*/
@Override
public void addHandlerListener(final IHandlerListener handlerListener) {
addListenerObject(handlerListener);
......@@ -45,8 +42,6 @@ public abstract class AbstractHandler extends EventManager implements IHandler2
/**
* The default implementation does nothing. Subclasses who attach listeners
* to other objects are encouraged to detach them in this method.
*
* @see org.eclipse.core.commands.IHandler#dispose()
*/
@Override
public void dispose() {
......@@ -160,9 +155,6 @@ public abstract class AbstractHandler extends EventManager implements IHandler2
return isListenerAttached();
}
/**
* @see IHandler#removeHandlerListener(IHandlerListener)
*/
@Override
public void removeHandlerListener(final IHandlerListener handlerListener) {
removeListenerObject(handlerListener);
......
......@@ -141,8 +141,7 @@ public final class Category extends NamedHandleObject {
@Override
public String toString() {
if (string == null) {
final StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append("Category("); //$NON-NLS-1$
final StringBuilder stringBuffer = new StringBuilder("Category("); //$NON-NLS-1$
stringBuffer.append(id);
stringBuffer.append(',');
stringBuffer.append(name);
......
......@@ -146,7 +146,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* @param commandListener
* The listener to be added; must not be <code>null</code>.
*/
public final void addCommandListener(final ICommandListener commandListener) {
public void addCommandListener(final ICommandListener commandListener) {
if (commandListener == null) {
throw new NullPointerException("Cannot add a null command listener"); //$NON-NLS-1$
}
......@@ -160,7 +160,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* @param executionListener
* The listener to be added; must not be <code>null</code>.
*/
public final void addExecutionListener(final IExecutionListener executionListener) {
public void addExecutionListener(final IExecutionListener executionListener) {
if (executionListener == null) {
throw new NullPointerException("Cannot add a null execution listener"); //$NON-NLS-1$
}
......@@ -209,7 +209,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* greater than, equal to or less than this command.
*/
@Override
public final int compareTo(final Object object) {
public int compareTo(final Object object) {
final Command castedObject = (Command) object;
int compareTo = Util.compare(category, castedObject.category);
if (compareTo == 0) {
......@@ -250,7 +250,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* The category for this command; must not be <code>null</code>.
* @since 3.2
*/
public final void define(final String name, final String description, final Category category) {
public void define(final String name, final String description, final Category category) {
define(name, description, category, null);
}
......@@ -274,7 +274,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* either <code>null</code> or empty if the command does not
* accept parameters.
*/
public final void define(final String name, final String description,
public void define(final String name, final String description,
final Category category, final IParameter[] parameters) {
define(name, description, category, parameters, null);
}
......@@ -304,7 +304,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* type.
* @since 3.2
*/
public final void define(final String name, final String description,
public void define(final String name, final String description,
final Category category, final IParameter[] parameters,
ParameterType returnType) {
define(name, description, category, parameters, returnType, null);
......@@ -339,7 +339,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* have any help associated with it.
* @since 3.2
*/
public final void define(final String name, final String description,
public void define(final String name, final String description,
final Category category, final IParameter[] parameters,
ParameterType returnType, final String helpContextId) {
if (name == null) {
......@@ -401,7 +401,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* instead.
*/
@Deprecated
public final Object execute(final ExecutionEvent event) throws ExecutionException, NotHandledException {
public Object execute(final ExecutionEvent event) throws ExecutionException, NotHandledException {
if (shouldFireEvents) {
firePreExecute(event);
}
......@@ -454,7 +454,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* If there is no handler.
* @since 3.2
*/
public final Object executeWithChecks(final ExecutionEvent event)
public Object executeWithChecks(final ExecutionEvent event)
throws ExecutionException, NotDefinedException, NotEnabledException, NotHandledException {
if (shouldFireEvents) {
firePreExecute(event);
......@@ -518,7 +518,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* The event to send to all of the listener; must not be
* <code>null</code>.
*/
private final void fireCommandChanged(final CommandEvent commandEvent) {
private void fireCommandChanged(final CommandEvent commandEvent) {
if (commandEvent == null) {
throw new NullPointerException("Cannot fire a null event"); //$NON-NLS-1$
}
......@@ -547,7 +547,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* <code>null</code>.
* @since 3.2
*/
private final void fireNotDefined(final NotDefinedException e) {
private void fireNotDefined(final NotDefinedException e) {
// Debugging output
if (DEBUG_COMMAND_EXECUTION) {
Tracing.printTrace("COMMANDS", "execute" + Tracing.SEPARATOR //$NON-NLS-1$ //$NON-NLS-2$
......@@ -573,7 +573,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* <code>null</code>.
* @since 3.2
*/
private final void fireNotEnabled(final NotEnabledException e) {
private void fireNotEnabled(final NotEnabledException e) {
// Debugging output
if (DEBUG_COMMAND_EXECUTION) {
Tracing.printTrace("COMMANDS", "execute" + Tracing.SEPARATOR //$NON-NLS-1$ //$NON-NLS-2$
......@@ -598,7 +598,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* The exception that is about to be thrown; never
* <code>null</code>.
*/
private final void fireNotHandled(final NotHandledException e) {
private void fireNotHandled(final NotHandledException e) {
// Debugging output
if (DEBUG_COMMAND_EXECUTION) {
Tracing.printTrace("COMMANDS", "execute" + Tracing.SEPARATOR //$NON-NLS-1$ //$NON-NLS-2$
......@@ -621,7 +621,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* After this method completes, the exception will be thrown
* again.
*/
private final void firePostExecuteFailure(final ExecutionException e) {
private void firePostExecuteFailure(final ExecutionException e) {
// Debugging output
if (DEBUG_COMMAND_EXECUTION) {
Tracing.printTrace("COMMANDS", "execute" + Tracing.SEPARATOR //$NON-NLS-1$ //$NON-NLS-2$
......@@ -642,7 +642,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* @param returnValue
* The return value from the command; may be <code>null</code>.
*/
private final void firePostExecuteSuccess(final Object returnValue) {
private void firePostExecuteSuccess(final Object returnValue) {
// Debugging output
if (DEBUG_COMMAND_EXECUTION) {
Tracing.printTrace("COMMANDS", "execute" + Tracing.SEPARATOR //$NON-NLS-1$ //$NON-NLS-2$
......@@ -664,7 +664,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* @param event
* The execution event that will be used; never <code>null</code>.
*/
private final void firePreExecute(final ExecutionEvent event) {
private void firePreExecute(final ExecutionEvent event) {
// Debugging output
if (DEBUG_COMMAND_EXECUTION) {
Tracing.printTrace("COMMANDS", "execute" + Tracing.SEPARATOR //$NON-NLS-1$ //$NON-NLS-2$
......@@ -685,7 +685,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* @throws NotDefinedException
* If the handle is not currently defined.
*/
public final Category getCategory() throws NotDefinedException {
public Category getCategory() throws NotDefinedException {
if (!isDefined()) {
throw new NotDefinedException("Cannot get the category from an undefined command. " //$NON-NLS-1$
+ id);
......@@ -705,7 +705,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* @return The current handler for this command; may be <code>null</code>.
* @since 3.3
*/
public final IHandler getHandler() {
public IHandler getHandler() {
return handler;
}
......@@ -718,7 +718,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* <code>null</code> if there is none.
* @since 3.2
*/
final String getHelpContextId() {
String getHelpContextId() {
return helpContextId;
}
......@@ -734,7 +734,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* If the handle is not currently defined.
* @since 3.2
*/
public final IParameter getParameter(final String parameterId) throws NotDefinedException {
public IParameter getParameter(final String parameterId) throws NotDefinedException {
if (!isDefined()) {
throw new NotDefinedException("Cannot get a parameter from an undefined command. " //$NON-NLS-1$
+ id);
......@@ -762,7 +762,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* @throws NotDefinedException
* If the handle is not currently defined.
*/
public final IParameter[] getParameters() throws NotDefinedException {
public IParameter[] getParameters() throws NotDefinedException {
if (!isDefined()) {
throw new NotDefinedException("Cannot get the parameters from an undefined command. " //$NON-NLS-1$
+ id);
......@@ -792,7 +792,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* If the handle is not currently defined.
* @since 3.2
*/
public final ParameterType getParameterType(final String parameterId) throws NotDefinedException {
public ParameterType getParameterType(final String parameterId) throws NotDefinedException {
final IParameter parameter = getParameter(parameterId);
if (parameter instanceof ITypedParameter) {
final ITypedParameter parameterWithType = (ITypedParameter) parameter;
......@@ -813,7 +813,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* If the handle is not currently defined.
* @since 3.2
*/
public final ParameterType getReturnType() throws NotDefinedException {
public ParameterType getReturnType() throws NotDefinedException {
if (!isDefined()) {
throw new NotDefinedException("Cannot get the return type of an undefined command. " //$NON-NLS-1$
+ id);
......@@ -829,7 +829,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* @return <code>true</code> if the command is handled; <code>false</code>
* otherwise.
*/
public final boolean isEnabled() {
public boolean isEnabled() {
if (handler == null) {
return false;
}
......@@ -870,7 +870,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* @return <code>true</code> if the command is handled; <code>false</code>
* otherwise.
*/
public final boolean isHandled() {
public boolean isHandled() {
if (handler == null) {
return false;
}
......@@ -885,7 +885,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* The listener to be removed; must not be <code>null</code>.
*
*/
public final void removeCommandListener(final ICommandListener commandListener) {
public void removeCommandListener(final ICommandListener commandListener) {
if (commandListener == null) {
throw new NullPointerException("Cannot remove a null command listener"); //$NON-NLS-1$
}
......@@ -900,7 +900,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* The listener to be removed; must not be <code>null</code>.
*
*/
public final void removeExecutionListener(final IExecutionListener executionListener) {
public void removeExecutionListener(final IExecutionListener executionListener) {
if (executionListener == null) {
throw new NullPointerException("Cannot remove a null execution listener"); //$NON-NLS-1$
}
......@@ -944,7 +944,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* @return <code>true</code> if the handler changed; <code>false</code>
* otherwise.
*/
public final boolean setHandler(final IHandler handler) {
public boolean setHandler(final IHandler handler) {
if (Util.equals(handler, this.handler)) {
return false;
}
......@@ -977,7 +977,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
// Debugging output
if ((DEBUG_HANDLERS) && ((DEBUG_HANDLERS_COMMAND_ID == null) || (DEBUG_HANDLERS_COMMAND_ID.equals(id)))) {
final StringBuffer buffer = new StringBuffer("Command('"); //$NON-NLS-1$
final StringBuilder buffer = new StringBuilder("Command('"); //$NON-NLS-1$
buffer.append(id);
buffer.append("') has changed to "); //$NON-NLS-1$
if (handler == null) {
......@@ -1023,7 +1023,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* @return The string representation; never <code>null</code>.
*/
@Override
public final String toString() {
public String toString() {
if (string == null) {
final StringWriter sw = new StringWriter();
final BufferedWriter buffer = new BufferedWriter(sw);
......@@ -1068,7 +1068,7 @@ public final class Command extends NamedHandleObjectWithState implements Compara
* state and disposes of it. Notification is sent to all listeners.
*/
@Override
public final void undefine() {
public void undefine() {
boolean enabledChanged = isEnabled();
string = null;
......
......@@ -73,7 +73,7 @@ public final class CommandManager extends HandleObjectManager implements
}
@Override
public final void notHandled(final String commandId,
public void notHandled(final String commandId,
final NotHandledException exception) {
if (executionListeners != null) {
for (final IExecutionListener listener : executionListeners) {
......@@ -83,7 +83,7 @@ public final class CommandManager extends HandleObjectManager implements
}
@Override
public final void postExecuteFailure(final String commandId,
public void postExecuteFailure(final String commandId,
final ExecutionException exception) {
if (executionListeners != null) {
for (final IExecutionListener listener : executionListeners) {
......@@ -93,7 +93,7 @@ public final class CommandManager extends HandleObjectManager implements
}
@Override
public final void postExecuteSuccess(final String commandId,
public void postExecuteSuccess(final String commandId,
final Object returnValue) {
if (executionListeners != null) {
for (final IExecutionListener listener : executionListeners) {
......@@ -103,7 +103,7 @@ public final class CommandManager extends HandleObjectManager implements
}
@Override
public final void preExecute(final String commandId,
public void preExecute(final String commandId,
final ExecutionEvent event) {
if (executionListeners != null) {
for (final IExecutionListener listener : executionListeners) {
......@@ -168,11 +168,11 @@ public final class CommandManager extends HandleObjectManager implements
* sequence
* @since 3.2
*/
private static final String unescape(final String escapedText)
private static String unescape(final String escapedText)
throws SerializationException {
// defer initialization of a StringBuffer until we know we need one
StringBuffer buffer = null;
// defer initialization of a StringBuilder until we know we need one
StringBuilder buffer = null;
for (int i = 0; i < escapedText.length(); i++) {
......@@ -184,7 +184,7 @@ public final class CommandManager extends HandleObjectManager implements
}
} else {
if (buffer == null) {
buffer = new StringBuffer(escapedText.substring(0, i));
buffer = new StringBuilder(escapedText.substring(0, i));
}
if (++i < escapedText.length()) {
......@@ -278,7 +278,7 @@ public final class CommandManager extends HandleObjectManager implements
* @param listener
* The listener to attach; must not be <code>null</code>.
*/
public final void addCommandManagerListener(
public void addCommandManagerListener(
final ICommandManagerListener listener) {
addListenerObject(listener);
}
......@@ -291,7 +291,7 @@ public final class CommandManager extends HandleObjectManager implements
* @param listener
* The listener to attach; must not be <code>null</code>.
*/
public final void addExecutionListener(final IExecutionListener listener) {
public void addExecutionListener(final IExecutionListener listener) {
if (listener == null) {
throw new NullPointerException(
"Cannot add a null execution listener"); //$NON-NLS-1$
......@@ -314,7 +314,7 @@ public final class CommandManager extends HandleObjectManager implements
}
@Override
public final void categoryChanged(CategoryEvent categoryEvent) {
public void categoryChanged(CategoryEvent categoryEvent) {
if (categoryEvent.isDefinedChanged()) {
final Category category = categoryEvent.getCategory();
final String categoryId = category.getId();
......@@ -332,7 +332,7 @@ public final class CommandManager extends HandleObjectManager implements
}
@Override
public final void commandChanged(final CommandEvent commandEvent) {
public void commandChanged(final CommandEvent commandEvent) {
if (commandEvent.isDefinedChanged()) {
final Command command = commandEvent.getCommand();
final String commandId = command.getId();
......@@ -362,7 +362,7 @@ public final class CommandManager extends HandleObjectManager implements
* may be <code>null</code>.
* @since 3.2
*/
public final void defineUncategorizedCategory(final String name,
public void defineUncategorizedCategory(final String name,
final String description) {
final Category category = getCategory(AUTOGENERATED_CATEGORY_ID);
category.define(name, description);
......@@ -408,7 +408,7 @@ public final class CommandManager extends HandleObjectManager implements
* @see ParameterizedCommand#serialize()
* @since 3.2
*/
public final ParameterizedCommand deserialize(
public ParameterizedCommand deserialize(
final String serializedParameterizedCommand)
throws NotDefinedException, SerializationException {
......@@ -453,7 +453,7 @@ public final class CommandManager extends HandleObjectManager implements
* The event to send to all of the listeners; must not be
* <code>null</code>.
*/
private final void fireCommandManagerChanged(final CommandManagerEvent event) {
private void fireCommandManagerChanged(final CommandManagerEvent event) {
if (event == null) {
throw new NullPointerException();
}
......@@ -471,7 +471,7 @@ public final class CommandManager extends HandleObjectManager implements
* @return All of the commands; may be empty, but never <code>null</code>.
* @since 3.2
*/
public final Command[] getAllCommands() {
public Command[] getAllCommands() {
return (Command[]) handleObjectsById.values().toArray(new Command[handleObjectsById.size()]);
}
......@@ -487,7 +487,7 @@ public final class CommandManager extends HandleObjectManager implements
* <code>null</code>, but it might be undefined.
* @see Category
*/
public final Category getCategory(final String categoryId) {
public Category getCategory(final String categoryId) {
if (categoryId == null) {
return getCategory(AUTOGENERATED_CATEGORY_ID);
}
......@@ -515,7 +515,7 @@ public final class CommandManager extends HandleObjectManager implements
* <code>null</code>, but it might be undefined.
* @see Command
*/
public final Command getCommand(final String commandId) {
public Command getCommand(final String commandId) {
checkId(commandId);
Command command = (Command) handleObjectsById.get(commandId);
......@@ -540,7 +540,7 @@ public final class CommandManager extends HandleObjectManager implements
* <code>null</code>.
* @since 3.2
*/
public final Category[] getDefinedCategories() {
public Category[] getDefinedCategories() {
final Category[] categories = new Category[definedCategoryIds.size()];
final Iterator<String> categoryIdItr = definedCategoryIds.iterator();
int i = 0;
......@@ -558,7 +558,7 @@ public final class CommandManager extends HandleObjectManager implements
* but it is never <code>null</code>.
*/
@SuppressWarnings("rawtypes")
public final Set getDefinedCategoryIds() {
public Set getDefinedCategoryIds() {
return Collections.unmodifiableSet(definedCategoryIds);
}
......@@ -569,7 +569,7 @@ public final class CommandManager extends HandleObjectManager implements
* but it is never <code>null</code>.
*/
@SuppressWarnings("rawtypes")
public final Set getDefinedCommandIds() {
public Set getDefinedCommandIds() {
return getDefinedHandleObjectIds();
}
......@@ -580,7 +580,7 @@ public final class CommandManager extends HandleObjectManager implements
* <code>null</code>.
* @since 3.2
*/
public final Command[] getDefinedCommands() {
public Command[] getDefinedCommands() {
return (Command[]) definedHandleObjects.toArray(new Command[definedHandleObjects.size()]);
}
......@@ -593,7 +593,7 @@ public final class CommandManager extends HandleObjectManager implements
* @since 3.2
*/
@SuppressWarnings("rawtypes")
public final Set getDefinedParameterTypeIds() {
public Set getDefinedParameterTypeIds() {
return Collections.unmodifiableSet(definedParameterTypeIds);
}
......@@ -604,7 +604,7 @@ public final class CommandManager extends HandleObjectManager implements
* it is never <code>null</code>.
* @since 3.2
*/
public final ParameterType[] getDefinedParameterTypes() {
public ParameterType[] getDefinedParameterTypes() {
final ParameterType[] parameterTypes = new ParameterType[definedParameterTypeIds
.size()];
final Iterator<String> iterator = definedParameterTypeIds.iterator();
......@@ -632,7 +632,7 @@ public final class CommandManager extends HandleObjectManager implements
* If the given command is not defined.
* @since 3.2
*/
public final String getHelpContextId(final Command command) throws NotDefinedException {
public String getHelpContextId(final Command command) throws NotDefinedException {
// Check if the command is defined.
if (!command.isDefined()) {
throw new NotDefinedException("The command is not defined. " //$NON-NLS-1$
......@@ -668,7 +668,7 @@ public final class CommandManager extends HandleObjectManager implements
* if there is an error deserializing the parameters
* @since 3.2
*/
private final Parameterization[] getParameterizations(String serializedParameters, final IParameter[] parameters)
private Parameterization[] getParameterizations(String serializedParameters, final IParameter[] parameters)
throws SerializationException {
if (serializedParameters == null || (serializedParameters.length() == 0)) {
......@@ -734,7 +734,7 @@ public final class CommandManager extends HandleObjectManager implements
* will never be <code>null</code>, but it might be undefined.
* @since 3.2
*/
public final ParameterType getParameterType(final String parameterTypeId) {
public ParameterType getParameterType(final String parameterTypeId) {
checkId(parameterTypeId);
ParameterType parameterType = parameterTypesById.get(parameterTypeId);
......@@ -753,7 +753,7 @@ public final class CommandManager extends HandleObjectManager implements
* @since 3.2
*/
@Override
public final void parameterTypeChanged(final ParameterTypeEvent parameterTypeEvent) {
public void parameterTypeChanged(final ParameterTypeEvent parameterTypeEvent) {
if (parameterTypeEvent.isDefinedChanged()) {
final ParameterType parameterType = parameterTypeEvent.getParameterType();
final String parameterTypeId = parameterType.getId();
......@@ -774,7 +774,7 @@ public final class CommandManager extends HandleObjectManager implements
* @param listener
* The listener to be removed; must not be <code>null</code>.
*/
public final void removeCommandManagerListener(final ICommandManagerListener listener) {
public void removeCommandManagerListener(final ICommandManagerListener listener) {
removeListenerObject(listener);
}
......@@ -784,7 +784,7 @@ public final class CommandManager extends HandleObjectManager implements
* @param listener
* The listener to be removed; must not be <code>null</code>.
*/
public final void removeExecutionListener(final IExecutionListener listener) {
public void removeExecutionListener(final IExecutionListener listener) {
if (listener == null) {
throw new NullPointerException("Cannot remove a null listener"); //$NON-NLS-1$
}
......@@ -822,7 +822,7 @@ public final class CommandManager extends HandleObjectManager implements
* Similarly, if the map is empty, then all commands will become
* unhandled.
*/
public final void setHandlersByCommandId(@SuppressWarnings("rawtypes") final Map handlersByCommandId) {
public void setHandlersByCommandId(@SuppressWarnings("rawtypes") final Map handlersByCommandId) {
// Make that all the reference commands are created.
final Iterator<?> commandIdItr = handlersByCommandId.keySet().iterator();
while (commandIdItr.hasNext()) {
......@@ -855,7 +855,7 @@ public final class CommandManager extends HandleObjectManager implements
* removed.
* @since 3.2
*/
public final void setHelpContextId(final IHandler handler, final String helpContextId) {
public void setHelpContextId(final IHandler handler, final String helpContextId) {
if (handler == null) {
throw new NullPointerException("The handler cannot be null"); //$NON-NLS-1$
}
......@@ -882,7 +882,7 @@ public final class CommandManager extends HandleObjectManager implements
* character does not occur unescaped.
* @see String#indexOf(int)
*/
private final int unescapedIndexOf(final String escapedText, final char ch) {
private int unescapedIndexOf(final String escapedText, final char ch) {
int pos = escapedText.indexOf(ch);
......
......@@ -222,8 +222,7 @@ public final class ExecutionEvent {
*/
@Override
public final String toString() {
final StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append("ExecutionEvent("); //$NON-NLS-1$
final StringBuilder stringBuffer = new StringBuilder("ExecutionEvent("); //$NON-NLS-1$
stringBuffer.append(command);
stringBuffer.append(',');
stringBuffer.append(parameters);
......
......@@ -269,8 +269,7 @@ public final class ParameterType extends HandleObject implements Comparable {
@Override
public final String toString() {
if (string == null) {
final StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append("ParameterType("); //$NON-NLS-1$
final StringBuilder stringBuffer = new StringBuilder("ParameterType("); //$NON-NLS-1$
stringBuffer.append(id);
stringBuffer.append(',');
stringBuffer.append(defined);
......
......@@ -105,10 +105,10 @@ public final class ParameterizedCommand implements Comparable {
* special serialization characters escaped
* @since 3.2
*/
private static final String escape(final String rawText) {
private static String escape(final String rawText) {
// defer initialization of a StringBuffer until we know we need one
StringBuffer buffer = null;
// defer initialization of a StringBuilder until we know we need one
StringBuilder buffer = null;
for (int i = 0; i < rawText.length(); i++) {
......@@ -120,7 +120,7 @@ public final class ParameterizedCommand implements Comparable {
case CommandManager.PARAMETER_SEPARATOR_CHAR:
case CommandManager.ESCAPE_CHAR:
if (buffer == null) {
buffer = new StringBuffer(rawText.substring(0, i));
buffer = new StringBuilder(rawText.substring(0, i));
}
buffer.append(CommandManager.ESCAPE_CHAR);
buffer.append(c);
......@@ -153,7 +153,7 @@ public final class ParameterizedCommand implements Comparable {
* @return A collection (<code>Collection</code>) of combinations (<code>List</code>
* of <code>Parameterization</code>).
*/
private static final Collection<?> expandParameters(final int startIndex,
private static Collection<?> expandParameters(final int startIndex,
final IParameter[] parameters) {
final int nextIndex = startIndex + 1;
final boolean noMoreParameters = (nextIndex >= parameters.length);
......@@ -249,7 +249,7 @@ public final class ParameterizedCommand implements Comparable {
* @throws NotDefinedException
* If the command is not defined.
*/
public static final Collection generateCombinations(final Command command)
public static Collection generateCombinations(final Command command)
throws NotDefinedException {
final IParameter[] parameters = command.getParameters();
if (parameters == null) {
......@@ -293,7 +293,7 @@ public final class ParameterizedCommand implements Comparable {
* be generated
* @since 3.4
*/
public static final ParameterizedCommand generateCommand(Command command, Map parameters) {
public static ParameterizedCommand generateCommand(Command command, Map parameters) {
// no parameters
if (parameters == null || parameters.isEmpty()) {
return new ParameterizedCommand(command, null);
......@@ -396,7 +396,7 @@ public final class ParameterizedCommand implements Comparable {
}
@Override
public final int compareTo(final Object object) {
public int compareTo(final Object object) {
final ParameterizedCommand command = (ParameterizedCommand) object;
final boolean thisDefined = this.command.isDefined();
final boolean otherDefined = command.command.isDefined();
......@@ -417,7 +417,7 @@ public final class ParameterizedCommand implements Comparable {
}
@Override
public final boolean equals(final Object object) {
public boolean equals(final Object object) {
if (this == object) {
return true;
}
......@@ -454,7 +454,7 @@ public final class ParameterizedCommand implements Comparable {
* instead.
*/
@Deprecated
public final Object execute(final Object trigger, final Object applicationContext)
public Object execute(final Object trigger, final Object applicationContext)
throws ExecutionException, NotHandledException {
return command.execute(new ExecutionEvent(command, getParameterMap(), trigger, applicationContext));
}
......@@ -482,7 +482,7 @@ public final class ParameterizedCommand implements Comparable {
* If there is no handler.
* @since 3.2
*/
public final Object executeWithChecks(final Object trigger, final Object applicationContext)
public Object executeWithChecks(final Object trigger, final Object applicationContext)
throws ExecutionException, NotDefinedException, NotEnabledException, NotHandledException {
return command.executeWithChecks(new ExecutionEvent(command, getParameterMap(), trigger, applicationContext));
}
......@@ -493,7 +493,7 @@ public final class ParameterizedCommand implements Comparable {
*
* @return The command; never <code>null</code>, but may be undefined.
*/
public final Command getCommand() {
public Command getCommand() {
return command;
}
......@@ -503,7 +503,7 @@ public final class ParameterizedCommand implements Comparable {
*
* @return The command id; never <code>null</code>.
*/
public final String getId() {
public String getId() {
return command.getId();
}
......@@ -516,7 +516,7 @@ public final class ParameterizedCommand implements Comparable {
* @throws NotDefinedException
* If the underlying command is not defined.
*/
public final String getName() throws NotDefinedException {
public String getName() throws NotDefinedException {
return getName(command.getName());
}
......@@ -533,34 +533,38 @@ public final class ParameterizedCommand implements Comparable {
* If the underlying command is not defined.
* @since 3.8
*/
public final String getName(String baseName) throws NotDefinedException {
public String getName(String baseName) throws NotDefinedException {
if (name == null) {
final StringBuffer nameBuffer = new StringBuffer();
final StringBuilder nameBuffer = new StringBuilder();
nameBuffer.append(baseName);
if (parameterizations != null) {
nameBuffer.append(" ("); //$NON-NLS-1$
StringBuilder parametersBuffer = new StringBuilder();
final int parameterizationCount = parameterizations.length;
if (parameterizationCount == 1) {
appendParameter(nameBuffer, parameterizations[0], false);
appendParameter(parametersBuffer, parameterizations[0], false);
} else {
for (int i = 0; i < parameterizationCount; i++) {
appendParameter(nameBuffer, parameterizations[i], true);
appendParameter(parametersBuffer, parameterizations[i], true);
// If there is another item, append a separator.
if (i + 1 < parameterizationCount) {
nameBuffer.append(", "); //$NON-NLS-1$
parametersBuffer.append(", "); //$NON-NLS-1$
}
}
}
nameBuffer.append(')');
if (parametersBuffer.length() > 0) {
nameBuffer.append(" ("); //$NON-NLS-1$
nameBuffer.append(parametersBuffer);
nameBuffer.append(')');
}
}
name = nameBuffer.toString();
}
return name;
}
private void appendParameter(final StringBuffer nameBuffer,
private void appendParameter(final StringBuilder nameBuffer,
final Parameterization parameterization, boolean shouldAppendName) {
if(shouldAppendName) {
......@@ -585,7 +589,7 @@ public final class ParameterizedCommand implements Comparable {
* values (<code>String</code>). This map is never
* <code>null</code>, but may be empty.
*/
public final Map getParameterMap() {
public Map getParameterMap() {
if ((parameterizations == null) || (parameterizations.length == 0)) {
return Collections.EMPTY_MAP;
}
......@@ -598,7 +602,7 @@ public final class ParameterizedCommand implements Comparable {
}
@Override
public final int hashCode() {
public int hashCode() {
if (hashCode == HASH_CODE_NOT_COMPUTED) {
hashCode = HASH_INITIAL * HASH_FACTOR + Util.hashCode(command);
hashCode = hashCode * HASH_FACTOR;
......@@ -671,14 +675,14 @@ public final class ParameterizedCommand implements Comparable {
* @see CommandManager#deserialize(String)
* @since 3.2
*/
public final String serialize() {
public String serialize() {
final String escapedId = escape(getId());
if ((parameterizations == null) || (parameterizations.length == 0)) {
return escapedId;
}
final StringBuffer buffer = new StringBuffer(escapedId);
final StringBuilder buffer = new StringBuilder(escapedId);
buffer.append(CommandManager.PARAMETER_START_CHAR);
for (int i = 0; i < parameterizations.length; i++) {
......@@ -708,9 +712,8 @@ public final class ParameterizedCommand implements Comparable {
}
@Override
public final String toString() {
final StringBuffer buffer = new StringBuffer();
buffer.append("ParameterizedCommand("); //$NON-NLS-1$
public String toString() {
final StringBuilder buffer = new StringBuilder("ParameterizedCommand("); //$NON-NLS-1$
buffer.append(command);
buffer.append(',');
buffer.append(Arrays.toString(parameterizations));
......
......@@ -233,8 +233,7 @@ public final class Context extends NamedHandleObject implements Comparable {
@Override
public final String toString() {
if (string == null) {
final StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append("Context("); //$NON-NLS-1$
final StringBuilder stringBuffer = new StringBuilder("Context("); //$NON-NLS-1$
stringBuffer.append(id);
stringBuffer.append(',');
stringBuffer.append(name);
......
......@@ -136,7 +136,7 @@ public abstract class AbstractOperation implements IUndoableOperation {
*/
@Override
public String toString() {
final StringBuffer stringBuffer = new StringBuffer();
final StringBuilder stringBuffer = new StringBuilder();
stringBuffer.append(getLabel());
stringBuffer.append("("); //$NON-NLS-1$
IUndoContext[] contexts = getContexts();
......
......@@ -46,7 +46,7 @@ public final class Tracing {
*/
public static final void printTrace(final String component,
final String message) {
StringBuffer buffer = new StringBuffer();
StringBuilder buffer = new StringBuilder();
if (component != null) {
buffer.append(component);
}
......
......@@ -128,6 +128,7 @@ org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
org.eclipse.jdt.core.compiler.source=1.8
org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
......@@ -139,10 +140,13 @@ org.eclipse.jdt.core.formatter.alignment_for_assignment=0
org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=16
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header=0
org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
org.eclipse.jdt.core.formatter.alignment_for_module_statements=16
org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references=0
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
......@@ -152,6 +156,8 @@ org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_type_arguments=0
org.eclipse.jdt.core.formatter.alignment_for_type_parameters=0
org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
org.eclipse.jdt.core.formatter.blank_lines_after_package=1
......@@ -176,18 +182,21 @@ org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
org.eclipse.jdt.core.formatter.comment.align_tags_descriptions_grouped=true
org.eclipse.jdt.core.formatter.comment.align_tags_names_descriptions=false
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
org.eclipse.jdt.core.formatter.comment.count_line_length_from_starting_position=true
org.eclipse.jdt.core.formatter.comment.format_block_comments=true
org.eclipse.jdt.core.formatter.comment.format_header=false
org.eclipse.jdt.core.formatter.comment.format_html=true
org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
org.eclipse.jdt.core.formatter.comment.format_line_comments=true
org.eclipse.jdt.core.formatter.comment.format_source_code=true
org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
org.eclipse.jdt.core.formatter.comment.indent_parameter_description=false
org.eclipse.jdt.core.formatter.comment.indent_root_tags=false
org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert
org.eclipse.jdt.core.formatter.comment.line_length=80
org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
......@@ -198,7 +207,7 @@ org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=false
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
......@@ -210,6 +219,7 @@ org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
org.eclipse.jdt.core.formatter.indentation.size=4
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
......@@ -237,7 +247,7 @@ org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
......@@ -404,12 +414,24 @@ org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
org.eclipse.jdt.core.formatter.parentheses_positions_in_annotation=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_if_while_statement=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_lambda_declaration=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_method_delcaration=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_method_invocation=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_switch_statement=common_lines
org.eclipse.jdt.core.formatter.parentheses_positions_in_try_clause=common_lines
org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
org.eclipse.jdt.core.formatter.tabulation.char=tab
org.eclipse.jdt.core.formatter.tabulation.size=4
org.eclipse.jdt.core.formatter.use_on_off_tags=false
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
org.eclipse.jdt.core.formatter.wrap_before_assignment_operator=false
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
org.eclipse.jdt.core.formatter.wrap_before_conditional_operator=true
org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
org.eclipse.jdt.core.incompatibleJDKLevel=ignore
......
......@@ -52,7 +52,7 @@ cleanup_settings_version=2
eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=org.eclipse.jdt.ui.default.eclipse_profile
formatter_settings_version=12
formatter_settings_version=14
org.eclipse.jdt.ui.exception.name=e
org.eclipse.jdt.ui.gettersetter.use.is=true
org.eclipse.jdt.ui.ignorelowercasenames=true
......
......@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.core.databinding.beans
Bundle-Version: 1.4.0.qualifier
Bundle-Version: 1.4.100.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
......@@ -12,3 +12,4 @@ Require-Bundle: org.eclipse.equinox.common;bundle-version="[3.2.0,4.0.0)",
org.eclipse.core.databinding.observable;bundle-version="[1.2.0,2.0.0)",
org.eclipse.core.databinding.property;bundle-version="[1.3.0,2.0.0)"
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Automatic-Module-Name: org.eclipse.core.databinding.beans
......@@ -15,12 +15,12 @@
<parent>
<artifactId>eclipse.platform.ui</artifactId>
<groupId>eclipse.platform.ui</groupId>
<version>4.7.3-SNAPSHOT</version>
<version>4.8.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<groupId>org.eclipse.core</groupId>
<artifactId>org.eclipse.core.databinding.beans</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>1.4.100-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<properties>
......