| java.lang.Object org.netbeans.api.debugger.Session
Session | final public class Session implements ContextProvider(Code) | | Session visually represents one process or application. It should
be simple bean with properties like process ID, session name, etc.
All other functionality is deleagted to current debugger engine.
author: Jan Jancura |
PROP_CURRENT_LANGUAGE | final public static String PROP_CURRENT_LANGUAGE(Code) | | Name of property for current language.
|
PROP_SUPPORTED_LANGUAGES | final public static String PROP_SUPPORTED_LANGUAGES(Code) | | Name of property for the set of supported languages.
|
addPropertyChangeListener | public void addPropertyChangeListener(PropertyChangeListener l)(Code) | | Adds a property change listener.
Parameters: l - the listener to add |
addPropertyChangeListener | public void addPropertyChangeListener(String propertyName, PropertyChangeListener l)(Code) | | Adds a property change listener.
Parameters: propertyName - a name of property to listen on Parameters: l - the listener to add |
getCurrentEngine | public DebuggerEngine getCurrentEngine()(Code) | | Returns current debugger engine for this session.
current debugger engine for this session |
getCurrentLanguage | public String getCurrentLanguage()(Code) | | Returns current language for this session.
current language for this session |
getEngineForLanguage | public DebuggerEngine getEngineForLanguage(String language)(Code) | | Return DebuggerEngine registerred for given language or null.
DebuggerEngine registerred for given language or null |
getLocationName | public String getLocationName()(Code) | | Returns name of location this session is running on.
name of location this session is running on |
getName | public String getName()(Code) | | Returns display name of this session.
display name of this session |
kill | public void kill()(Code) | | Kills all registerred engines / languages. This utility method calls
doAction (DebuggerEngine.ACTION_KILL) method on all
registerred DebuggerEngines.
|
lookup | public List<? extends T> lookup(String folder, Class<T> service)(Code) | | Returns list of services of given type from given folder.
Parameters: service - a type of service to look for list of services of given type |
lookupFirst | public T lookupFirst(String folder, Class<T> service)(Code) | | Returns one service of given type from given folder.
Parameters: service - a type of service to look for ne service of given type |
removePropertyChangeListener | public void removePropertyChangeListener(PropertyChangeListener l)(Code) | | Removes a property change listener.
Parameters: l - the listener to remove |
removePropertyChangeListener | public void removePropertyChangeListener(String propertyName, PropertyChangeListener l)(Code) | | Removes a property change listener.
Parameters: propertyName - a name of property to stop listening on Parameters: l - the listener to remove |
toString | public String toString()(Code) | | Returns string representation of this session.
string representation of this session |
|
|