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