/*=============================================================================# # Copyright (c) 2005-2016 Stephan Wahlbrink (WalWare.de) 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: # Stephan Wahlbrink - initial API and implementation #=============================================================================*/ package de.walware.statet.ext.templates; import org.eclipse.core.resources.IProject; import org.eclipse.jface.text.templates.ContextTypeRegistry; import org.eclipse.jface.text.templates.persistence.TemplateStore; import de.walware.ecommons.ltk.ui.sourceediting.SourceEditorViewerConfigurator; import de.walware.ecommons.templates.TemplateVariableProcessor; /** * For extension point */ public interface ICodeGenerationTemplatesCategory { public String getProjectNatureId(); public TemplateStore getTemplateStore(); public ContextTypeRegistry getContextTypeRegistry(); public SourceEditorViewerConfigurator getEditTemplateDialogConfiguator( TemplateVariableProcessor processor, IProject project); }