/* * Copyright (C) 2006-2016 DLR, Germany * * All rights reserved * * http://www.rcenvironment.de/ */ package de.rcenvironment.components.optimizer.gui.properties; import de.rcenvironment.components.optimizer.common.OptimizerComponentConstants; import de.rcenvironment.core.gui.workflow.editor.properties.ComponentFilter; /** * Filter for OptimizerComponent instances. * * @author Sascha Zur */ public class OptimizerComponentFilter extends ComponentFilter { @Override public boolean filterComponentName(String componentId) { boolean isMatch = false; for (String id : OptimizerComponentConstants.COMPONENT_IDS) { if (componentId.startsWith(id)) { isMatch = true; } } return isMatch; } }