@Override public void createControl(Composite page, WorkSourceExtensionContext context) { // Provide properties SourceExtensionUtil.loadPropertyLayout(page); SourceExtensionUtil.createPropertyText( "Package prefix", SourceHttpResourceFactory.PROPERTY_CLASS_PATH_PREFIX, WebAutoWireApplication.WEB_PUBLIC_RESOURCES_CLASS_PATH_PREFIX, page, context, null); SourceExtensionUtil.createPropertyText( "Directory index file name", SourceHttpResourceFactory.PROPERTY_DEFAULT_DIRECTORY_FILE_NAMES, "index.html", page, context, null); SourceExtensionUtil.createPropertyText( "Resource not found content path", HttpFileSenderWorkSource.PROPERTY_NOT_FOUND_FILE_PATH, "FileNotFound.html", page, context, null); }
@Override public void createControl(Composite page, WorkSourceExtensionContext context) { // Provide properties SourceExtensionUtil.loadPropertyLayout(page); SourceExtensionUtil.createPropertyText( "HTTP Status", HttpResponseSenderWorkSource.PROPERTY_HTTP_STATUS, "200", page, context, null); SourceExtensionUtil.createPropertyText( "HTTP Content File", HttpResponseSenderWorkSource.PROPERTY_HTTP_RESPONSE_CONTENT_FILE, "", page, context, null); }