/*=============================================================================#
# Copyright (c) 2014-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.docmlet.tex.core;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import de.walware.docmlet.tex.core.model.ITexWorkspaceSourceUnit;
import de.walware.docmlet.tex.internal.core.builder.TexBuildParticipantInternal;
public class TexBuildParticipant extends TexBuildParticipantInternal {
public TexBuildParticipant() {
}
public final ITexProject getTexProject() {
return this.texProject;
}
public final int getBuildType() {
return this.buildType;
}
@Override
public void init() {
}
protected final void setEnabled(final boolean enabled) {
this.enabled= enabled;
}
public final boolean isEnabled() {
return this.enabled;
}
/**
* @param file the file to clear
* @throws CoreException
*/
public void clear(final IFile file) throws CoreException {
}
/**
* @param unit the added/changed source unit
* @param monitor SubMonitor-recommended
*/
public void ltxUnitUpdated(final ITexWorkspaceSourceUnit unit,
final IProgressMonitor monitor) throws CoreException {
// update index
}
/**
* @param file the removed resource
* @param monitor SubMonitor-recommended
*/
public void ltxUnitRemoved(final IFile file,
final IProgressMonitor monitor) throws CoreException {
// remove from index
}
public void ltxFinished(final IProgressMonitor monitor) throws CoreException {
}
}