Examples of createView()


Examples of org.apache.isis.viewer.dnd.view.ViewSpecification.createView()

        @Override
        public void execute(final Workspace workspace, final View view, final Location at) {
            save(view);
            // by recreating the view the transient border is removed
            final ViewSpecification spec = view.getSpecification();
            final View newView = spec.createView(view.getContent(), view.getViewAxes(), -1);
            workspace.replaceView(view, newView);
        }
    }

    private static Consent canSave(final View view) {
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.ViewSpecification.createView()

        }
        // TODO this should be passed in so that factory created views can be
        // related to the views that ask
        // for them
        final Axes axes = new Axes();
        View createView = spec.createView(content, axes, -1);

        /*
         * ObjectSpecification contentSpecification =
         * content.getSpecification(); if (contentSpecification != null) {
         * Options viewOptions = Properties.getViewConfigurationOptions(spec);
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.ViewSpecification.createView()

                        Content content = view.getContent();
                        if (!(content instanceof FieldContent)) {
                            content = Toolkit.getContentFactory().createRootContent(content.getAdapter());
                        }
                        final View newView = newSpec.createView(content, view.getViewAxes(), -1);
                        LOG.debug("open view " + newView);
                        workspace.addWindow(newView, new Placement(view));
                        workspace.markDamaged();

                        Options viewOptions = Properties.getViewConfigurationOptions(newSpec);
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.ViewSpecification.createView()

        if (fieldContent.isCollection()) {
            internalSpecification = new SimpleListSpecification();
        } else {
            internalSpecification = new InternalFormSpecification();
        }
        addView(internalSpecification.createView(fieldContent, new Axes(), 0));
    }
}
View Full Code Here

Examples of org.apache.isis.viewer.dnd.viewer.basic.RootWorkspaceSpecification.createView()

        // resolveApplicationContextCollection(rootObject, "objects");
        final RootWorkspaceSpecification spec = new RootWorkspaceSpecification();
        final PerspectiveContent content = new PerspectiveContent(userProfiler.getPerspective());
        if (spec.canDisplay(new ViewRequirement(content, ViewRequirement.CLOSED))) {
            // View view = spec.createView(new RootObject(rootObject), null);
            final View view = spec.createView(content, new Axes(), -1);
            viewer.setRootView(view);
        } else {
            throw new IsisException();
        }
View Full Code Here

Examples of org.apache.myfaces.trinidad.render.InternalView.createView()

    _initIfNeeded(context);

    InternalView internal = _getInternalView(context, viewId);
    if (internal != null)
    {
      UIViewRoot root = internal.createView(context, viewId);
      if (root != null)
        return root;
      // Otherwise, fall through to default processing
    }
    else if (_checkTimestamp(context))
View Full Code Here

Examples of org.apache.myfaces.trinidad.render.InternalView.createView()

    _initIfNeeded(context);

    InternalView internal = _getInternalView(context, viewId);
    if (internal != null)
    {
      UIViewRoot root = internal.createView(context, viewId);
      if (root != null)
        return root;
      // Otherwise, fall through to default processing
    }
    else if (_checkTimestamp(context))
View Full Code Here

Examples of org.apache.ws.jaxme.sqls.SelectStatement.createView()

        st.addResultColumn(ref.newColumnReference(aVorname));
        st.addResultColumn(ref.newColumnReference(aAktenId));
        BooleanConstraint bc = st.getWhere().createEQ();
        bc.addPart(st.getTableReference().newColumnReference(aFilter));
        bc.addPart(pFilter);
        Table t = st.createView((Table.Name) null);

        SelectStatement st2 = sqlFactory.newSelectStatement();
        st2.setTable(t);
        SelectTableReference ref2 = st2.getSelectTableReference();
        st2.addResultColumn(ref2.newColumnReference(t.getColumn("NUM")));
View Full Code Here

Examples of org.eclipse.jst.jsf.designtime.internal.view.IDTViewHandler.createView()

                    final String viewId = viewHandler.getViewId(
                            _facesContext, contextResource);

                    try
                    {
                        viewRoot = viewHandler.createView(_facesContext,
                                viewId);
                        if (viewRoot != null)
                        {
                            setCachedViewRoot(viewRoot);
                        }
View Full Code Here

Examples of org.eclipse.ui.views.IViewDescriptor.createView()

    try {
      IViewPart view = null;
      try {
        UIStats.start(UIStats.CREATE_PART, label);
        view = desc.createView();
      } finally {
        UIStats.end(UIStats.CREATE_PART, view, label);
      }

      if (view instanceof IWorkbenchPart3) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.