|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.gui.monitor.GuiObject frysk.gui.sessions.DebugProcess
public class DebugProcess
A container that refers to an executable there could be zero or many instances of these executable. This keeps track of those too.
Field Summary |
---|
Fields inherited from class frysk.gui.monitor.GuiObject |
---|
propertiesChanged |
Constructor Summary | |
---|---|
DebugProcess()
Create a new Debug Process. |
|
DebugProcess(DebugProcess other)
Create a new Debug Process. |
|
DebugProcess(String name,
String altName,
String executablePath)
* Create a new Debug Process. |
Method Summary | |
---|---|
void |
addProc(GuiProc guiProc)
Adds a GuiProc to the Debug Process |
void |
addTagset(Tagset tagset)
Adds a tagset to the debug process |
String |
getAlternativeDisplayName()
Returns the alternative name of the debug process |
GuiObject |
getCopy()
|
String |
getExecutablePath()
|
ObservableLinkedList |
getProcs()
getProcs() Returns a linked list of processes in a debug process. |
String |
getRealName()
Returns the real name of this process. |
ObservableLinkedList |
getTagsets()
Returns a list of tag sets that have been added to this debug process. |
WatchList |
getWatchList()
Returns the list of variables currently being watched from this process |
void |
load(Element node)
To load a stored property one does this: String someString = node.getAttributeValue("someString"); To load @link frysk.gui.monitor.SaveableXXX one gets the appropriet node and tells that object to load itself from that node. |
void |
removeObserverByName(String observerName)
Removes an observer from the list of observers to be added to the debug process on load. |
void |
removeProc(GuiProc guiProc)
Removes a GuiProc from the list of GuiProcs representred by this process. |
void |
removeTagset(Tagset tagset)
Remove a tagset from this debug process |
void |
save(Element node)
Save object to the given node Saving Conventions: If this object has a property such as a String, char, int, etc, that is saved by using node.setAttribute("someProperty", someProperty); If this object contains composing @link frysk.gui.monitor.SaveableXXX then a node is created for that and that object is told to save itself to that node. |
void |
setAlternativeDisplayName(String name)
Allows you to set a name that is different from the underlying process. |
void |
setExecutablePath(String executablePath)
|
void |
setRealName(String name)
Allows you to set the real name (ie system) name of the process |
Methods inherited from class frysk.gui.monitor.GuiObject |
---|
dontSaveObject, doSaveObject, getName, getSummary, getToolTip, setName, setSummay, setToolTip, shouldSaveObject, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DebugProcess()
public DebugProcess(DebugProcess other)
other
- - Create a debug process from the the given parameter. Used in
copying a debug process.public DebugProcess(String name, String altName, String executablePath)
name
- - The name of the processaltName
- - The display name of the processexecutablePath
- - Where the process can be found on diskMethod Detail |
---|
public void addProc(GuiProc guiProc)
guiProc
- - GuiProc that is to be addedpublic void addTagset(Tagset tagset)
tagset
- - tagset to be added.public String getAlternativeDisplayName()
public GuiObject getCopy()
public ObservableLinkedList getProcs()
public String getRealName()
public ObservableLinkedList getTagsets()
public WatchList getWatchList()
public void removeObserverByName(String observerName)
observerName
- - Observer name to removepublic void removeProc(GuiProc guiProc)
guiProc
- - GuiProc to remove.public void removeTagset(Tagset tagset)
tagset
- - the tagset to remove.public void setAlternativeDisplayName(String name)
name
- - Alternative name to display in the session.public void setRealName(String name)
name
- - Name of the process.public void save(Element node)
SaveableXXX
save
in interface SaveableXXX
save
in class GuiObject
public void load(Element node)
SaveableXXX
load
in interface SaveableXXX
load
in class GuiObject
public void setExecutablePath(String executablePath)
public String getExecutablePath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |