ImogeneValidationPlugin.java :  » Framework » imogene » org » imogene » model » validation » Android Open Source

Android Open Source » Framework » imogene 
imogene » org » imogene » model » validation » ImogeneValidationPlugin.java
/**
 * 
 */

package org.imogene.model.validation;

import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;

/**
 * The main plugin class to be used in the desktop.
 */
public class ImogeneValidationPlugin extends AbstractUIPlugin {

  //The shared instance.
  private static ImogeneValidationPlugin plugin;

  /**
   * The constructor.
   */
  public ImogeneValidationPlugin() {
    super();
    plugin = this;
  }

  /**
   * This method is called upon plug-in activation
   */
  public void start(BundleContext context) throws Exception {
    super.start(context);
  }

  /**
   * This method is called when the plug-in is stopped
   */
  public void stop(BundleContext context) throws Exception {
    super.stop(context);
  }

  /**
   * Returns the shared instance.
   */
  public static ImogeneValidationPlugin getDefault() {
    return plugin;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.