Class 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.core.resources.IncrementalProjectBuilder

        AUTO_BUILD, CLEAN_BUILD, FULL_BUILD, INCREMENTAL_BUILD
    • 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.core.resources.IncrementalProjectBuilder

        forgetLastBuiltState, getBuildConfig, getCommand, getContext, getDelta, getProject, getRule, hasBeenBuilt, isInterrupted, needRebuild, rememberLastBuiltState, requestProjectRebuild, requestProjectsRebuild, setInitializationData, startupOnInitialize
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • ViewModelBuilder

        public ViewModelBuilder()
    • 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 class ValidationBuilder
        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 class ValidationBuilder
        Throws:
        org.eclipse.core.runtime.CoreException
      • 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 class ValidationBuilder
        Parameters:
        bazaarBuilder - the marker helper bazaar builder
        Returns:
        the same bazaarBuilder