blob: dc7652bd8388f3ad2905d6cdb4ef0c78f0d99466 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2001, 2007 Oracle Corporation and others.
* All rights reserved. This program and the accompanying materials
* are 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:
* Oracle Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.jsf.core.internal.contentassist.el;
import org.eclipse.jface.text.Region;
import org.eclipse.jst.jsf.context.symbol.ISymbol;
/**
* class contains a symbol and it's region
*
*/
public class SymbolInfo {
private final ISymbol symbol;
private final Region relativeRegion;
/**
* @param symbol
* @param relativeRegion
*/
public SymbolInfo(ISymbol symbol, Region relativeRegion) {
super();
this.symbol = symbol;
this.relativeRegion = relativeRegion;
}
/**
* @return the symbol
*/
public ISymbol getSymbol() {
return symbol;
}
/**
* @return the relative region
*/
public Region getRelativeRegion() {
return relativeRegion;
}
}