Search in sources :

Example 1 with Placement

use of org.mule.runtime.extension.api.annotation.param.display.Placement in project mule by mulesoft.

the class MuleExtensionAnnotationParser method parsePlacementAnnotation.

private static void parsePlacementAnnotation(WithAnnotations annotatedElement, LayoutModelBuilder builder) {
    java.util.Optional<Placement> placementAnnotation = annotatedElement.getAnnotation(Placement.class);
    if (placementAnnotation.isPresent()) {
        Placement placement = placementAnnotation.get();
        builder.order(placement.order()).tabName(placement.tab());
    }
}
Also used : Placement(org.mule.runtime.extension.api.annotation.param.display.Placement)

Aggregations

Placement (org.mule.runtime.extension.api.annotation.param.display.Placement)1