| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.vcs.spi.VCSCommentsCustomizer
oracle.jdeveloper.vcs.changelist.ChangeListCommentsCustomizer
public class ChangeListCommentsCustomizer
Comments customizer that installs specific behaviors for the change list. Clients should use this in preference to directly using VCSCommentsCustomizer for the following features: - "Flat" look by default - Fewer lines by default - Support for main menu items on the Edit menu (Cut, Copy, Paste, Delete, Select All) - Support for "persistent" options that remain set for the lifetime of the customizer. Unlike the superclass, a new Map is not created each time you call getOptions(), so you can safely change the options map by calling getOptions().put( key, value ).
| Field Summary | |
|---|---|
| static java.lang.String | KEY_SETTING_COMMENTS | 
| Fields inherited from class oracle.jdeveloper.vcs.spi.VCSCommentsCustomizer | 
|---|
| COMMENT_TEMPLATES_NAVIGABLE_LABEL, KEY_PROPERTY_DEFAULT_TEMPLATE_INDEX, KEY_PROPERTY_TEMPLATES, KEY_SETTING_REUSE_COMMENTS | 
| Constructor Summary | |
|---|---|
| ChangeListCommentsCustomizer(java.lang.String extensionId) | |
| Method Summary | |
|---|---|
|  void | addMouseListener(java.awt.event.MouseListener ml) | 
|  void | clear() | 
|  java.lang.String | getCommentText() | 
|  java.lang.String | getDefaultTemplate() | 
|  java.util.Map | getOptions()Gets options from the customizer, based on internal component states. | 
|  void | removeMouseListener(java.awt.event.MouseListener ml) | 
|  void | setCommentText(java.lang.String text) | 
|  void | setOptions(java.util.Map optionsMap)Sets options on the customizer, updating internal component states. | 
|  void | setRecentCommentsModel(VCSRecentCommentsModel commentsModel)Sets the comments model to be used for making historical comments available in a completion popup. | 
| 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.String KEY_SETTING_COMMENTS
| Constructor Detail | 
|---|
public ChangeListCommentsCustomizer(java.lang.String extensionId)
| Method Detail | 
|---|
public void setRecentCommentsModel(VCSRecentCommentsModel commentsModel)
VCSCommentsCustomizer
setRecentCommentsModel in class VCSCommentsCustomizercommentsModel - the comments model object.public final java.lang.String getDefaultTemplate()
public void addMouseListener(java.awt.event.MouseListener ml)
public void removeMouseListener(java.awt.event.MouseListener ml)
public void setOptions(java.util.Map optionsMap)
VCSOptionsCustomizer
setOptions in interface VCSOptionsCustomizersetOptions in class VCSCommentsCustomizeroptionsMap - the map of options values.public java.util.Map getOptions()
VCSOptionsCustomizer
getOptions in interface VCSOptionsCustomizergetOptions in class VCSCommentsCustomizerpublic void clear()
public void setCommentText(java.lang.String text)
public java.lang.String getCommentText()
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||