Package com.dragome.model.interfaces

Examples of com.dragome.model.interfaces.VisualPanel


          }
        });

        String alias= requestUrlActivityMapper.getActivityAlias(visualActivity);

        VisualPanel rowPanel= new VisualPanelImpl(aRowTemplate.get(0));
        rowPanel.addChild(new VisualLabelImpl<String>("classname", visualActivity.getName()));
        String href= requestURL2 + (alias.length() == 0 ? visualActivity.getSimpleName() : alias);
        VisualLink link2= new VisualLinkImpl("link", href, href);
        rowPanel.addChild(link2);
        rowPanel.addChild(new VisualLabelImpl<String>("alias", alias));
        rowPanel.addChild(link);
      }
    });
  }
View Full Code Here


  private void setupComponent()
  {
    component.setName(template.getName());
    if (component instanceof VisualPanel)
    {
      VisualPanel visualPanel= (VisualPanel) component;
      if (!(visualPanel.getLayout() instanceof TemplateLayout) || ((TemplateLayout) visualPanel.getLayout()).getTemplate() == null)
        visualPanel.initLayout(new TemplateLayout(template));
    }
  }
View Full Code Here

TOP

Related Classes of com.dragome.model.interfaces.VisualPanel

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.