com.borland.primetime.build
Class BuildListenerSwingHelper
java.lang.Object
|
+--com.borland.primetime.build.BuildListenerSwingHelper
- public class BuildListenerSwingHelper
- extends java.lang.Object
- implements BuildListener
Responds to build notifications by scheduling a listener notification on the
Swing event thread.
Method Summary |
void |
buildFinish(BuildProcess process)
Dispatches a buildFinish notification on the Swing event thread. |
void |
buildMessage(BuildProcess process,
java.lang.String file,
java.lang.String message)
Dispatches a buildMessage notification on the Swing event thread if
the helper was constructed with includeDetails set to true. |
void |
buildProblem(BuildProcess process,
Project project,
Url url,
boolean error,
java.lang.String message,
int line,
int column,
java.lang.String helpTopic)
Dispatches a buildProblem notification on the Swing event thread if
the helper was constructed with includeDetails set to true. |
void |
buildStart(BuildProcess process)
Dispatches a buildStart notification on the Swing event thread. |
void |
buildStatus(BuildProcess process,
java.lang.String message,
boolean incrementFileCount)
Dispatches a buildStatus notification on the Swing event thread if
the helper was constructed with includeDetails set to true. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BuildListenerSwingHelper
public BuildListenerSwingHelper(BuildListener listener,
boolean includeDetails)
buildStart
public void buildStart(BuildProcess process)
- Dispatches a buildStart notification on the Swing event thread.
- Specified by:
- buildStart in interface BuildListener
- Tags copied from interface: BuildListener
- Parameters:
process
- The BuildProcess in question.
buildFinish
public void buildFinish(BuildProcess process)
- Dispatches a buildFinish notification on the Swing event thread.
- Specified by:
- buildFinish in interface BuildListener
- Tags copied from interface: BuildListener
- Parameters:
process
- The BuildProcess in question.
buildStatus
public void buildStatus(BuildProcess process,
java.lang.String message,
boolean incrementFileCount)
- Dispatches a buildStatus notification on the Swing event thread if
the helper was constructed with includeDetails set to true.
- Specified by:
- buildStatus in interface BuildListener
- Tags copied from interface: BuildListener
- Parameters:
process
- The BuildProcess in question.message
- A user-displayable action currently being undertaken by
the BuildProcess.incrementFileCount
- True if the status represents a new file being
processed, false otherwise.
buildMessage
public void buildMessage(BuildProcess process,
java.lang.String file,
java.lang.String message)
- Dispatches a buildMessage notification on the Swing event thread if
the helper was constructed with includeDetails set to true.
- Specified by:
- buildMessage in interface BuildListener
- Tags copied from interface: BuildListener
- Parameters:
file
- The name of the file the message refers to.
buildProblem
public void buildProblem(BuildProcess process,
Project project,
Url url,
boolean error,
java.lang.String message,
int line,
int column,
java.lang.String helpTopic)
- Dispatches a buildProblem notification on the Swing event thread if
the helper was constructed with includeDetails set to true.
- Specified by:
- buildProblem in interface BuildListener
- Tags copied from interface: BuildListener
- Parameters:
url
- The file this message should link to if the user double-clicks
on the message. A value of null indicates that there is no specific file
associated with this warning or error.line
- The line number associated with the error. A value of
BuildProcess.UNKNOWN_LINE
indicates that there is no
particular line associated with the error.column
- The line number associated with the error. A value of
BuildProcess.UNKNOWN_COLUMN
indicates that there is no
particular column associated with the error.error
- True if the problem is an error, false if it is a warning.helpTopic
- A Help Topic for the help system to retrieve. A value of
null is passed if there is no help topic available.