com.intellij.ide
Class SelectInManager

java.lang.Object
  extended by com.intellij.ide.SelectInManager
All Implemented Interfaces:
BaseComponent, ProjectComponent, JDOMExternalizable

public class SelectInManager
extends java.lang.Object
implements JDOMExternalizable, ProjectComponent


Method Summary
 void addTarget(SelectInTarget target)
           
 void disposeComponent()
          Component should dispose system resources or perform another cleanup in this method.
 java.lang.String getComponentName()
          Unique name of this component.
static SelectInManager getInstance(Project project)
           
 SelectInTarget getTarget(java.lang.String name)
           
 SelectInTarget[] getTargets()
           
 void initComponent()
          Component should do initialization and communication with another components in this method.
 void moveToTop(SelectInTarget target)
           
 void projectClosed()
          Invoked when the project corresponding to this component instance is closed.
 void projectOpened()
          Invoked when the project corresponding to this component instance is opened.
 void readExternal(org.jdom.Element parentNode)
           
 void removeTarget(SelectInTarget target)
           
 void writeExternal(org.jdom.Element parentNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

disposeComponent

public void disposeComponent()
Description copied from interface: BaseComponent
Component should dispose system resources or perform another cleanup in this method.

Specified by:
disposeComponent in interface BaseComponent

initComponent

public void initComponent()
Description copied from interface: BaseComponent
Component should do initialization and communication with another components in this method.

Specified by:
initComponent in interface BaseComponent

projectClosed

public void projectClosed()
Description copied from interface: ProjectComponent
Invoked when the project corresponding to this component instance is closed.

Note that components may be created for even unopened projects and this method can be never invoked for a particular component instance (for example for default project).

Specified by:
projectClosed in interface ProjectComponent

projectOpened

public void projectOpened()
Description copied from interface: ProjectComponent
Invoked when the project corresponding to this component instance is opened.

Note that components may be created for even unopened projects and this method can be never invoked for a particular component instance (for example for default project).

Specified by:
projectOpened in interface ProjectComponent

addTarget

public void addTarget(SelectInTarget target)

removeTarget

public void removeTarget(SelectInTarget target)

moveToTop

public void moveToTop(SelectInTarget target)

getTargets

public SelectInTarget[] getTargets()

getTarget

@Nullable
public SelectInTarget getTarget(@NotNull
                                         java.lang.String name)

getInstance

public static SelectInManager getInstance(Project project)

readExternal

public void readExternal(org.jdom.Element parentNode)
                  throws InvalidDataException
Specified by:
readExternal in interface JDOMExternalizable
Throws:
InvalidDataException

writeExternal

public void writeExternal(org.jdom.Element parentNode)
                   throws WriteExternalException
Specified by:
writeExternal in interface JDOMExternalizable
Throws:
WriteExternalException

getComponentName

public java.lang.String getComponentName()
Description copied from interface: BaseComponent
Unique name of this component. If there is another component with the same name or name is null internal assertion will occur.

Specified by:
getComponentName in interface BaseComponent
Returns:
the name of this component