|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.addin.DefaultContext oracle.ide.IdeContext
IdeContext provides information about the state of the IDE at the
time of Context creation. From this interface, Wizards and other classes
receiving IDE actions can determine the Workspace
,
Project
and any selected Element
s upon which they
are expected to act.
This construtors of this class are not thread safe except for the copy
constructor IdeContext(Context)
. If you are looking for a thread
safe context, please use
DefaultContext.DefaultContext(oracle.ide.addin.View, oracle.ide.model.Workspace, oracle.ide.model.Project, oracle.ide.model.Element[], oracle.ide.model.Document, oracle.ide.model.Element)
instead.
Field Summary |
Fields inherited from class oracle.ide.addin.DefaultContext |
_data, _doc, _elem, _event, _project, _sel, _view, _workspace |
Constructor Summary | |
IdeContext()
Default constructor. |
|
IdeContext(Context context)
Copy constructor. |
|
IdeContext(Document document)
Constructor. |
|
IdeContext(Element element)
Constructor. |
|
IdeContext(View view)
Constructor. |
|
IdeContext(View view,
java.util.EventObject event)
Constructor. |
Method Summary | |
Folder |
findOwner(Element element)
|
Methods inherited from class oracle.ide.addin.DefaultContext |
areMultipleDocumentsSelected, getDocument, getElement, getEvent, getExtraData, getProject, getSelection, getView, getWorkspace, makeCopy, setDocument, setElement, setEvent, setExtraData, setProject, setSelection, setView, setWorkspace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IdeContext()
public IdeContext(Context context)
public IdeContext(Element element)
DefaultContext.getSelection()
,
Node
public IdeContext(Document document)
DefaultContext.getSelection()
,
Node
public IdeContext(View view)
DefaultContext.getSelection()
,
DefaultContext.getView()
,
View
,
Element
public IdeContext(View view, java.util.EventObject event)
IdeContext(View)
,
DefaultContext.getEvent()
Method Detail |
public final Folder findOwner(Element element)
findOwner
in interface Context
findOwner
in class DefaultContext
element
- the Element being checked for removal from this folder
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.