Class ViewModelBuilder
- java.lang.Object
-
- org.eclipse.core.internal.events.InternalBuilder
-
- org.eclipse.core.resources.IncrementalProjectBuilder
-
- org.eclipse.emfforms.ide.internal.builder.ValidationBuilder
-
- org.eclipse.emfforms.ide.internal.builder.ViewModelBuilder
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension
public class ViewModelBuilder extends ValidationBuilder
Incremental builder that triggers validation on view models in the workspace.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BUILDER_ID
identifier of the builder, similar to plugin.xml value.-
Fields inherited from class org.eclipse.emfforms.ide.internal.builder.ValidationBuilder
MARKER_ID
-
-
Constructor Summary
Constructors Constructor Description ViewModelBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.core.resources.IProject[]
build(int kind, java.util.Map<java.lang.String,java.lang.String> args, org.eclipse.core.runtime.IProgressMonitor monitor)
protected void
clean(org.eclipse.core.runtime.IProgressMonitor monitor)
protected Bazaar.Builder<org.eclipse.emf.common.ui.MarkerHelper>
configureMarkers(Bazaar.Builder<org.eclipse.emf.common.ui.MarkerHelper> bazaarBuilder)
Configure the marker helper bazaar builder.protected Bazaar.Builder<ValidationDelegate>
configureValidation(Bazaar.Builder<ValidationDelegate> bazaarBuilder)
Configure the validation delegate bazaar builder.-
Methods inherited from class org.eclipse.emfforms.ide.internal.builder.ValidationBuilder
createBazaarBuilder, createContext, fullBuild, getContentType, incrementalBuild
-
Methods inherited from class org.eclipse.core.resources.IncrementalProjectBuilder
forgetLastBuiltState, getBuildConfig, getCommand, getContext, getDelta, getProject, getRule, hasBeenBuilt, isInterrupted, needRebuild, rememberLastBuiltState, requestProjectRebuild, requestProjectsRebuild, setInitializationData, startupOnInitialize
-
-
-
-
Field Detail
-
BUILDER_ID
public static final java.lang.String BUILDER_ID
identifier of the builder, similar to plugin.xml value.- See Also:
- Constant Field Values
-
-
Method Detail
-
build
protected org.eclipse.core.resources.IProject[] build(int kind, java.util.Map<java.lang.String,java.lang.String> args, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
- Overrides:
build
in classValidationBuilder
- Throws:
org.eclipse.core.runtime.CoreException
-
clean
protected void clean(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
- Overrides:
clean
in classValidationBuilder
- Throws:
org.eclipse.core.runtime.CoreException
-
configureValidation
protected Bazaar.Builder<ValidationDelegate> configureValidation(Bazaar.Builder<ValidationDelegate> bazaarBuilder)
Description copied from class:ValidationBuilder
Configure the validation delegate bazaar builder. Subclasses may extend or override to add vendors or context functions.- Overrides:
configureValidation
in classValidationBuilder
- Parameters:
bazaarBuilder
- the validation delegate bazaar builder- Returns:
- the same
bazaarBuilder
-
configureMarkers
protected Bazaar.Builder<org.eclipse.emf.common.ui.MarkerHelper> configureMarkers(Bazaar.Builder<org.eclipse.emf.common.ui.MarkerHelper> bazaarBuilder)
Description copied from class:ValidationBuilder
Configure the marker helper bazaar builder. Subclasses may extend or override to add vendors or context functions.- Overrides:
configureMarkers
in classValidationBuilder
- Parameters:
bazaarBuilder
- the marker helper bazaar builder- Returns:
- the same
bazaarBuilder
-
-