|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface that Designers must implement. In addition, Designers must register with the DesignerManager.
Method Summary | |
boolean |
activate(com.borland.jbuilder.cmt.CmtComponentSource componentSource,
com.borland.jbuilder.cmt.CmtModelNode root,
com.borland.jbuilder.cmt.CmtModelNode node,
DesignerViewer dc)
Activates or reactivates a view on a given model node, creating UI as needed. |
void |
annotate(com.borland.jbuilder.cmt.CmtComponentSource componentSource,
com.borland.jbuilder.cmt.CmtComponents components)
Have a designer annotate a component source with design model specific tree(s). |
void |
close(com.borland.jbuilder.cmt.CmtComponentSource componentSource,
DesignerViewer dc)
Finishes edit of a given component source, and cleanup view-related allocation. |
java.lang.String |
getModelName()
Gets the name of the designer's model. |
void |
open(com.borland.jbuilder.cmt.CmtComponentSource componentSource,
DesignerViewer dc)
Opens a view on a given component source. |
Method Detail |
public java.lang.String getModelName()
public void annotate(com.borland.jbuilder.cmt.CmtComponentSource componentSource, com.borland.jbuilder.cmt.CmtComponents components)
This method is not called if the component source has previous annotations available.
No view related work should be done in this method.
componentSource
- component source to be annotatedcomponents
- public void open(com.borland.jbuilder.cmt.CmtComponentSource componentSource, DesignerViewer dc)
componentSource
- component source to be annotateddc
- active designer viewerpublic boolean activate(com.borland.jbuilder.cmt.CmtComponentSource componentSource, com.borland.jbuilder.cmt.CmtModelNode root, com.borland.jbuilder.cmt.CmtModelNode node, DesignerViewer dc)
componentSource
- component source to be activatedroot
- target model root nodenode
- target model nodedc
- active designer viewerpublic void close(com.borland.jbuilder.cmt.CmtComponentSource componentSource, DesignerViewer dc)
componentSource
- component source to be activateddc
- active designer viewer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |