Package org.eclipse.jst.pagedesigner.itemcreation

Examples of org.eclipse.jst.pagedesigner.itemcreation.CreationData


            }

            // TODO: note that the constructor currently causes the prefix defn
            // to be added to the target doc. This should be moved into
            // an ensure method in the AbstractTagCreator
            final CreationData creationData = new CreationData(
                    tagDropSourceData, model, domPosition, modelContext,
                    customizationData);

            final ITagCreator tagCreator = TagCreationFactory.getInstance()
                    .createTagCreator(creationData.getTagId());

            if (tagCreator == null)
            {
                return null;// should never get here!
            }
View Full Code Here


                    final ITaglibDomainMetaDataModelContext modelContext =
                        TaglibDomainMetaDataQueryHelper
                            .createMetaDataModelContext(fileForDocument.getProject(), child.getTagIdentifier().getUri());
//                        .createMetaDataModelContext(project, child.getTagIdentifier().getUri());
                    IDOMPosition domPosition = new DOMPosition(_element, childCount++);
                    CreationData creationData = new CreationData(creationProvider,_model, domPosition, modelContext, child);

                    ElementCustomizationCommand command = new UserCustomizedElementCustomizationCommand(_model, childNode, creationData);
                    command.execute();
                }
            }
View Full Code Here

            }

            // TODO: note that the constructor currently causes the prefix defn
            // to be added to the target doc. This should be moved into
            // an ensure method in the AbstractTagCreator
            final CreationData creationData = new CreationData(
                    tagDropSourceData, model, domPosition, modelContext,
                    customizationData);

            final ITagCreator tagCreator = TagCreationFactory.getInstance()
                    .createTagCreator(creationData.getTagId());

            if (tagCreator == null)
            {
                return null;// should never get here!
            }
View Full Code Here

//                    final ITaglibDomainMetaDataModelContext modelContext =
//                        TaglibDomainMetaDataQueryHelper
//                            .createMetaDataModelContext(fileForDocument.getProject(), child.getTagIdentifier().getUri());
//                        .createMetaDataModelContext(project, child.getTagIdentifier().getUri());
                    IDOMPosition domPosition = new DOMPosition(_element, childCount++);
                    CreationData creationData = new CreationData(creationProvider,_model, domPosition, modelContext, child);

                    ElementCustomizationCommand command = new UserCustomizedElementCustomizationCommand(_model, childNode, creationData);
                    command.execute();
                }
            }
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.itemcreation.CreationData

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.