[jboss-cvs] jboss-seam-ide/src/org/jboss/seam/ide ...

Thomas Heute theute at jboss.com
Tue Aug 29 09:05:49 EDT 2006


  User: theute  
  Date: 06/08/29 09:05:49

  Modified:    src/org/jboss/seam/ide  Activator.java
  Log:
  re-formatted with headers
  
  Revision  Changes    Path
  1.2       +78 -49    jboss-seam-ide/src/org/jboss/seam/ide/Activator.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Activator.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam-ide/src/org/jboss/seam/ide/Activator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- Activator.java	15 Aug 2006 10:14:37 -0000	1.1
  +++ Activator.java	29 Aug 2006 13:05:49 -0000	1.2
  @@ -1,3 +1,24 @@
  +/*
  + * JBoss, Home of Professional Open Source
  + * Copyright 2005, JBoss Inc., and individual contributors as indicated
  + * by the @authors tag. See the copyright.txt in the distribution for a
  + * full listing of individual contributors.
  + *
  + * This is free software; you can redistribute it and/or modify it
  + * under the terms of the GNU Lesser General Public License as
  + * published by the Free Software Foundation; either version 2.1 of
  + * the License, or (at your option) any later version.
  + *
  + * This software is distributed in the hope that it will be useful,
  + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  + * Lesser General Public License for more details.
  + *
  + * You should have received a copy of the GNU Lesser General Public
  + * License along with this software; if not, write to the Free
  + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  + * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  + */
   package org.jboss.seam.ide;
   
   import org.eclipse.jface.resource.ImageDescriptor;
  @@ -6,8 +27,11 @@
   
   /**
    * The activator class controls the plug-in life cycle
  + * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
  + * @version <tt>$Revision: 1.2 $</tt>
    */
  -public class Activator extends AbstractUIPlugin {
  +public class Activator extends AbstractUIPlugin
  +{
   
   	// The plug-in ID
   	public static final String PLUGIN_ID = "jboss_seam_ide";
  @@ -18,7 +42,8 @@
   	/**
   	 * The constructor
   	 */
  -	public Activator() {
  +   public Activator()
  +   {
   		plugin = this;
   	}
   
  @@ -26,7 +51,8 @@
   	 * (non-Javadoc)
   	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
   	 */
  -	public void start(BundleContext context) throws Exception {
  +   public void start(BundleContext context) throws Exception
  +   {
   		super.start(context);
   	}
   
  @@ -34,7 +60,8 @@
   	 * (non-Javadoc)
   	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
   	 */
  -	public void stop(BundleContext context) throws Exception {
  +   public void stop(BundleContext context) throws Exception
  +   {
   		plugin = null;
   		super.stop(context);
   	}
  @@ -44,7 +71,8 @@
   	 *
   	 * @return the shared instance
   	 */
  -	public static Activator getDefault() {
  +   public static Activator getDefault()
  +   {
   		return plugin;
   	}
   
  @@ -55,7 +83,8 @@
   	 * @param path the path
   	 * @return the image descriptor
   	 */
  -	public static ImageDescriptor getImageDescriptor(String path) {
  +   public static ImageDescriptor getImageDescriptor(String path)
  +   {
   		return imageDescriptorFromPlugin(PLUGIN_ID, path);
   	}
   }
  
  
  



More information about the jboss-cvs-commits mailing list