Package org.apache.isis.viewer.dnd.util

Examples of org.apache.isis.viewer.dnd.util.ViewFactory


    return "Grid Column";
  }
 
    private static class ColumnSubviews implements SubviewSpec {
        public View createSubview(Content content, ViewAxis axis) {
            ViewFactory factory = Skylark.getViewFactory();

            ViewSpecification specification;

            if (content instanceof OneToManyField) {
                specification = new ScheduleSpecification();
            } else if (content instanceof ValueContent) {
                specification = factory.getValueFieldSpecification((ValueContent) content);
            } else if (content instanceof ObjectContent) {
                specification = factory.getIconizedSubViewSpecification((ObjectContent) content);
            } else {
                throw new ObjectAdapterRuntimeException();
            }

            return specification.createView(content, axis);
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.dnd.util.ViewFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.