[jboss-cvs] jbosside/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans ...

Robert Stryker rawblem at gmail.com
Thu Nov 16 17:45:30 EST 2006


  User: rawb    
  Date: 06/11/16 17:45:30

  Added:       as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans   
                        Activator.java Messages.java Messages.properties
  Log:
  Initial Revision
  
  Revision  Changes    Path
  1.1      date: 2006/11/16 22:45:30;  author: rawb;  state: Exp;jbosside/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Activator.java
  
  Index: Activator.java
  ===================================================================
  package org.jboss.ide.eclipse.as.ui.mbeans;
  
  import org.eclipse.ui.plugin.AbstractUIPlugin;
  import org.osgi.framework.BundleContext;
  
  /**
   * The activator class controls the plug-in life cycle
   */
  public class Activator extends AbstractUIPlugin {
  
  	// The plug-in ID
  	public static final String PLUGIN_ID = "org.jboss.ide.eclipse.as.ui.mbeans";
  
  	// The shared instance
  	private static Activator plugin;
  	
  	/**
  	 * The constructor
  	 */
  	public Activator() {
  		plugin = this;
  	}
  
  	/*
  	 * (non-Javadoc)
  	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
  	 */
  	public void start(BundleContext context) throws Exception {
  		super.start(context);
  	}
  
  	/*
  	 * (non-Javadoc)
  	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
  	 */
  	public void stop(BundleContext context) throws Exception {
  		plugin = null;
  		super.stop(context);
  	}
  
  	/**
  	 * Returns the shared instance
  	 *
  	 * @return the shared instance
  	 */
  	public static Activator getDefault() {
  		return plugin;
  	}
  
  }
  
  
  
  1.1      date: 2006/11/16 22:45:30;  author: rawb;  state: Exp;jbosside/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.java
  
  Index: Messages.java
  ===================================================================
  /*
   * JBoss, Home of Professional Open Source
   * Copyright 2006, 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.ide.eclipse.as.ui.mbeans;
  
  import org.eclipse.osgi.util.NLS;
  
  public class Messages {
  	
  	/* XML service editor */
  	public static String ServiceXMLAddAttributeTags;
  	
  	
  	/* MBean Wizard */
  
  	public static String NewMBeanInterface;
  	public static String NewMBeanInterfaceDesc;
  	public static String NewMBeanName;
  	public static String NewMBeanInterfaceName;
  	public static String NewMBeanClass;
  	public static String MBeanClassDescription;
  	public static String MBeanServiceXML;
  	
  	
  	static {
  		NLS.initializeMessages(Activator.PLUGIN_ID + ".Messages", Messages.class);
  	}
  }
  
  
  
  1.1      date: 2006/11/16 22:45:30;  author: rawb;  state: Exp;jbosside/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.properties
  
  Index: Messages.properties
  ===================================================================
  
  #Mbean wizard
  NewMBeanInterface=New MBean Interface
  NewMBeanInterfaceDesc=Create the interface for the MBean
  NewMBeanName=MBean Name
  NewMBeanInterfaceName=Interface Name
  NewMBeanClass=New MBean Class
  MBeanClassDescription=Create the concrete MBean Class
  MBeanServiceXML=Create -service.xml file?
  
  # service xml
  ServiceXMLAddAttributeTags=Add missing attribute tags
  
  
  



More information about the jboss-cvs-commits mailing list