|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.common.ui.services.elementselection.AbstractElementSelectionInput
public class AbstractElementSelectionInput
Abstract implementation of an IElementSelectionInput.
Constructor Summary | |
---|---|
AbstractElementSelectionInput(IFilter filter,
IAdaptable context,
ElementSelectionScope scope,
java.lang.String input)
Constructor for an AbstractElementSelectionInput |
Method Summary | |
---|---|
IAdaptable |
getContext()
Retrieves the context for the input. |
IFilter |
getFilter()
Retrieves the filter provided for the input. |
java.lang.String |
getInput()
Retrieves a string input filter for the input. |
ElementSelectionScope |
getScope()
Retrieves the scope of the search. |
void |
setContext(IAdaptable context)
Set the context for the element selection input. |
void |
setFilter(IFilter filter)
Set the filter for the element selection input. |
void |
setInput(java.lang.String input)
Set the input filter for the element selection input. |
void |
setScope(ElementSelectionScope scope)
Set the scope for the element selection input. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractElementSelectionInput(IFilter filter, IAdaptable context, ElementSelectionScope scope, java.lang.String input)
types
- A list of the types.context
- A context for the input.scope
- The scope used for the search for matching objects.filter
- The filter used for the search for matching objects.Method Detail |
---|
public ElementSelectionScope getScope()
getScope
in interface IElementSelectionInput
public IFilter getFilter()
Most frequently, the filter will select an object if it matches a
specific list of types (IElementType
).
getFilter
in interface IElementSelectionInput
public IAdaptable getContext()
getContext
in interface IElementSelectionInput
public java.lang.String getInput()
getInput
in interface IElementSelectionInput
public void setContext(IAdaptable context)
context
- the context for the element selection input.public void setFilter(IFilter filter)
filter
- the filter for the element selection input.public void setScope(ElementSelectionScope scope)
scope
- the scope for the element selection input.public void setInput(java.lang.String input)
input
- the input filter for the element selection input.
|
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.