import org.eclipse.swt.widgets.Control;
/** Stateless factory building an SWT user interface given a JCR context. */
+@FunctionalInterface
public interface CmsUiProvider {
/**
* Initialises a user interface.
*
* @param parent
* the parent composite
- * @param a
- * context node or null
+ * @param context
+ * a context node (holding the JCR underlying session), or null
*/
- public Control createUi(Composite parent, Node context)
- throws RepositoryException;
+ public Control createUi(Composite parent, Node context) throws RepositoryException;
}