Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 160079 Details for
Bug 303773
[preferences] Add new options to 'code formatter' to expose constants from bug 284789
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch
v01-ui.txt (text/plain), 3.61 KB, created by
Frederic Fusier
on 2010-02-24 10:42:54 EST
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2010-02-24 10:42:54 EST
Size:
3.61 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.ui >Index: ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java,v >retrieving revision 1.27 >diff -u -r1.27 FormatterMessages.java >--- ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java 16 Nov 2009 16:59:57 -0000 1.27 >+++ ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java 22 Feb 2010 17:52:45 -0000 >@@ -259,6 +259,7 @@ > public static String WhiteSpaceOptions_return_with_parenthesized_expression; > public static String WhiteSpaceOptions_throw_with_parenthesized_expression; > public static String LineWrappingTabPage_compact_if_else; >+ public static String LineWrappingTabPage_declaration; > public static String LineWrappingTabPage_extends_clause; > public static String LineWrappingTabPage_enum_constant_arguments; > public static String LineWrappingTabPage_enum_constants; >Index: ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.properties >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.properties,v >retrieving revision 1.80 >diff -u -r1.80 FormatterMessages.properties >--- ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.properties 4 Jan 2010 14:25:42 -0000 1.80 >+++ ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.properties 22 Feb 2010 17:52:45 -0000 >@@ -296,6 +296,7 @@ > > > LineWrappingTabPage_compact_if_else=Compact 'if else' >+LineWrappingTabPage_declaration=Declaration > LineWrappingTabPage_extends_clause='extends' clause > LineWrappingTabPage_enum_constant_arguments=Constant arguments > LineWrappingTabPage_enum_constants=Constants >Index: ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java,v >retrieving revision 1.31 >diff -u -r1.31 LineWrappingTabPage.java >--- ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java 16 Feb 2009 10:33:49 -0000 1.31 >+++ ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java 22 Feb 2010 17:52:46 -0000 >@@ -433,6 +433,12 @@ > FormatterMessages.LineWrappingTabPage_parameters > ); > >+ private final Category fMethodDeclarationsCategory= new Category( >+ DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_METHOD_DECLARATION, >+ "class Example {public final synchronized java.lang.String a_method_with_a_long_name() {}}", //$NON-NLS-1$ >+ FormatterMessages.LineWrappingTabPage_declaration >+ ); >+ > private final Category fMethodDeclarationsParametersCategory= new Category( > DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION, > "class Example {void foo(int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) {}}", //$NON-NLS-1$ >@@ -637,6 +643,7 @@ > constructorDeclarations.children.add(fConstructorThrowsClauseCategory); > > final Category methodDeclarations= new Category(null, null, FormatterMessages.LineWrappingTabPage_method_decls); >+ methodDeclarations.children.add(fMethodDeclarationsCategory); > methodDeclarations.children.add(fMethodDeclarationsParametersCategory); > methodDeclarations.children.add(fMethodThrowsClauseCategory); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 303773
: 160079