/*******************************************************************************
* Copyright (c) 2008 Borland Software Corporation 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:
* Borland Software Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.m2m.internal.qvt.oml.editor.ui.completion.keywordhandler;
/**
* @author Aleksandr Igdalov
* Created on Oct 23, 2007
*/
public class KeywordHandlerRegistry {
private static final KeywordHandlerRegistry ourKeywordHandlerRegistry = new KeywordHandlerRegistry();
private final IKeywordHandler[] myKeywordHandlers = new IKeywordHandler[] {
new ScriptHeaderHandler(), new ImperativeOperationHandler()
};
private KeywordHandlerRegistry() {
}
public static final KeywordHandlerRegistry getInstance() {
return ourKeywordHandlerRegistry;
}
public IKeywordHandler[] getKeywordHandlers() {
return myKeywordHandlers;
}
}