Package org.eclipse.ui.editors.text.templates

Examples of org.eclipse.ui.editors.text.templates.ContributionContextTypeRegistry


        super.start( context );

        // ACI Template ContextType Registry initialization
        if ( aciTemplateContextTypeRegistry == null )
        {
            aciTemplateContextTypeRegistry = new ContributionContextTypeRegistry();

            aciTemplateContextTypeRegistry.addContextType( ACIITemConstants.ACI_ITEM_TEMPLATE_ID );
            aciTemplateContextTypeRegistry.getContextType( ACIITemConstants.ACI_ITEM_TEMPLATE_ID ).addResolver(
                new GlobalTemplateVariables.Cursor() );
        }
View Full Code Here


        valueEditorPreferences = new ValueEditorsPreferences();

        if ( filterTemplateContextTypeRegistry == null )
        {
            filterTemplateContextTypeRegistry = new ContributionContextTypeRegistry();
            filterTemplateContextTypeRegistry.addContextType( BrowserCommonConstants.FILTER_TEMPLATE_ID );
            filterTemplateContextTypeRegistry.getContextType( BrowserCommonConstants.FILTER_TEMPLATE_ID ).addResolver(
                new GlobalTemplateVariables.Cursor() );
        }
View Full Code Here

        super.start( context );

        // ACI Template ContextType Registry initialization
        if ( aciTemplateContextTypeRegistry == null )
        {
            aciTemplateContextTypeRegistry = new ContributionContextTypeRegistry();

            aciTemplateContextTypeRegistry.addContextType( ACIITemConstants.ACI_ITEM_TEMPLATE_ID );
            aciTemplateContextTypeRegistry.getContextType( ACIITemConstants.ACI_ITEM_TEMPLATE_ID ).addResolver(
                new GlobalTemplateVariables.Cursor() );
        }
View Full Code Here

        valueEditorPreferences = new ValueEditorsPreferences();

        if ( filterTemplateContextTypeRegistry == null )
        {
            filterTemplateContextTypeRegistry = new ContributionContextTypeRegistry();
            filterTemplateContextTypeRegistry.addContextType( BrowserCommonConstants.FILTER_TEMPLATE_ID );
            filterTemplateContextTypeRegistry.getContextType( BrowserCommonConstants.FILTER_TEMPLATE_ID ).addResolver(
                new GlobalTemplateVariables.Cursor() );
        }
View Full Code Here

   * @return the context type registry for this plug-in instance
   */
  public ContextTypeRegistry getContextTypeRegistry() {
    if (fRegistry == null) {
      // create an configure the contexts available in the template editor
      fRegistry = new ContributionContextTypeRegistry();
      fRegistry.addContextType(QVTContextType.QVT_CONTEXT_TYPE);
    }
    return fRegistry;
  }
View Full Code Here

   * @return the context type registry for this plug-in instance
   */
  public ContextTypeRegistry getContextTypeRegistry() {
    if (contextTypeRegistry == null) {
      // create an configure the contexts available in the template editor
      contextTypeRegistry= new ContributionContextTypeRegistry();

      contextTypeRegistry.addContextType( VhdlNewFileContext.CONTEXT_TYPE );
      contextTypeRegistry.addContextType( VerilogNewFileContext.CONTEXT_TYPE );
      contextTypeRegistry.addContextType(VhdlGlobalContext.CONTEXT_TYPE);
      contextTypeRegistry.addContextType(VerilogInStatementContextType.CONTEXT_TYPE);
View Full Code Here

    return fStore;
  }

  public ContextTypeRegistry getContextTypeRegistry(){
    if (fRegistry == null){
      fRegistry = new ContributionContextTypeRegistry();
      fRegistry.addContextType(HTMLContextType.CONTEXT_TYPE);
      fRegistry.addContextType(JavaScriptContextType.CONTEXT_TYPE);
    }
    return fRegistry;
  }
View Full Code Here

   * @return the context type registry for this plug-in instance
   */
  public ContributionContextTypeRegistry getContextTypeRegistry() {
    if (fRegistry == null) {
      // create an configure the contexts available in the template editor
      fRegistry= new ContributionContextTypeRegistry();
    }
    return fRegistry;
  }
View Full Code Here

    public DomainObjectCompltnProplComputer() {
        super(
            new GenericTemplCompltnProcessor(
                DomainObjectTemplCntxtType.ID));
        ContributionContextTypeRegistry contextTypeRegistry =
            GenericTemplateRegistry.getDefault().getContextTypeRegistry();
        contextTypeRegistry.addContextType(DomainObjectTemplCntxtType.ID);
    }
View Full Code Here

    public ServiceCompltnProplComputer() {
        super(
                new GenericTemplCompltnProcessor(
                    ServiceTemplCntxtType.ID));
           
        ContributionContextTypeRegistry contextTypeRegistry =
            GenericTemplateRegistry.getDefault().getContextTypeRegistry();
        contextTypeRegistry.addContextType(ServiceTemplCntxtType.ID);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.editors.text.templates.ContributionContextTypeRegistry

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.