Examples of Visible


Examples of org.exoplatform.portal.mop.Visible

            //
            Described described = sourceNav.adapt(Described.class);
            described.setName(state.getLabel());

            //
            Visible visible = sourceNav.adapt(Visible.class);
            visible.setVisibility(state.getVisibility());

            //
            visible.setStartPublicationDate(state.getStartPublicationDate());
            visible.setEndPublicationDate(state.getEndPublicationDate());

            //
            Attributes attrs = sourceNav.getAttributes();
            attrs.setValue(MappedAttributes.ICON, state.getIcon());
View Full Code Here

Examples of org.exoplatform.portal.mop.Visible

         //
         Described described = sourceNav.adapt(Described.class);
         described.setName(state.getLabel());

         //
         Visible visible = sourceNav.adapt(Visible.class);
         visible.setVisibility(state.getVisibility());

         //
         visible.setStartPublicationDate(state.getStartPublicationDate());
         visible.setEndPublicationDate(state.getEndPublicationDate());

         //
         Attributes attrs = sourceNav.getAttributes();
         attrs.setValue(MappedAttributes.ICON, state.getIcon());
View Full Code Here

Examples of org.exoplatform.portal.mop.Visible

      Visibility visibility = Visibility.DISPLAYED;
      Date startPublicationDate = null;
      Date endPublicationDate = null;
      if (navigation.isAdapted(Visible.class))
      {
         Visible visible = navigation.adapt(Visible.class);
         visibility = visible.getVisibility();
         startPublicationDate = visible.getStartPublicationDate();
         endPublicationDate = visible.getEndPublicationDate();
      }

      //
      String pageRef = null;
      Link link = navigation.getLink();
View Full Code Here

Examples of org.mizartools.dli.Visible

  static Visible getVisible(org.mizartools.system.xml.Visible visible) throws DliException {
    LinkedList<Integer> integerList = new LinkedList<Integer>();
    for (org.mizartools.system.xml.Int int1 : visible.getIntList()){
      integerList.add(int1.getX());
    }
    Visible visibleDli = new Visible(integerList);
    return visibleDli;
  }
View Full Code Here

Examples of org.mizartools.dli.Visible

      org.mizartools.system.xml.Essentials essentials) throws DliException {
    LinkedList<Integer> integerList = new LinkedList<Integer>();
    for (org.mizartools.system.xml.Int int1 : essentials.getIntList()){
      integerList.add(int1.getX());
    }
    Visible visible = new Visible(integerList);
    return visible;
  }
View Full Code Here

Examples of org.mizartools.dli.Visible

    ItemType itemType = null;
    ItemDefinition itemDefinition = null;
    SymbolId symbolId1 = Adapter.getSymbolId1(pattern);
    Loci loci = Adapter.getLoci(abstractSignature, pattern.getArgTypes());
    Format format = Adapter.getFormat(pattern.getFormat());
    Visible visible = Adapter.getVisible(pattern.getVisible());
    Constructor constructor = Adapter.getConstructor(abstractSignature, pattern);
    Synonym synonym = null;
    Antonym antonym = null;
    org.mizartools.system.xml.Pattern.Kind kind = pattern.getKind();
    switch (kind) {
View Full Code Here

Examples of org.mizartools.dli.Visible

  throws DliException {
    ArticleId articleId = new ArticleId(definiens.getAid());
    ItemDefinition itemDefinition = null;
    Definiendum definiendum = new Definiendum(Adapter.getItemId(abstractSignature, definiens.getConstrkind(), definiens.getConstrnr()));
    Loci loci = Adapter.getLoci(abstractSignature, definiens.getTypList());
    Visible visible = Adapter.getVisible(definiens.getEssentials());
    Assumptions assumptions = null;
    if (definiens.getFormula() == null) {
      assumptions = new Assumptions(new Verum())
    } else {
      assumptions = new Assumptions(Adapter.getFormula(abstractSignature, definiens.getFormula(), new VariableId()))
View Full Code Here

Examples of org.mizartools.dli.Visible

  static Visible getVisible(org.mizartools.system.xml.Visible visible) throws DliException {
    LinkedList<Integer> integerList = new LinkedList<Integer>();
    for (org.mizartools.system.xml.Int int1 : visible.getIntList()){
      integerList.add(int1.getX());
    }
    Visible visibleDli = new Visible(integerList);
    return visibleDli;
  }
View Full Code Here

Examples of org.mizartools.dli.Visible

      org.mizartools.system.xml.Essentials essentials) throws DliException {
    LinkedList<Integer> integerList = new LinkedList<Integer>();
    for (org.mizartools.system.xml.Int int1 : essentials.getIntList()){
      integerList.add(int1.getX());
    }
    Visible visible = new Visible(integerList);
    return visible;
  }
View Full Code Here

Examples of rocks.xmpp.extensions.invisible.model.Visible

    }

    @Test
    public void unmarshalVisible() throws JAXBException, XMLStreamException {
        String xml = "<visible xmlns='urn:xmpp:invisible:0'/>";
        Visible visible = unmarshal(xml, Visible.class);
        Assert.assertNotNull(visible);
    }
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.