blob: 20fbc5fbf797b522692c9a0978f52f569e7d68aa [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013 RCP Vision (http://www.rcp-vision.com) 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:
* Lorenzo Bettini - initial API and implementation
*******************************************************************************/
package org.eclipse.emf.parsley.composite;
import org.eclipse.core.databinding.observable.value.IObservableValue;
import org.eclipse.swt.widgets.Control;
/**
* @author Lorenzo Bettini
*
*/
public class ControlObservablePair {
protected Control control;
@SuppressWarnings("rawtypes")
protected IObservableValue observableValue;
public ControlObservablePair() {
}
@SuppressWarnings("rawtypes")
public ControlObservablePair(Control control, IObservableValue observableValue) {
this.control = control;
this.observableValue = observableValue;
}
public Control getControl() {
return control;
}
public void setControl(Control control) {
this.control = control;
}
@SuppressWarnings("rawtypes")
public IObservableValue getObservableValue() {
return observableValue;
}
@SuppressWarnings("rawtypes")
public void setObservableValue(IObservableValue observableValue) {
this.observableValue = observableValue;
}
}