|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.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 VCSCommentsCustomizer
commentsModel
- the comments model object.public void setClientSetting(ClientSetting clientSetting)
VCSCommentsCustomizer
ClientSetting
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 VCSCommentsCustomizer
clientSetting
- the client settings object.public void setTemplatesDataKey(java.lang.String templatesDataKey)
VCSCommentsCustomizer
VCSCommentsCustomizer.setClientSetting(oracle.ide.config.ClientSetting)
.setTemplatesDataKey
in class VCSCommentsCustomizer
templatesDataKey
- 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 VCSOptionsCustomizer
setOptions
in class VCSCommentsCustomizer
optionsMap
- the map of options values.public java.util.Map getOptions()
VCSOptionsCustomizer
getOptions
in interface VCSOptionsCustomizer
getOptions
in class VCSCommentsCustomizer
public 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.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |