|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-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()
|
|
| 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 |
setClientSetting(ClientSetting clientSetting)
Sets the ClientSetting object from which comment template settings
will be retrieved. |
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. |
void |
setTemplatesDataKey(java.lang.String templatesDataKey)
Sets the data key used to retrieve comment templates from settings. |
| 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()
| Method Detail |
|---|
public void setRecentCommentsModel(VCSRecentCommentsModel commentsModel)
VCSCommentsCustomizer
setRecentCommentsModel in class VCSCommentsCustomizercommentsModel - the comments model object.public void setClientSetting(ClientSetting clientSetting)
VCSCommentsCustomizerClientSetting object from which comment template settings
will be retrieved. This is used in conjunction with the value established by
VCSCommentsCustomizer.setTemplatesDataKey(java.lang.String).
setClientSetting in class VCSCommentsCustomizerclientSetting - the client settings object.public void setTemplatesDataKey(java.lang.String templatesDataKey)
VCSCommentsCustomizerVCSCommentsCustomizer.setClientSetting(oracle.ide.config.ClientSetting).
setTemplatesDataKey in class VCSCommentsCustomizertemplatesDataKey - the data key.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 Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||