com.aptana.ide.scripting.views
Class ActionsView

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

public class ActionsView
extends View
implements IActionsViewEventListener

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
ActionsView(org.mozilla.javascript.Scriptable scope, org.eclipse.ui.IWorkbenchPart view)
          Create a new instance of ActiveLibrariesView
 
Method Summary
 Action addAction(java.lang.String name, java.lang.String filepath)
          addAction
 ActionSet createActionSet(java.lang.String name)
          addProfile
 void editAction(java.lang.String path)
          open a file via the actions view (so events bind)
 void expandActionSet(java.lang.String name)
          expandProfile
 void expandAll()
          expandAll
 IAction[] getActions()
          getActions
 ActionSet getActionSet(java.lang.String name)
          getProfile return a specific named profile
 ActionSet[] getActionSets()
          getProfiles Returns all profiles
 void onActionsViewEvent(ActionsViewEvent e)
          onActionsViewEvent
 void refresh()
          refresh
 void removeActionSet(java.lang.String name)
          removeProfile
 void selectAndReveal(java.lang.String path)
          selectAndReveal
 void setView(org.eclipse.ui.IWorkbenchPart view)
          setView
 
Methods inherited from class com.aptana.ide.scripting.views.View
getClassName, getView
 
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

ActionsView

public ActionsView(org.mozilla.javascript.Scriptable scope,
                   org.eclipse.ui.IWorkbenchPart view)
Create a new instance of ActiveLibrariesView

Parameters:
scope -
view -
Method Detail

addAction

public Action addAction(java.lang.String name,
                        java.lang.String filepath)
addAction

Parameters:
name -
filepath -
Returns:
Action

getActions

public IAction[] getActions()
getActions

Returns:
IAction[]

expandAll

public void expandAll()
expandAll


refresh

public void refresh()
refresh


editAction

public void editAction(java.lang.String path)
open a file via the actions view (so events bind)

Parameters:
path -

selectAndReveal

public void selectAndReveal(java.lang.String path)
selectAndReveal

Parameters:
path -

setView

public void setView(org.eclipse.ui.IWorkbenchPart view)
Description copied from class: View
setView

Overrides:
setView in class View
See Also:
View.setView(org.eclipse.ui.IWorkbenchPart)

expandActionSet

public void expandActionSet(java.lang.String name)
expandProfile

Parameters:
name -

createActionSet

public ActionSet createActionSet(java.lang.String name)
addProfile

Parameters:
name -
Returns:
Profile

removeActionSet

public void removeActionSet(java.lang.String name)
removeProfile

Parameters:
name -

getActionSet

public ActionSet getActionSet(java.lang.String name)
getProfile return a specific named profile

Parameters:
name -
Returns:
ActionSet

getActionSets

public ActionSet[] getActionSets()
getProfiles Returns all profiles

Returns:
ActionSet[]

onActionsViewEvent

public void onActionsViewEvent(ActionsViewEvent e)
onActionsViewEvent

Specified by:
onActionsViewEvent in interface IActionsViewEventListener
Parameters:
e -