Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Pave/Extension Points

Pattern Extension Point

<pattern
            id= unique ID for the pattern

            name=Short name for the pattern

            category=Name of the category in which the pattern will be situated.     
     
            description=Description that will be shown in the

            icon=Icon that will be shown for the Pattern in the wizard 
                   
            synchronizer=Synchronizer class used for model synchronization.

            updatesPattern= If this is update of already existing pattern here you must put the ID of the original pattern.

            validationOverrideClass=If validation override is necessary here the class that extend ValidationOverride class are placed.

   <generators>
       <generatorClassInstance
                   class="DataModelProvidrer for the operation is placed here"/>
    </generators>

    <enablement>
        Enablement using org.eclipse.core.expressions should be defined here.
    </enablement>

     <extends>
            <ExtendsPatternId>

                  The ID of the pattern(s) that are extended by this pattern
            </ExtendsPatternId>
     </extends>

     <validators>
         <validatorClassInstance>
            Additional validator classes that extend: PatternValidator class are placed here.
        </validatorClassInstance>
     </validators>
</pattern>

Pattern UI Extension Point

<extension
         point="com.sap.ide.pattern.application.framework.ui.PatternUI">
   <patternUIFactory
            factoryClass=Factory class that extends: PGWizardPageFactory and return the wizard pages and steps
            targetPatternId="ID of the pattern that we want to attach the UIs">
   </patternUIFactory>
</extension>

Pattern Operation Extension

<extension

         point="com.sap.ide.pattern.application.framework.PatternOperationExtension">

      <operationExtension

            operationId=ID of the operation (FQN of the operation)

            patternId=ID of the pattern where the operation is situated. If left blank the operation will be executed on all patterns that execute that operation.                  

            postOperationClass="the Abstract Data Model Operation that will be executed after the specified operation"

            preOperationClass="the Abstract Data Model Operation that will be executed after the specified operation">   

  </operationExtension> 

</extension>

Back to the top