Class EquoIdeExtension.DogfoodDsl

    • Nested Class Summary

      • Nested classes/interfaces inherited from class dev.equo.ide.CatalogDsl

        dev.equo.ide.CatalogDsl.TransitiveAwareList<T extends dev.equo.ide.CatalogDsl>
    • Field Summary

      • Fields inherited from class dev.equo.ide.CatalogDsl

        catalog
    • Constructor Summary

      Constructors 
      Constructor Description
      DogfoodDsl​(org.gradle.api.Project project)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EquoIdeExtension.DogfoodDsl ideHook​(java.lang.String hookClass)
      Instantiates the given class (which must be an [IdeHook] with a no-arg constructor) and adds it to the IDE startup.
      protected java.util.List<dev.equo.ide.IdeHook> ideHooks()  
      • Methods inherited from class dev.equo.ide.CatalogDsl

        setUrlOverride, workspaceInit
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DogfoodDsl

        public DogfoodDsl​(org.gradle.api.Project project)
    • Method Detail

      • ideHooks

        protected java.util.List<dev.equo.ide.IdeHook> ideHooks()
        Overrides:
        ideHooks in class dev.equo.ide.CatalogDsl
      • ideHook

        public EquoIdeExtension.DogfoodDsl ideHook​(java.lang.String hookClass)
        Instantiates the given class (which must be an [IdeHook] with a no-arg constructor) and adds it to the IDE startup.

        Even better is to add a Bundle-IdeHook header to the manifest of the jar, then the hook will still work when the Eclipse plugin gets distributed via Maven.