com.aptana.ide.scripting.views
Class Views

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by com.aptana.ide.scripting.events.EventTarget
          extended by com.aptana.ide.scripting.views.Views
All Implemented Interfaces:
IEventTarget, java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable

public class Views
extends EventTarget

Author:
Kevin Lindsey
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
Views(org.mozilla.javascript.Scriptable scope)
          Create a new instance of Views
 
Method Summary
 org.mozilla.javascript.Scriptable getActionsView()
          getActionsView
static org.mozilla.javascript.Scriptable getAll(org.mozilla.javascript.ScriptableObject thisObj)
          get all views
 java.lang.String getClassName()
           
 org.mozilla.javascript.Scriptable getNavigatorView()
          getNavigatorView
 ScriptableView getProblemsView()
          getProblemsView
 org.mozilla.javascript.Scriptable getProfilesView()
           
 ScriptableView getView(java.lang.String id)
          getView Get a generic scritable view
static org.mozilla.javascript.Scriptable getView2(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, java.lang.Object[] args, org.mozilla.javascript.Function funObj)
          getView
static org.eclipse.ui.IWorkbenchPart getViewInternal(java.lang.String id)
          getViewInternal
static org.eclipse.ui.IWorkbenchPart getViewInternal(java.lang.String id, java.lang.String secondaryId)
          getViewInternal
 void setInternalProfilesView(org.eclipse.ui.IWorkbenchPart part)
          setProfilesView
 
Methods inherited from class com.aptana.ide.scripting.events.EventTarget
addEventListener, fireEventListeners, fireEventListeners, removeEventListener
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Views

public Views(org.mozilla.javascript.Scriptable scope)
Create a new instance of Views

Parameters:
scope -
Method Detail

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface org.mozilla.javascript.Scriptable
Specified by:
getClassName in class org.mozilla.javascript.ScriptableObject
See Also:
ScriptableObject.getClassName()

getProfilesView

public org.mozilla.javascript.Scriptable getProfilesView()
Returns:
Scriptable

getActionsView

public org.mozilla.javascript.Scriptable getActionsView()
getActionsView

Returns:
Scriptable

setInternalProfilesView

public void setInternalProfilesView(org.eclipse.ui.IWorkbenchPart part)
setProfilesView

Parameters:
part -

getAll

public static org.mozilla.javascript.Scriptable getAll(org.mozilla.javascript.ScriptableObject thisObj)
get all views

Parameters:
thisObj -
Returns:
Scriptable

getView

public ScriptableView getView(java.lang.String id)
getView Get a generic scritable view

Parameters:
id -
Returns:
ProblemsView

getProblemsView

public ScriptableView getProblemsView()
getProblemsView

Returns:
ProblemsView

getNavigatorView

public org.mozilla.javascript.Scriptable getNavigatorView()
getNavigatorView

Returns:
Scriptable

getView2

public static org.mozilla.javascript.Scriptable getView2(org.mozilla.javascript.Context cx,
                                                         org.mozilla.javascript.Scriptable thisObj,
                                                         java.lang.Object[] args,
                                                         org.mozilla.javascript.Function funObj)
getView

Parameters:
cx -
thisObj -
args -
funObj -
Returns:
Scriptable

getViewInternal

public static org.eclipse.ui.IWorkbenchPart getViewInternal(java.lang.String id)
getViewInternal

Parameters:
id -
Returns:
Scriptable

getViewInternal

public static org.eclipse.ui.IWorkbenchPart getViewInternal(java.lang.String id,
                                                            java.lang.String secondaryId)
getViewInternal

Parameters:
id -
secondaryId -
Returns:
IWorkbenchPart