|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.common.core.service.AbstractProvider
org.eclipse.gmf.runtime.common.ui.services.action.filter.AbstractActionFilterProvider
public abstract class AbstractActionFilterProvider
The parent of all action filter providers. Defines useful constants and behavior for retrieving the current workbench selection.
Field Summary | |
---|---|
protected static java.lang.String |
ENABLEMENT_VALUE
The attribute value indicating an enablement test. |
protected static java.lang.String |
VISIBILITY_VALUE
The attribute value indicating a visibility test. |
Constructor Summary | |
---|---|
protected |
AbstractActionFilterProvider()
Constructs a new action filter provider. |
Method Summary | |
---|---|
protected ISelection |
getSelection()
Retrieves the selection from selection service of the active workbench window. |
protected IStructuredSelection |
getStructuredSelection()
Retrieves the selection as a structured selection. |
Methods inherited from class org.eclipse.gmf.runtime.common.core.service.AbstractProvider |
---|
addProviderChangeListener, fireProviderChange, removeProviderChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.IActionFilter |
---|
testAttribute |
Methods inherited from interface org.eclipse.gmf.runtime.common.core.service.IProvider |
---|
addProviderChangeListener, provides, removeProviderChangeListener |
Field Detail |
---|
protected static final java.lang.String ENABLEMENT_VALUE
protected static final java.lang.String VISIBILITY_VALUE
Constructor Detail |
---|
protected AbstractActionFilterProvider()
Method Detail |
---|
protected ISelection getSelection()
protected IStructuredSelection getStructuredSelection()
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.