Example usage for com.vaadin.ui Embedded Embedded

List of usage examples for com.vaadin.ui Embedded Embedded

Introduction

In this page you can find the example usage for com.vaadin.ui Embedded Embedded.

Prototype

public Embedded() 

Source Link

Document

Creates a new empty Embedded object.

Usage

From source file:eu.lod2.LODCloud.java

License:Apache License

public LODCloud(LOD2DemoState st) {

    // The internal state 
    state = st;/*from   ww w .ja  v  a 2  s  . c om*/

    Embedded browser = new Embedded();
    try {
        URL url = new URL("http://lod.openlinksw.com");
        browser = new Embedded("", new ExternalResource(url));
        browser.setType(Embedded.TYPE_BROWSER);
        browser.setSizeFull();
        //panel.addComponent(browser);
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }
    ;

    // The composition root MUST be set
    setCompositionRoot(browser);
}

From source file:eu.lod2.Lodrefine.java

License:Apache License

public Lodrefine(LOD2DemoState st) {

    // The internal state 
    state = st;// ww  w  .  ja va 2 s .c  o  m

    initLogin();

    Embedded browser = new Embedded();
    try {
        URL url = new URL(service);
        browser = new Embedded("", new ExternalResource(url));
        browser.setType(Embedded.TYPE_BROWSER);
        browser.setSizeFull();
        //panel.addComponent(browser);
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }
    ;

    // The composition root MUST be set
    setCompositionRoot(browser);
}

From source file:eu.lod2.MondecaSPARQLList.java

License:Apache License

public MondecaSPARQLList(LOD2DemoState st) {

    // The internal state 
    state = st;//from w w  w  .  j av  a  2 s  . c o m

    Embedded browser = new Embedded();
    try {
        URL url = new URL("http://sparqles.okfn.org/");
        browser = new Embedded("", new ExternalResource(url));
        browser.setType(Embedded.TYPE_BROWSER);
        browser.setSizeFull();
        //panel.addComponent(browser);
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }
    ;

    // The composition root MUST be set
    setCompositionRoot(browser);
}

From source file:eu.lod2.OnlinePoolParty.java

License:Apache License

public OnlinePoolParty(LOD2DemoState st) {

    // The internal state 
    state = st;//from  w  w w.j ava  2  s  .c  om

    Embedded browser = new Embedded();
    try {
        URL url = new URL("http://lod2.poolparty.biz/PoolParty");
        browser = new Embedded("", new ExternalResource(url));
        browser.setType(Embedded.TYPE_BROWSER);
        browser.setSizeFull();
        //panel.addComponent(browser);
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }
    ;

    // The composition root MUST be set
    setCompositionRoot(browser);
}

From source file:eu.lod2.OntoWiki.java

License:Apache License

public OntoWiki(LOD2DemoState st) {

    // The internal state 
    state = st;/*from www .j  a  va 2  s  .  co m*/
    initLogin();
    activateCurrentGraph();

    Embedded browser = new Embedded();
    try {
        URL url = new URL(service + "/");
        browser = new Embedded("", new ExternalResource(url));
        browser.setType(Embedded.TYPE_BROWSER);
        browser.setSizeFull();
        //panel.addComponent(browser);
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }
    ;

    // The composition root MUST be set
    setCompositionRoot(browser);
}

From source file:eu.lod2.ORE.java

License:Apache License

public ORE(LOD2DemoState st) {

    // The internal state 
    state = st;/*from ww  w  . j av  a2 s .c  om*/

    Embedded browser = new Embedded();
    try {
        URL url = new URL(state.getHostName() + "/ore/app/Application.html");
        browser = new Embedded("", new ExternalResource(url));
        browser.setType(Embedded.TYPE_BROWSER);
        browser.setSizeFull();
        //panel.addComponent(browser);
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }
    ;

    // The composition root MUST be set
    setCompositionRoot(browser);
}

From source file:eu.lod2.SameAs.java

License:Apache License

public SameAs(LOD2DemoState st) {

    // The internal state 
    state = st;//from ww w  . j  av a 2  s  . c o  m

    Embedded browser = new Embedded();
    try {
        URL url = new URL("http://sameas.org");
        browser = new Embedded("", new ExternalResource(url));
        browser.setType(Embedded.TYPE_BROWSER);
        browser.setSizeFull();
        //panel.addComponent(browser);
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }
    ;

    // The composition root MUST be set
    setCompositionRoot(browser);
}

From source file:eu.lod2.Sigma.java

License:Apache License

public Sigma(LOD2DemoState st) {

    // The internal state 
    state = st;/*from ww  w.ja  v  a  2 s  .  co m*/

    Embedded browser = new Embedded();
    try {
        URL url = new URL(state.getHostName() + "/sigmaee");

        browser = new Embedded("", new ExternalResource(url));
        browser.setType(Embedded.TYPE_BROWSER);
        browser.setSizeFull();
        //panel.addComponent(browser);
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }
    ;

    // The composition root MUST be set
    setCompositionRoot(browser);
}

From source file:eu.lod2.Siren.java

License:Apache License

public Siren(LOD2DemoState st) {

    // The internal state
    state = st;//from ww w  .  j a  v a  2 s  .c o m

    Embedded browser = new Embedded();
    try {

        URL url = new URL(state.getHostName(false) + ":8080/siren");

        browser = new Embedded("", new ExternalResource(url));
        browser.setType(Embedded.TYPE_BROWSER);
        browser.setSizeFull();
        //panel.addComponent(browser);
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }

    // The composition root MUST be set
    setCompositionRoot(browser);
}

From source file:eu.lod2.SPARQLPoolParty.java

License:Apache License

public SPARQLPoolParty(LOD2DemoState st) {

    // The internal state 
    state = st;//from  ww  w . j av  a2  s.  co  m

    Embedded browser = new Embedded();
    try {
        URL url = new URL("http://prod.poolparty.punkt.at/PoolParty/sparql/semweb");
        browser = new Embedded("", new ExternalResource(url));
        browser.setType(Embedded.TYPE_BROWSER);
        browser.setSizeFull();
        //panel.addComponent(browser);
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }
    ;

    // The composition root MUST be set
    setCompositionRoot(browser);
}