[jbosstools-commits] JBoss Tools SVN: r36093 - trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Oct 31 15:06:09 EDT 2011


Author: vrubezhny
Date: 2011-10-31 15:06:07 -0400 (Mon, 31 Oct 2011)
New Revision: 36093

Added:
   trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/MessagesELTextProposal.java
Log:
JBIDE-9910 Proposal info for message bundles in code completion for EL

Resource Bundle properties proposal info support classes

Added: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/MessagesELTextProposal.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/MessagesELTextProposal.java	                        (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/MessagesELTextProposal.java	2011-10-31 19:06:07 UTC (rev 36093)
@@ -0,0 +1,60 @@
+/******************************************************************************* 
+ * Copyright (c) 2011 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;
+
+import java.util.List;
+
+import org.jboss.tools.common.text.TextProposal;
+
+/**
+ * Class to store proposals generated by ELResolver implementers
+ *  
+ * @author Victor Rubezhny
+ */
+public class MessagesELTextProposal extends TextProposal {
+	private Object allObjects;
+	private String baseName;
+	private String propertyName;
+	
+
+	/**
+	 * Adds a Object for the proposal
+	 * 
+	 * @param objects
+	 */
+	public void setObjects(List objects) {
+		this.allObjects = objects;
+	}
+
+	/**
+	 * returns all the Object for the proposal
+	 * @return
+	 */
+	public Object getAllObjects() {
+		return allObjects;
+	}
+
+	public String getBaseName() {
+		return baseName;
+	}
+
+	public void setBaseName(String baseName) {
+		this.baseName = baseName;
+	}
+
+	public String getPropertyName() {
+		return propertyName;
+	}
+
+	public void setPropertyName(String propertyName) {
+		this.propertyName = propertyName;
+	}
+}


Property changes on: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/MessagesELTextProposal.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain



More information about the jbosstools-commits mailing list