blob: 23c2c4908572f8eb7a45618cde3a91de59ad82aa [file] [log] [blame]
nitind102e60a2005-09-15 12:42:42 +00001/*******************************************************************************
2 * Copyright (c) 2005 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * IBM Corporation - initial API and implementation
10 *
11 *******************************************************************************/
12
13package org.eclipse.wst.html.ui.internal.search;
14
15import java.util.ArrayList;
16import java.util.List;
17
18import org.eclipse.wst.sse.ui.internal.search.FindOccurrencesActionDelegate;
19
20/**
21 * Sets up FindOccurrencesActionDelegate for html find occurrences processors
22 */
23public class HTMLFindOccurrencesActionDelegate extends FindOccurrencesActionDelegate {
24 private List fProcessors;
25
26 protected List getProcessors() {
27 if (fProcessors == null) {
28 fProcessors = new ArrayList();
29 HTMLFindOccurrencesProcessor htmlProcessor = new HTMLFindOccurrencesProcessor();
30 fProcessors.add(htmlProcessor);
31 }
32 return fProcessors;
33 }
34}