Examples of Navigator


Examples of com.aicontest.visualizer.js.dom.Navigator

    global.put("Image", global, image);
    Object xmlHttpRequest = new NativeJavaClass(global,
        XMLHttpRequest.class);
    global.put("XMLHttpRequest", global, xmlHttpRequest);
    new Console(global, "console");
    new Navigator(global, "navigator");
    jsonParser = new JsonParser(cx, global);
    String[] names = { "alert", "prompt", "confirm" };
    global.defineFunctionProperties(names, WebWrapper.class,
        ScriptableObject.DONTENUM);
  }
View Full Code Here

Examples of com.eviware.soapui.ui.Navigator

    // display used java version
    log.info( "Used java version: " + System.getProperty( "java.version" ) );
    frame.addWindowListener( new MainFrameWindowListener() );
    UISupport.setMainFrame( frame );

    navigator = new Navigator( workspace );
    navigator.addNavigatorListener( new InternalNavigatorListener() );

    desktopPanelsList = new JDesktopPanelsList( desktop );

    mainInspector = JInspectorPanelFactory.build( buildContentPanel(), SwingConstants.LEFT );
View Full Code Here

Examples of com.sun.xml.bind.v2.model.nav.Navigator

/*     */       else {
/* 143 */         ann = null;
/*     */       }
/*     */     }
/* 146 */     if (ann != null) {
/* 147 */       Navigator nav = nav();
/* 148 */       AnnotationReader reader = reader();
/*     */
/* 150 */       Object defaultType = nav.ref(XmlElementRef.DEFAULT.class);
/* 151 */       Object je = nav.asDecl(JAXBElement.class);
/*     */
/* 153 */       for (XmlElementRef r : ann)
/*     */       {
/* 155 */         Object type = reader.getClassValue(r, "type");
/* 156 */         if (type.equals(defaultType)) type = nav.erasure(getIndividualType());
/*     */         boolean yield;
/*     */         boolean yield;
/* 157 */         if (nav.getBaseClass(type, je) != null)
/* 158 */           yield = addGenericElement(r);
/*     */         else {
/* 160 */           yield = addAllSubtypes(type);
/*     */         }
/* 162 */         if ((!last) || (yield)) {
/*     */           continue;
/*     */         }
/* 165 */         if (type.equals(nav.ref(JAXBElement.class)))
/*     */         {
/* 167 */           this.parent.builder.reportError(new IllegalAnnotationException(Messages.NO_XML_ELEMENT_DECL.format(new Object[] { getEffectiveNamespaceFor(r), r.name() }), this));
/*     */         }
/*     */         else
/*     */         {
View Full Code Here

Examples of com.vaadin.navigator.Navigator

    @Autowired
    ErrorView errorView;

    @Override
    protected void init(VaadinRequest vaadinRequest) {
        Navigator navigator = new Navigator(this, this);
        navigator.setErrorView(errorView);
        navigator.addProvider(viewProvider);
        setNavigator(navigator);
    }
View Full Code Here

Examples of com.vaadin.navigator.Navigator

        setExpandRatio(viewContainer, 1f);
    }

    @Override
    public void attach() {
        final Navigator navigator = new Navigator(getUI(), viewContainer);
        navigator.addProvider(viewProvider);
        navigator.setErrorView(errorView);
    }
View Full Code Here

Examples of com.vaadin.navigator.Navigator

        final HorizontalSplitPanel rootLayout = new HorizontalSplitPanel();
        rootLayout.setStyleName(Reindeer.SPLITPANEL_SMALL);
        rootLayout.setSizeFull();
        setContent(rootLayout);

        final Navigator navigator = new Navigator(this, new ViewDisplay() {
            @Override
            public void showView(View view) {
                System.out.println("Showing view " + view);
                rootLayout.setSecondComponent((com.vaadin.ui.Component) view);
            }
        });
        navigator.setErrorView(new ErrorView());
        navigator.addProvider(viewProvider);
        setNavigator(navigator);

        rootLayout.setFirstComponent(sideBar);
        rootLayout.setSplitPosition(150, Unit.PIXELS);
    }
View Full Code Here

Examples of com.vaadin.navigator.Navigator

        setContent(root);
        root.setWidth("100%");

        root.addMenu(buildMenu());

        navigator = new Navigator(this, viewDisplay);

        navigator.addView("common", CommonParts.class);
        navigator.addView("labels", Labels.class);
        navigator.addView("buttons-and-links", ButtonsAndLinks.class);
        navigator.addView("textfields", TextFields.class);
View Full Code Here

Examples of com.vaadin.navigator.Navigator

    }

    @Override
    protected void setup(VaadinRequest request) {
        Layout navigatorLayout = new VerticalLayout();
        navigator = new Navigator(this, navigatorLayout);

        addComponent(navigatorLayout);

        navigator.addView(DEFAULT_VIEW_ID, new DefaultView());
View Full Code Here

Examples of com.vaadin.navigator.Navigator

    }

    public void testListener() {
        // create mocks
        IMocksControl control = EasyMock.createControl();
        Navigator navigator = control.createMock(Navigator.class);
        Page page = control.createMock(Page.class);

        UriFragmentManager manager = new UriFragmentManager(page);
        manager.setNavigator(navigator);

        EasyMock.expect(page.getUriFragment()).andReturn("!test");
        navigator.navigateTo("test");
        control.replay();

        UriFragmentChangedEvent event = new UriFragmentChangedEvent(page,
                "oldtest");
        manager.uriFragmentChanged(event);
View Full Code Here

Examples of com.vaadin.navigator.Navigator

        /*
         * Create a new instance of the navigator. The navigator will attach
         * itself automatically to this view.
         */
        new Navigator(this, this);

        /*
         * The initial log view where the user can login to the application
         */
        getNavigator().addView(SimpleLoginView.NAME, SimpleLoginView.class);
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.