Package org.eclipse.dltk.debug.core.model

Examples of org.eclipse.dltk.debug.core.model.IScriptVariable


    return null;
  }

  @Override
  protected Image getVariableImage(IScriptVariable variable) {
    IScriptVariable v = variable;
    IScriptValue scriptValue;
    try {
      scriptValue = (IScriptValue) v.getValue();
    } catch (DebugException e) {
      return ScriptDebugImages.get(ScriptDebugImages.IMG_OBJS_LOCAL_VARIABLE);
    }
    String typeString = (scriptValue).getType().getName();
    if (typeString.equals("function"))
View Full Code Here


  }

  @Override
  public boolean select(Viewer viewer, Object parentElement, Object element) {
    if (element instanceof IScriptVariable) {
      IScriptVariable variable = (IScriptVariable) element;
      try {
        return !((IScriptValue) variable.getValue()).getType().getName().equals("function");
      } catch (DebugException e) {
        if (DLTKCore.DEBUG) {
          e.printStackTrace();
        }
      }
View Full Code Here

  }

  @Override
  public boolean select(Viewer viewer, Object parentElement, Object element) {
    if (element instanceof IScriptVariable) {
      IScriptVariable variable = (IScriptVariable) element;
      try {
        return !((IScriptValue) variable.getValue()).getType().getName().equals("function");
      } catch (DebugException e) {
        if (DLTKCore.DEBUG) {
          e.printStackTrace();
        }
      }
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.debug.core.model.IScriptVariable

Copyright © 2018 www.massapicom. 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.