// Path: org.chromium.gnsupport.ui/src/org/chromium/gnsupport/ui/GnUiPlugin.java
// public class GnUiPlugin extends AbstractUIPlugin {
// 
//   // The plug-in ID
//   public static final String PLUGIN_ID = "org.chromium.gnsupport.ui"; //$NON-NLS-1$
// 
//   // The shared instance
//   private static GnUiPlugin plugin;
// 
//   private GnTextTools textTools;
// 
//   public GnUiPlugin() {}
// 
//   @Override
//   public void start(BundleContext context) throws Exception {
//     super.start(context);
//     plugin = this;
//   }
// 
//   @Override
//   public void stop(BundleContext context) throws Exception {
//     plugin = null;
//     super.stop(context);
//   }
// 
//   public static GnUiPlugin getDefault() {
//     return plugin;
//   }
// 
//   public static ImageDescriptor getImageDescriptor(String path) {
//     return imageDescriptorFromPlugin(PLUGIN_ID, path);
//   }
// 
//   public static void log(Exception e) {
//     if (DLTKCore.DEBUG) {
//       e.printStackTrace();
//     }
//     String message = e.getMessage();
//     if (message == null) {
//       message = "(no message)"; //$NON-NLS-1$
//     }
//     getDefault().getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, 0, message, e));
//   }
// 
//   public synchronized GnTextTools getTextTools() {
//     if (textTools == null) {
//       textTools = new GnTextTools(true);
//     }
//     return textTools;
//   }
// }


import org.eclipse.swt.graphics.Image;
import org.chromium.gnsupport.ui.GnUiPlugin;
import org.eclipse.dltk.ui.PreferenceConstants;
import org.eclipse.dltk.ui.text.completion.ScriptCompletionProposal;
import org.eclipse.jface.preference.IPreferenceStore;
/*
 * Copyright (c) 2014, The Chromium Authors
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 *    this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions and the following disclaimer in the documentation
 *    and/or other materials provided with the distribution.
 * 3. Neither the name of the copyright holder nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
package org.chromium.gnsupport.internal.ui.text.completion;


public class GnCompletionProposal extends ScriptCompletionProposal {
  public GnCompletionProposal(String replacementString, int replacementOffset,
      int replacementLength, Image image, String displayString, int relevance) {
    super(replacementString, replacementOffset, replacementLength, image, displayString, relevance);
  }

  public GnCompletionProposal(String replacementString, int replacementOffset,
      int replacementLength, Image image, String displayString, int relevance, boolean isInDoc) {
    super(
        replacementString, replacementOffset, replacementLength,
        image, displayString, relevance, isInDoc);
  }

// Path: org.chromium.gnsupport.ui/src/org/chromium/gnsupport/ui/GnUiPlugin.java
// public class GnUiPlugin extends AbstractUIPlugin {
// 
//   // The plug-in ID
//   public static final String PLUGIN_ID = "org.chromium.gnsupport.ui"; //$NON-NLS-1$
// 
//   // The shared instance
//   private static GnUiPlugin plugin;
// 
//   private GnTextTools textTools;
// 
//   public GnUiPlugin() {}
// 
//   @Override
//   public void start(BundleContext context) throws Exception {
//     super.start(context);
//     plugin = this;
//   }
// 
//   @Override
//   public void stop(BundleContext context) throws Exception {
//     plugin = null;
//     super.stop(context);
//   }
// 
//   public static GnUiPlugin getDefault() {
//     return plugin;
//   }
// 
//   public static ImageDescriptor getImageDescriptor(String path) {
//     return imageDescriptorFromPlugin(PLUGIN_ID, path);
//   }
// 
//   public static void log(Exception e) {
//     if (DLTKCore.DEBUG) {
//       e.printStackTrace();
//     }
//     String message = e.getMessage();
//     if (message == null) {
//       message = "(no message)"; //$NON-NLS-1$
//     }
//     getDefault().getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, 0, message, e));
//   }
// 
//   public synchronized GnTextTools getTextTools() {
//     if (textTools == null) {
//       textTools = new GnTextTools(true);
//     }
//     return textTools;
//   }
// }


// Path: org.chromium.gnsupport.ui/src/org/chromium/gnsupport/internal/ui/text/completion/GnCompletionProposal.java
import org.eclipse.swt.graphics.Image;
import org.chromium.gnsupport.ui.GnUiPlugin;
import org.eclipse.dltk.ui.PreferenceConstants;
import org.eclipse.dltk.ui.text.completion.ScriptCompletionProposal;
import org.eclipse.jface.preference.IPreferenceStore;

/*
 * Copyright (c) 2014, The Chromium Authors
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 *    this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions and the following disclaimer in the documentation
 *    and/or other materials provided with the distribution.
 * 3. Neither the name of the copyright holder nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
package org.chromium.gnsupport.internal.ui.text.completion;


public class GnCompletionProposal extends ScriptCompletionProposal {
  public GnCompletionProposal(String replacementString, int replacementOffset,
      int replacementLength, Image image, String displayString, int relevance) {
    super(replacementString, replacementOffset, replacementLength, image, displayString, relevance);
  }

  public GnCompletionProposal(String replacementString, int replacementOffset,
      int replacementLength, Image image, String displayString, int relevance, boolean isInDoc) {
    super(
        replacementString, replacementOffset, replacementLength,
        image, displayString, relevance, isInDoc);
  }

  @Override