edu.stanford.hci.dtools.deviceeditor
Class DeviceEditorActionBarContributor
java.lang.Object
org.eclipse.ui.part.EditorActionBarContributor
org.eclipse.gef.ui.actions.ActionBarContributor
edu.stanford.hci.dtools.deviceeditor.DeviceEditorActionBarContributor
- All Implemented Interfaces:
- org.eclipse.ui.IEditorActionBarContributor
public class DeviceEditorActionBarContributor
- extends org.eclipse.gef.ui.actions.ActionBarContributor
Contributes edu.stanford.hci.dtools.actions to a toolbar. This class is tied to the editor in the
definition of editor-extension (see plugin.xml).
This software is distributed under the
BSD License.
- Author:
- Scott Klemmer ( srk(AT)cs.stanford.edu ), Bjoern Hartmann ( bjoern(AT)stanford.edu ), Michael Bernstein ( mbernst(AT)stanford.edu )
Method Summary |
void |
contributeToToolBar(org.eclipse.jface.action.IToolBarManager toolBarManager)
Add edu.stanford.hci.dtools.actions to the given toolbar. |
void |
setActiveEditor(org.eclipse.ui.IEditorPart editor)
|
Methods inherited from class org.eclipse.gef.ui.actions.ActionBarContributor |
dispose, init |
Methods inherited from class org.eclipse.ui.part.EditorActionBarContributor |
contributeToCoolBar, contributeToMenu, contributeToStatusLine, getActionBars, getPage, init |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeviceEditorActionBarContributor
public DeviceEditorActionBarContributor()
contributeToToolBar
public void contributeToToolBar(org.eclipse.jface.action.IToolBarManager toolBarManager)
- Add edu.stanford.hci.dtools.actions to the given toolbar.
- Overrides:
contributeToToolBar
in class org.eclipse.ui.part.EditorActionBarContributor
- See Also:
EditorActionBarContributor.contributeToToolBar(org.eclipse.jface.action.IToolBarManager)
setActiveEditor
public void setActiveEditor(org.eclipse.ui.IEditorPart editor)
- Specified by:
setActiveEditor
in interface org.eclipse.ui.IEditorActionBarContributor
- Overrides:
setActiveEditor
in class org.eclipse.gef.ui.actions.ActionBarContributor