blob: 81059dbf7973c89914c0d2d97d0585093d5b0eb8 [file] [log] [blame]
/**
* Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf, Austria), Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
* 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:
* Florian Pirchner - Initial implementation
*/
package org.eclipse.osbp.ecview.core.extension.editpart.emf;
import org.eclipse.osbp.ecview.core.common.editpart.emf.FieldEditpart;
import org.eclipse.osbp.ecview.core.common.filter.IFilterProvidingPresentation;
import org.eclipse.osbp.ecview.core.extension.model.extension.YTextSearchField;
import org.eclipse.osbp.ecview.core.ui.core.editparts.extension.ITextSearchFieldEditpart;
/**
* The implementation of the ITextSearchFieldEditpart.
*/
public class TextSearchFieldEditpart extends FieldEditpart<YTextSearchField>
implements ITextSearchFieldEditpart {
public TextSearchFieldEditpart() {
super();
}
@Override
public Object getFilter() {
IFilterProvidingPresentation presentation = (IFilterProvidingPresentation) getPresentation();
return presentation.getFilter();
}
}