Author: vrubezhny
Date: 2010-09-21 13:36:05 -0400 (Tue, 21 Sep 2010)
New Revision: 25068
Added:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/preferences/
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/preferences/ELContentAssistPreferenceInitializer.java
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/preferences/ELContentAssistPreferences.java
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/ContentAssistPreferencePage.java
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/META-INF/MANIFEST.MF
trunk/common/plugins/org.jboss.tools.common.el.core/plugin.xml
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/AbstractELCompletionEngine.java
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java
trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF
trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties
trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/Messages.java
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/preferences.properties
Log:
JBIDE-6259
Add an option to Preferences to disable/enable code completion for getters and setters in
EL.
Issue is implemented
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/META-INF/MANIFEST.MF 2010-09-21
17:29:49 UTC (rev 25067)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/META-INF/MANIFEST.MF 2010-09-21
17:36:05 UTC (rev 25068)
@@ -8,6 +8,7 @@
Bundle-Version: 3.2.0.qualifier
Export-Package: org.jboss.tools.common.el.core,
org.jboss.tools.common.el.core.ca,
+ org.jboss.tools.common.el.core.ca.preferences,
org.jboss.tools.common.el.core.model,
org.jboss.tools.common.el.core.parser,
org.jboss.tools.common.el.core.resolver,
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/plugin.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/plugin.xml 2010-09-21 17:29:49 UTC
(rev 25067)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/plugin.xml 2010-09-21 17:36:05 UTC
(rev 25068)
@@ -3,4 +3,8 @@
<plugin>
<extension-point id="elResolver" name="EL Resolver"
schema="schema/elResolver.exsd"/>
+ <extension point="org.eclipse.core.runtime.preferences">
+ <initializer
class="org.jboss.tools.common.el.core.ca.preferences.ELContentAssistPreferenceInitializer"/>
+ </extension>
+
</plugin>
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/AbstractELCompletionEngine.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/AbstractELCompletionEngine.java 2010-09-21
17:29:49 UTC (rev 25067)
+++
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/AbstractELCompletionEngine.java 2010-09-21
17:36:05 UTC (rev 25068)
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Copyright (c) 2007-2010 Red Hat, Inc.
* Distributed under license by Red Hat, Inc. All rights reserved.
* This program is made available under the terms of the
* Eclipse Public License v1.0 which accompanies this distribution,
@@ -714,7 +714,7 @@
*/
Set<MemberPresentation> methodPresentations =
- infos.getMethodPresentations();
+ infos.getMethodPresentations(returnEqualedVariablesOnly);
if (methodPresentations != null) {
for (MemberPresentation presentation : methodPresentations) {
@@ -759,7 +759,7 @@
*/
Set<MemberPresentation> propertyPresentations =
- infos.getPropertyPresentations(segment.getUnpairedGettersOrSetters());
+ infos.getPropertyPresentations(segment.getUnpairedGettersOrSetters(),
returnEqualedVariablesOnly);
if (propertyPresentations != null) {
for (MemberPresentation presentation : propertyPresentations) {
@@ -809,8 +809,8 @@
if (TypeInfoCollector.isNotParameterizedCollection(mbr) ||
TypeInfoCollector.isResourceBundle(mbr.getMemberType())) {
resolution.setMapOrCollectionOrBundleAmoungTheTokens(true);
}
- proposalsToFilter.addAll(infos.getMethodPresentations());
- proposalsToFilter.addAll(infos.getPropertyPresentations(segment.getUnpairedGettersOrSetters()));
+ proposalsToFilter.addAll(infos.getMethodPresentations(returnEqualedVariablesOnly));
+ proposalsToFilter.addAll(infos.getPropertyPresentations(segment.getUnpairedGettersOrSetters(),
returnEqualedVariablesOnly));
// segment.setMemberInfo(mbr);
}
Added:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/preferences/ELContentAssistPreferenceInitializer.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/preferences/ELContentAssistPreferenceInitializer.java
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/preferences/ELContentAssistPreferenceInitializer.java 2010-09-21
17:36:05 UTC (rev 25068)
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.common.el.core.ca.preferences;
+
+import java.io.IOException;
+
+import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
+import org.eclipse.core.runtime.preferences.DefaultScope;
+import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.IScopeContext;
+import org.eclipse.jface.preference.IPersistentPreferenceStore;
+import org.eclipse.jface.preference.IPreferenceStore;
+import org.jboss.tools.common.el.core.ELCorePlugin;
+
+/**
+ * Initializer for EL Content Assistant preferences
+ *
+ * @author jeremy
+ *
+ */
+public class ELContentAssistPreferenceInitializer extends AbstractPreferenceInitializer
{
+
+ public ELContentAssistPreferenceInitializer() {}
+
+ @Override
+ public void initializeDefaultPreferences() {
+ IPreferenceStore store = ELCorePlugin.getDefault().getPreferenceStore();
+ store.setDefault(ELContentAssistPreferences.SHOW_GETTERS_AND_SETTERS, false);
+ store.setDefault(ELContentAssistPreferences.SHOW_METHODS_WITH_PARENTHESES_ONLY, true);
+ if (store instanceof IPersistentPreferenceStore) {
+ try {
+ ((IPersistentPreferenceStore)store).save();
+ } catch (IOException e) {
+ ELCorePlugin.getPluginLog().logError(e);
+ }
+ }
+ }
+}
\ No newline at end of file
Property changes on:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/preferences/ELContentAssistPreferenceInitializer.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/preferences/ELContentAssistPreferences.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/preferences/ELContentAssistPreferences.java
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/preferences/ELContentAssistPreferences.java 2010-09-21
17:36:05 UTC (rev 25068)
@@ -0,0 +1,25 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.common.el.core.ca.preferences;
+
+/**
+ *
+ * Preferences for EL Content Assistant
+ *
+ * @author jeremy
+ *
+ */
+public class ELContentAssistPreferences {
+
+ public static final String SHOW_GETTERS_AND_SETTERS = "showGettersAndSetters";
//$NON-NLS-1$
+
+ public static final String SHOW_METHODS_WITH_PARENTHESES_ONLY =
"showMethodsWithParenthesesOnly"; //$NON-NLS-1$
+}
Property changes on:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/preferences/ELContentAssistPreferences.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java 2010-09-21
17:29:49 UTC (rev 25067)
+++
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java 2010-09-21
17:36:05 UTC (rev 25068)
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007 Red Hat, Inc.
+ * Copyright (c) 2007-2010 Red Hat, Inc.
* Distributed under license by Red Hat, Inc. All rights reserved.
* This program is made available under the terms of the
* Eclipse Public License v1.0 which accompanies this distribution,
@@ -34,6 +34,7 @@
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.core.Signature;
import org.jboss.tools.common.el.core.ELCorePlugin;
+import org.jboss.tools.common.el.core.ca.preferences.ELContentAssistPreferences;
import org.jboss.tools.common.model.util.EclipseJavaUtil;
/**
@@ -1045,8 +1046,8 @@
* Returns the method presentation strings for the type specified
* @return
*/
- public Set<String> getMethodPresentationStrings() {
- Set<MemberPresentation> set = getMethodPresentations();
+ public Set<String> getMethodPresentationStrings(boolean isValidating) {
+ Set<MemberPresentation> set = getMethodPresentations(isValidating);
Set<String> result = new HashSet<String>();
for (MemberPresentation presentation : set) {
result.add(presentation.getPresentation());
@@ -1058,7 +1059,7 @@
* Returns the method presentations for the type specified
* @return
*/
- public Set<MemberPresentation> getMethodPresentations() {
+ public Set<MemberPresentation> getMethodPresentations(boolean isValidating) {
Set<MemberPresentation> methods = new
TreeSet<MemberPresentation>(MEMBER_PRESENTATION_COMPARATOR);
List<MemberInfo> mthds = getMethods();
for (MemberInfo info : mthds) {
@@ -1069,8 +1070,20 @@
StringBuffer name = new StringBuffer(method.getName());
- // Add method as 'foo'
- methods.add(new MemberPresentation(name.toString(), method));
+ boolean disabledGettersAndSettersView =
+ !ELCorePlugin.getDefault().getPreferenceStore().getBoolean(ELContentAssistPreferences.SHOW_GETTERS_AND_SETTERS)
&&
+ (method.isGetter() || method.isSetter());
+
+ if (!isValidating && disabledGettersAndSettersView) {
+ continue;
+ }
+ boolean enabledNonParenthesesView =
+ !ELCorePlugin.getDefault().getPreferenceStore().getBoolean(ELContentAssistPreferences.SHOW_METHODS_WITH_PARENTHESES_ONLY);
+
+ if (isValidating || enabledNonParenthesesView) {
+ // Add method as 'foo'
+ methods.add(new MemberPresentation(name.toString(), method));
+ }
// Add method as 'foo(param1,param2)'
name.append('(');
@@ -1127,8 +1140,8 @@
*
* @return
*/
- public Set<MemberPresentation> getPropertyPresentations() {
- return getPropertyPresentations(null);
+ public Set<MemberPresentation> getPropertyPresentations(boolean isValidating) {
+ return getPropertyPresentations(null, isValidating);
}
/**
@@ -1136,8 +1149,8 @@
*
* @return
*/
- public Set<String> getPropertyPresentationStrings() {
- return getPropertyPresentationStrings(null);
+ public Set<String> getPropertyPresentationStrings(boolean isValidating) {
+ return getPropertyPresentationStrings(null, isValidating);
}
/**
@@ -1146,8 +1159,8 @@
* @param unpairedGettersOrSetters - map of unpaired getters or setters of type's
properties. 'key' is property name.
* @return
*/
- public Set<String> getPropertyPresentationStrings(Map<String, MethodInfo>
unpairedGettersOrSetters) {
- Set<MemberPresentation> set =
getPropertyPresentations(unpairedGettersOrSetters);
+ public Set<String> getPropertyPresentationStrings(Map<String, MethodInfo>
unpairedGettersOrSetters, boolean isValidating) {
+ Set<MemberPresentation> set = getPropertyPresentations(unpairedGettersOrSetters,
isValidating);
Set<String> result = new HashSet<String>();
for (MemberPresentation presentation : set) {
result.add(presentation.getPresentation());
@@ -1161,7 +1174,7 @@
* @param unpairedGettersOrSetters - map of unpaired getters or setters of type's
properties. 'key' is property name.
* @return
*/
- public Set<MemberPresentation> getPropertyPresentations(Map<String,
MethodInfo> unpairedGettersOrSetters) {
+ public Set<MemberPresentation> getPropertyPresentations(Map<String,
MethodInfo> unpairedGettersOrSetters, boolean isValidating) {
Set<MemberPresentation> properties = new
TreeSet<MemberPresentation>(MEMBER_PRESENTATION_COMPARATOR);
HashMap<String, MemberPresentation> presentations = new HashMap<String,
MemberPresentation>();
List<MemberInfo> props = getProperties();
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF 2010-09-21 17:29:49
UTC (rev 25067)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF 2010-09-21 17:36:05
UTC (rev 25068)
@@ -42,7 +42,8 @@
org.eclipse.wst.common.emfworkbench.integration;bundle-version="1.1.300",
org.apache.velocity;bundle-version="1.5.0",
org.eclipse.ui.workbench.texteditor;bundle-version="3.5.1",
- org.eclipse.wst.html.ui;bundle-version="1.0.401"
+ org.eclipse.wst.html.ui;bundle-version="1.0.401",
+ org.jboss.tools.common.el.core;bundle-version="3.2.0"
Bundle-Version: 3.2.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ClassPath: .
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties 2010-09-21 17:29:49 UTC
(rev 25067)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties 2010-09-21 17:36:05 UTC
(rev 25068)
@@ -44,6 +44,8 @@
ViewCategory_JBossToolsWeb=JBoss Tools Web
VPE_Templates=Code Templates
+ContentAssist=Content Assist
+
All_XHTML_context_type_Extension_Element.name=All XHTML
XHTML_New_context_type_Extension_Element.name=New XHTML
XHTML_Tag_context_type_Extension_Element.name=XHTML Tag
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml 2010-09-21 17:29:49 UTC (rev
25067)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml 2010-09-21 17:36:05 UTC (rev
25068)
@@ -51,6 +51,12 @@
id="org.jboss.tools.jsf.ui.editor.pref.template">
<keywordReference id="org.eclipse.wst.html.ui.templates"/>
</page>
+ <page
+ name="%ContentAssist"
+ category="org.jboss.tools.vpe.editor"
+ class="org.jboss.tools.jst.web.ui.internal.preferences.ContentAssistPreferencePage"
+ id="org.jboss.tools.jsf.ui.editor.pref.contentassist">
+ </page>
</extension>
<extension point="org.eclipse.ui.editors">
<editor
Added:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/ContentAssistPreferencePage.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/ContentAssistPreferencePage.java
(rev 0)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/ContentAssistPreferencePage.java 2010-09-21
17:36:05 UTC (rev 25068)
@@ -0,0 +1,108 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+package org.jboss.tools.jst.web.ui.internal.preferences;
+
+import java.io.IOException;
+
+import org.eclipse.jface.preference.IPersistentPreferenceStore;
+import org.eclipse.jface.preference.IPreferenceStore;
+import org.eclipse.jface.preference.PreferencePage;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.IWorkbenchPreferencePage;
+import org.jboss.tools.common.el.core.ELCorePlugin;
+import org.jboss.tools.common.el.core.ca.preferences.ELContentAssistPreferences;
+
+/**
+ * Preference page for EL Content Assistant preferences
+ *
+ * @author jeremy
+ *
+ */
+public class ContentAssistPreferencePage extends PreferencePage implements
+ IWorkbenchPreferencePage {
+
+ private IWorkbench workbench;
+ private Button buttonGettersAndSetters;
+ private Button buttonMethodsView;
+
+ @Override
+ protected Control createContents(Composite parent) {
+ Composite composite = new Composite(parent, SWT.NONE);
+ GridLayout layout = new GridLayout(1, false);
+ layout.marginWidth = 0;
+ layout.marginHeight = 0;
+ composite.setLayout(layout);
+
+ IPreferenceStore store = ELCorePlugin.getDefault().getPreferenceStore();
+
+ buttonGettersAndSetters = new Button(composite,SWT.CHECK);
+ buttonGettersAndSetters.setText(Messages.ContentAssistPreferencePage_showGettersAndSetters);
+ buttonGettersAndSetters.setSelection(store.getBoolean(ELContentAssistPreferences.SHOW_GETTERS_AND_SETTERS));
+
+ buttonMethodsView = new Button(composite,SWT.CHECK);
+ buttonMethodsView.setText(Messages.ContentAssistPreferencePage_showMethodsWithParenthesesOnly);
+ buttonMethodsView.setSelection(store.getBoolean(ELContentAssistPreferences.SHOW_METHODS_WITH_PARENTHESES_ONLY));
+
+ return composite;
+ }
+
+ public void init(IWorkbench workbench) {
+ this.workbench = workbench;
+ }
+
+ @Override
+ protected void performDefaults() {
+ IPreferenceStore store = ELCorePlugin.getDefault().getPreferenceStore();
+
+ boolean defaultValue =
store.getDefaultBoolean(ELContentAssistPreferences.SHOW_GETTERS_AND_SETTERS);
+ buttonGettersAndSetters.setSelection(defaultValue);
+ store.setValue(ELContentAssistPreferences.SHOW_GETTERS_AND_SETTERS, defaultValue);
+
+ defaultValue =
store.getDefaultBoolean(ELContentAssistPreferences.SHOW_METHODS_WITH_PARENTHESES_ONLY);
+ buttonMethodsView.setSelection(defaultValue);
+ store.setValue(ELContentAssistPreferences.SHOW_METHODS_WITH_PARENTHESES_ONLY,
defaultValue);
+
+ if (store instanceof IPersistentPreferenceStore) {
+ try {
+ ((IPersistentPreferenceStore)store).save();
+ } catch (IOException e) {
+ ELCorePlugin.getPluginLog().logError(e);
+ }
+ }
+
+ super.performDefaults();
+ }
+
+ @Override
+ public boolean performOk() {
+ IPreferenceStore store = ELCorePlugin.getDefault().getPreferenceStore();
+ store.setValue(ELContentAssistPreferences.SHOW_GETTERS_AND_SETTERS,
+ buttonGettersAndSetters.getSelection());
+ store.setValue(ELContentAssistPreferences.SHOW_METHODS_WITH_PARENTHESES_ONLY,
buttonMethodsView.getSelection());
+
+ if (store instanceof IPersistentPreferenceStore) {
+ try {
+ ((IPersistentPreferenceStore)store).save();
+ } catch (IOException e) {
+ ELCorePlugin.getPluginLog().logError(e);
+ }
+ }
+
+ return super.performOk();
+ }
+
+}
Property changes on:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/ContentAssistPreferencePage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/Messages.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/Messages.java 2010-09-21
17:29:49 UTC (rev 25067)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/Messages.java 2010-09-21
17:36:05 UTC (rev 25068)
@@ -19,7 +19,9 @@
public static String ImplementationsPreferencesPage_Down;
public static String ImplementationsPreferencesPage_Library_Sets;
public static String ImplementationsPreferencesPage_Project_Templates;
-
+ public static String ContentAssistPreferencePage_showGettersAndSetters;
+ public static String ContentAssistPreferencePage_showMethodsWithParenthesesOnly;
+
private Messages() {
}
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/preferences.properties
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/preferences.properties 2010-09-21
17:29:49 UTC (rev 25067)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/preferences.properties 2010-09-21
17:36:05 UTC (rev 25068)
@@ -12,4 +12,6 @@
ImplementationsPreferencesPage_Up=Up
ImplementationsPreferencesPage_Down=Down
ImplementationsPreferencesPage_Library_Sets=Library Sets
-ImplementationsPreferencesPage_Project_Templates=Project Templates
\ No newline at end of file
+ImplementationsPreferencesPage_Project_Templates=Project Templates
+ContentAssistPreferencePage_showGettersAndSetters=Show Getters and Setters for the
properties
+ContentAssistPreferencePage_showMethodsWithParenthesesOnly=Show Methods Only with
Parentheses
\ No newline at end of file