Package org.eclipse.jst.pagedesigner.dtmanager

Examples of org.eclipse.jst.pagedesigner.dtmanager.IDTInfo


    protected void decorateFromDTInfo(DTTagConverter dtTagConverter,
            String tagDecorateInfoID)
    {
        Element srcElement = dtTagConverter.getHostElement();
        DTManager dtManager = DTManager.getInstance();
        IDTInfo dtInfo = dtManager.getDTInfo(srcElement);
        if (dtInfo != null)
        {
            TagDecorateInfo tdInfo = dtInfo
                    .getTagDecorateInfo(tagDecorateInfoID);
            if (tdInfo != null)
            {
                dtTagConverter.setMultiLevel(tdInfo.isMultiLevel());
                dtTagConverter.setNeedBorderDecorator(tdInfo
View Full Code Here


   * (non-Javadoc)
   * @see org.eclipse.jst.pagedesigner.converter.IConverterFactory#createConverter(org.w3c.dom.Element, int)
   */
  public ITagConverter createConverter(Element element, int mode) {
    ITagConverter tagConverter = null;
    IDTInfo dtInfo = DTManager.getInstance().getDTInfo(element);
    if (dtInfo != null) {
      tagConverter = new DTTagConverter(element);
      tagConverter.setMode(mode);
    }
    return tagConverter;
View Full Code Here

   * @return Configured ITransformer instance for the specified Element.
   */
  protected ITransformer createTransformerFromDTInfo(Element element) {
    ITransformer transformer = null;
    DTManager dtManager = DTManager.getInstance();
    IDTInfo dtInfo = dtManager.getDTInfo(element);
    if (dtInfo != null) {
      TagConvertInfo tcInfo = dtInfo.getTagConvertInfo();
      if (tcInfo != null) {
        transformer = new DefaultTransformer(tagConverterContext);
        EList operations = tcInfo.getOperations();
        if (!appendOperationsToTransformer(transformer, operations, dtInfo)) {
          transformer = null;
View Full Code Here

    protected void decorateFromDTInfo(DTTagConverter dtTagConverter,
            String tagDecorateInfoID)
    {
        Element srcElement = dtTagConverter.getHostElement();
        DTManager dtManager = DTManager.getInstance();
        IDTInfo dtInfo = dtManager.getDTInfo(srcElement);
        if (dtInfo != null)
        {
            TagDecorateInfo tdInfo = dtInfo
                    .getTagDecorateInfo(tagDecorateInfoID);
            if (tdInfo != null)
            {
                dtTagConverter.setMultiLevel(tdInfo.isMultiLevel());
                dtTagConverter.setNeedBorderDecorator(tdInfo
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.dtmanager.IDTInfo

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.