Package melnorme.lang.ide.ui

Source Code of melnorme.lang.ide.ui.LangUIPlugin_Actual

package melnorme.lang.ide.ui;

import java.util.List;

import melnorme.lang.ide.ui.editor.ILangEditorTextHover;

import org.eclipse.jface.text.source.ISourceViewer;

import com.googlecode.goclipse.editors.TextHover;
import com.googlecode.goclipse.ui.GoPluginImages;
import com.googlecode.goclipse.ui.editor.text.GoAutoEditStrategy;

/**
* Actual/concrete IDE constants and other bindings, for Lang UI code.
*/
public final class LangUIPlugin_Actual {
 
  public static final String PLUGIN_ID = "com.googlecode.goclipse.ui";
 
  public static final String EDITOR_CONTEXT = "#GoEditorContext";
  public static final String RULER_CONTEXT = "#GoEditorRulerContext";
 
  // ID to start the debug plugin automatically, if present
  protected static final String DEBUG_PLUGIN_ID = "com.googlecode.goclipse.debug";
 
  protected static final Class<?> PLUGIN_IMAGES_CLASS = GoPluginImages.class;
 
  protected static void initTextHovers(List<Class<? extends ILangEditorTextHover<?>>> textHoverSpecifications) {
    textHoverSpecifications.add(TextHover.class);
  }
 
  public static GoAutoEditStrategy createAutoEditStrategy(ISourceViewer sourceViewer, String contentType) {
    return new GoAutoEditStrategy(contentType, sourceViewer);
  }
 
  public static final String DAEMON_TOOL_ConsoleName = "Oracle/gocode log";
 
}
TOP

Related Classes of melnorme.lang.ide.ui.LangUIPlugin_Actual

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.