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());
}
}
Aggregations