Class LayoutAddCommand

  • All Implemented Interfaces:
    org.apache.karaf.shell.api.action.Action, CodecContext

    public class LayoutAddCommand
    extends AbstractShellCommand
    Add a new UI layout.
     layout-add {layout-id} {bg-ref} \
       [ {region-id} {parent-layout-id} {scale} {offset-x} {offset-y} ]
     
    Note that if you want to skip a parameter, but set later parameters, use dot (".") as a placeholder for null. For example, no associated region or parent layout, but setting the scale and offset for the root layout...
     layout-add root @bayareaGEO . . 1.2 0.0 -4.0