|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.borland.jbuilder.designer.DesignerManager
Manager class for Designers. The DesignerManager is responsible for dispatching DesignerEvents,
The DesignerManager is not instantiated directly. An object obtains the DesignerManager instance through the static method call:
DesignerManager dm = DesignerManager.getInstance();
This will create a new instance of DesignerManager if one does not already exist.
Field Summary | |
static int |
ADD_MODE
|
static javax.swing.LookAndFeel |
designerLF
|
static javax.swing.LookAndFeel |
jbuilderLF
|
static int |
RUN_MODE
|
static int |
SELECT_MODE
|
static java.lang.Object |
TIMING_TRACE
|
Method Summary | |
static void |
addDesignerListener(DesignerListener listener)
Adds the specified DesignerListener to receive DesignerEvents from registered Designers. |
static void |
addDesignerReleaseListener(DesignerReleaseListener listener)
Adds the specified DesignerReleaseListener to receive DesignerReleaseListener from registered Designers. |
void |
buildFinish(BuildProcess process)
Notification that the build process has finished. |
void |
buildMessage(BuildProcess process,
java.lang.String file,
java.lang.String message)
Handles build process messages. |
void |
buildProblem(BuildProcess process,
Project project,
Url url,
boolean error,
java.lang.String message,
int line,
int column,
java.lang.String helpTopic)
Handles notification of build process problems. |
void |
buildStart(BuildProcess process)
Notification that the build process has begun. |
void |
buildStatus(BuildProcess process,
java.lang.String message,
boolean incrementFileCount)
Handles notification of build process status. |
Designer |
getDesigner(com.borland.jbuilder.cmt.CmtModel model)
Return the designer that owns a given model |
static DesignerManager |
getInstance()
Retrieves the DesignerManager instance. |
static void |
initOpenTool(byte majorVersion,
byte minorVersion)
Registers this manager as an OpenTool. |
void |
lookupHelp(java.lang.String className,
java.lang.String propertyName)
Displays the requested help topic. |
protected void |
processDesignerEvent(DesignerEvent e)
Dispatches the given DesignerEvent to registered listeners. |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Handles a property change event. |
static void |
registerDesigner(Designer designer)
Registers the given designer by adding it to the list of current registered designers. |
static void |
removeDesignerListener(DesignerListener listener)
Removes the specified DesignerListener so that it no longer receives events from registered Designers. |
static void |
removeDesignerReleaseListener(DesignerReleaseListener listener)
Removes the specified DesignerReleaseListener so that it no longer receives events from registered Designers. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.Object TIMING_TRACE
public static javax.swing.LookAndFeel designerLF
public static javax.swing.LookAndFeel jbuilderLF
public static final int RUN_MODE
public static final int SELECT_MODE
public static final int ADD_MODE
Method Detail |
public static void registerDesigner(Designer designer)
designer
- designer to add to current designers listpublic static void initOpenTool(byte majorVersion, byte minorVersion)
majorVersion
- the major version of the OpenToolsminorVersion
- the minor version of the OpenToolspublic static DesignerManager getInstance()
public Designer getDesigner(com.borland.jbuilder.cmt.CmtModel model)
model
- the modelpublic void lookupHelp(java.lang.String className, java.lang.String propertyName)
className
- help class topicpropertyName
- help property name topicpublic static void addDesignerListener(DesignerListener listener)
listener
- the DesignerListener to addpublic static void removeDesignerListener(DesignerListener listener)
listener
- the DesignerListener to removepublic static void addDesignerReleaseListener(DesignerReleaseListener listener)
listener
- the DesignerReleaseListener to addpublic static void removeDesignerReleaseListener(DesignerReleaseListener listener)
listener
- the DesignerReleaseListener to removeprotected void processDesignerEvent(DesignerEvent e)
e
- the DesignerEvent to dispatchpublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
evt
- property change event to handlepublic void buildStart(BuildProcess process)
buildStart
in interface BuildListener
process
- the BuildProcess that has just begunpublic void buildFinish(BuildProcess process)
buildFinish
in interface BuildListener
process
- the BuildProcess that has finishedpublic void buildStatus(BuildProcess process, java.lang.String message, boolean incrementFileCount)
buildStatus
in interface BuildListener
process
- the build processmessage
- status messageincrementFileCount
- current build file countpublic void buildMessage(BuildProcess process, java.lang.String file, java.lang.String message)
buildMessage
in interface BuildListener
process
- the build processfile
- current file being builtmessage
- build process messagepublic void buildProblem(BuildProcess process, Project project, Url url, boolean error, java.lang.String message, int line, int column, java.lang.String helpTopic)
buildProblem
in interface BuildListener
process
- the build processproject
- active JBuilder projecturl
- url locationerror
- boolean indication of whether problem is an error
conditionmessage
- build process problem descriptionline
- line number location of build problemcolumn
- column number location of build problemhelpTopic
- relevant help topic
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |