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

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


        }

        // ACI Template Store initialization
        if ( aciTemplateStore == null )
        {
            aciTemplateStore = new ContributionTemplateStore( getAciTemplateContextTypeRegistry(),
                getPreferenceStore(), "templates" ); //$NON-NLS-1$
            try
            {
                aciTemplateStore.load();
            }
View Full Code Here


                new GlobalTemplateVariables.Cursor() );
        }

        if ( filterTemplateStore == null )
        {
            filterTemplateStore = new ContributionTemplateStore( getFilterTemplateContextTypeRegistry(),
                getPreferenceStore(), "templates" ); //$NON-NLS-1$
            try
            {
                filterTemplateStore.load();
            }
View Full Code Here

   *
   * @return the template store of this plug-in instance
   */
  public TemplateStore getTemplateStore() {
    if (fStore == null) {
      fStore = new ContributionTemplateStore(getContextTypeRegistry(),
          getPreferenceStore(), CUSTOM_TEMPLATES_KEY);
      try {
        fStore.load();
      } catch (IOException e) {
        UiPlugin.getDefault().getLogger().log(
View Full Code Here

   *
   * @return the template store of this plug-in instance
   */
  public TemplateStore getTemplateStore() {
    if (templateStore == null) {
      templateStore= new ContributionTemplateStore(getContextTypeRegistry(), getPlugin().getPreferenceStore(), CUSTTOM_TEMPLATES_PREFERENCE_NAME);
      try {
        templateStore.load();
      } catch (IOException e) {
        getPlugin().getLog().log(new Status(IStatus.ERROR, "net.sourceforge.veditor", IStatus.OK, "", e)); //$NON-NLS-1$ //$NON-NLS-2$
      }
View Full Code Here

    return instance;
  }
 
  public TemplateStore getTemplateStore(){
    if (fStore == null){
      fStore = new ContributionTemplateStore(getContextTypeRegistry(),
          HTMLPlugin.getDefault().getPreferenceStore(), CUSTOM_TEMPLATES_KEY);
      try {
        fStore.load();
      } catch (IOException e){
        HTMLPlugin.logException(e);
View Full Code Here

   *
   * @return the template store of this plug-in instance
   */
  public TemplateStore getTemplateStore() {
    if (fStore == null) {
      fStore= new ContributionTemplateStore(
                getContextTypeRegistry(),
                Activator.getDefault().getPreferenceStore(), getKey());
      try {
        fStore.load();
      } catch (IOException e) {
View Full Code Here

            ldifTemplateContextTypeRegistry.addContextType( LdifEditorConstants.LDIF_MODDN_RECORD_TEMPLATE_ID );
        }

        if ( ldifTemplateStore == null )
        {
            ldifTemplateStore = new ContributionTemplateStore( getLdifTemplateContextTypeRegistry(),
                getPreferenceStore(), "templates" );
            try
            {
                ldifTemplateStore.load();
            }
View Full Code Here

                new GlobalTemplateVariables.Cursor() );
        }

        if ( filterTemplateStore == null )
        {
            filterTemplateStore = new ContributionTemplateStore( getFilterTemplateContextTypeRegistry(),
                getPreferenceStore(), "templates" );
            try
            {
                filterTemplateStore.load();
            }
View Full Code Here

        }

        // ACI Template Store initialization
        if ( aciTemplateStore == null )
        {
            aciTemplateStore = new ContributionTemplateStore( getAciTemplateContextTypeRegistry(),
                getPreferenceStore(), "templates" ); //$NON-NLS-1$
            try
            {
                aciTemplateStore.load();
            }
View Full Code Here

     *
     * @return the template store of this plug-in instance
     */
    public static TemplateStore getTemplateStore() {
        if (fStore == null) {
            fStore = new ContributionTemplateStore(TemplateHelper.getContextTypeRegistry(), PydevPlugin.getDefault()
                    .getPreferenceStore(), CUSTOM_TEMPLATES_PY_KEY);
            try {
                fStore.load();
            } catch (IOException e) {
                Log.log(e);
View Full Code Here

TOP

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

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.