org.eclipse.mylar.internal.java.ui
Class JavaUiUtil

java.lang.Object
  extended by org.eclipse.mylar.internal.java.ui.JavaUiUtil

public class JavaUiUtil
extends java.lang.Object

Author:
Mik Kersten

Field Summary
static java.lang.String ASSIST_JDT_NOTYPE
           
static java.lang.String ASSIST_JDT_TEMPLATE
           
static java.lang.String ASSIST_JDT_TYPE
           
static java.lang.String ASSIST_MYLAR_NOTYPE
           
static java.lang.String ASSIST_MYLAR_TEMPLATE
           
static java.lang.String ASSIST_MYLAR_TYPE
           
private static java.lang.String SEPARATOR_CODEASSIST
           
private static org.eclipse.swt.graphics.Point SMALL_SIZE
           
 
Constructor Summary
JavaUiUtil()
           
 
Method Summary
static void closeActiveEditors(boolean javaOnly)
           
static org.eclipse.jface.resource.ImageDescriptor decorate(org.eclipse.jface.resource.ImageDescriptor base, int decorations)
           
static java.lang.String getFullyQualifiedName(org.eclipse.jdt.core.IJavaElement je)
          Get the fully qualified name of a IMember
static org.eclipse.jdt.core.IJavaElement getJavaElement(org.eclipse.ui.views.markers.internal.ConcreteMarker marker)
           
static void installContentAssist(org.eclipse.jface.preference.IPreferenceStore javaPrefs, boolean mylarContentAssist)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SMALL_SIZE

private static final org.eclipse.swt.graphics.Point SMALL_SIZE

SEPARATOR_CODEASSIST

private static final java.lang.String SEPARATOR_CODEASSIST
See Also:
Constant Field Values

ASSIST_MYLAR_TYPE

public static final java.lang.String ASSIST_MYLAR_TYPE
See Also:
Constant Field Values

ASSIST_MYLAR_NOTYPE

public static final java.lang.String ASSIST_MYLAR_NOTYPE
See Also:
Constant Field Values

ASSIST_JDT_TYPE

public static final java.lang.String ASSIST_JDT_TYPE
See Also:
Constant Field Values

ASSIST_JDT_NOTYPE

public static final java.lang.String ASSIST_JDT_NOTYPE
See Also:
Constant Field Values

ASSIST_JDT_TEMPLATE

public static final java.lang.String ASSIST_JDT_TEMPLATE
See Also:
Constant Field Values

ASSIST_MYLAR_TEMPLATE

public static final java.lang.String ASSIST_MYLAR_TEMPLATE
See Also:
Constant Field Values
Constructor Detail

JavaUiUtil

public JavaUiUtil()
Method Detail

installContentAssist

public static void installContentAssist(org.eclipse.jface.preference.IPreferenceStore javaPrefs,
                                        boolean mylarContentAssist)

decorate

public static org.eclipse.jface.resource.ImageDescriptor decorate(org.eclipse.jface.resource.ImageDescriptor base,
                                                                  int decorations)

getJavaElement

public static org.eclipse.jdt.core.IJavaElement getJavaElement(org.eclipse.ui.views.markers.internal.ConcreteMarker marker)

getFullyQualifiedName

public static java.lang.String getFullyQualifiedName(org.eclipse.jdt.core.IJavaElement je)
Get the fully qualified name of a IMember

Parameters:
m - The IMember to get the fully qualified name for
Returns:
String representing the fully qualified name

closeActiveEditors

public static void closeActiveEditors(boolean javaOnly)