Changeset 1239

Show
Ignore:
Timestamp:
11/06/07 19:18:23 (1 year ago)
Author:
nozawa
Message:

refactor Activator name;

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • org.jalcedo.generator/trunk/org.jalcedo.generator.editor.templates/META-INF/MANIFEST.MF

    r1229 r1239  
    2020 org.eclipse.jdt.ui 
    2121Eclipse-LazyStart: true 
    22 Bundle-Activator: org.jalcedo.generator.editor.internal.Activator 
     22Bundle-Activator: org.jalcedo.generator.editor.internal.EditorGeneratorUIPlugin 
  • org.jalcedo.generator/trunk/org.jalcedo.generator.editor.templates/src/org/jalcedo/generator/editor/internal/EditorGeneratorUIPlugin.java

    r1229 r1239  
    1 /** 
    2  *  
    3  */ 
     1/******************************************************************************* 
     2 * Copyright (c) 2007 NEC Soft, Ltd. 
     3 * All rights reserved. This program and the accompanying materials 
     4 * are made available under the terms of the Eclipse Public License v1.0 
     5 * which accompanies this distribution, and is available at 
     6 * http://www.eclipse.org/legal/epl-v10.html 
     7 * 
     8 * Contributors: 
     9 *     NEC Soft, Ltd.- initial API and implementation 
     10 *******************************************************************************/ 
     11 
    412package org.jalcedo.generator.editor.internal; 
    513 
     
    1119 *  
    1220 */ 
    13 public class Activator extends AbstractUIPlugin { 
     21public class EditorGeneratorUIPlugin extends AbstractUIPlugin { 
    1422    // The plug-in ID 
    1523    public static final String PLUGIN_ID = "org.jalcedo.generator.editor"; 
    1624 
    1725    // The shared instance 
    18     private static Activator plugin; 
     26    private static EditorGeneratorUIPlugin plugin; 
    1927 
    2028    /** 
    2129     *  
    2230     */ 
    23     public Activator() { 
     31    public EditorGeneratorUIPlugin() { 
    2432 
    2533    } 
     
    5058     * @return the shared instance 
    5159     */ 
    52     public static Activator getDefault() { 
     60    public static EditorGeneratorUIPlugin getDefault() { 
    5361        return plugin; 
    5462    } 
  • org.jalcedo.generator/trunk/org.jalcedo.generator.editor.templates/src/org/jalcedo/generator/editor/internal/MasterViewAndDetailEditorWizard.java

    r1229 r1239  
    174174 
    175175        try { 
    176             in = Activator.getDefault().getBundle().getEntry(EDITOR_ICON_PATH) 
     176            in = EditorGeneratorUIPlugin.getDefault().getBundle().getEntry(EDITOR_ICON_PATH) 
    177177                    .openConnection().getInputStream(); 
    178178            file.create(in, true, null);