|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.sconman.SCMEventListenerAdapter
public class SCMEventListenerAdapter
Convenience class for writting ISCMEventListener
implementations
Constructor Summary | |
---|---|
SCMEventListenerAdapter()
|
Method Summary | |
---|---|
void |
afterAddContent(Content content)
Called after a content is added |
void |
afterAddRelationship(Content content,
Content relatedContent)
Called after a relationship has been established between two contents |
void |
afterModifyContent(Content content)
Called after a content is lastAccessed |
void |
afterModifyRelatedContent(Content content)
Called after a related content has been lastAccessed |
void |
afterRemoveContent(Content content)
Called after a content is removed |
void |
afterRemoveRelationship(Content content,
Content relatedContent)
Called after a relationship is removed |
void |
afterSaveProject(Project project)
Called after saving the project |
void |
beforeAddContent(Content content)
Called before a content is added |
void |
beforeAddRelationship(Content content,
Content relatedContent)
Called before a relationship is established between two contents |
void |
beforeModifyContent(Content content)
Called before a content is lastAccessed |
void |
beforeRemoveContent(Content content)
Called before a content is removed |
void |
beforeRemoveRelationship(Content content,
Content relatedContent)
Called before a relationship is removed |
void |
beforeSaveProject(Project project)
Called before project saves |
void |
onCategoryAdded(Category parent,
Category newCategory)
Called after a category has been added |
void |
onCategoryModified(Category category)
Called after a category has been lastAccessed |
void |
onCategoryRemoved(Category parent,
java.lang.String oldCategoryPath)
Called after a category has been removed |
void |
onChangeProperty(Category category,
java.lang.String changedProperty)
Called after a category property has been changed |
void |
onClose(Project project)
Called when the project instance is closed to be discarded |
void |
onLoadProject()
Called after project loading |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SCMEventListenerAdapter()
Method Detail |
---|
public void beforeAddContent(Content content)
ISCMEventListener
beforeAddContent
in interface ISCMEventListener
public void afterAddContent(Content content)
ISCMEventListener
afterAddContent
in interface ISCMEventListener
public void beforeRemoveContent(Content content)
ISCMEventListener
beforeRemoveContent
in interface ISCMEventListener
public void afterRemoveContent(Content content)
ISCMEventListener
afterRemoveContent
in interface ISCMEventListener
public void beforeModifyContent(Content content)
ISCMEventListener
beforeModifyContent
in interface ISCMEventListener
public void afterModifyContent(Content content)
ISCMEventListener
afterModifyContent
in interface ISCMEventListener
public void onLoadProject()
ISCMEventListener
onLoadProject
in interface ISCMEventListener
public void beforeSaveProject(Project project)
ISCMEventListener
beforeSaveProject
in interface ISCMEventListener
public void onChangeProperty(Category category, java.lang.String changedProperty)
ISCMEventListener
onChangeProperty
in interface ISCMEventListener
category
- The category whose property has changedchangedProperty
- The property that has changedpublic void onCategoryAdded(Category parent, Category newCategory)
ISCMEventListener
onCategoryAdded
in interface ISCMEventListener
parent
- The parent categorynewCategory
- The category that has been addedpublic void onCategoryRemoved(Category parent, java.lang.String oldCategoryPath)
ISCMEventListener
onCategoryRemoved
in interface ISCMEventListener
parent
- The parent category that looses a childoldCategoryPath
- The old path to the removed categorypublic void onCategoryModified(Category category)
ISCMEventListener
onCategoryModified
in interface ISCMEventListener
category
- The lastAccessed categorypublic void beforeAddRelationship(Content content, Content relatedContent)
ISCMEventListener
beforeAddRelationship
in interface ISCMEventListener
public void afterAddRelationship(Content content, Content relatedContent)
ISCMEventListener
afterAddRelationship
in interface ISCMEventListener
public void beforeRemoveRelationship(Content content, Content relatedContent)
ISCMEventListener
beforeRemoveRelationship
in interface ISCMEventListener
public void afterRemoveRelationship(Content content, Content relatedContent)
ISCMEventListener
afterRemoveRelationship
in interface ISCMEventListener
public void afterModifyRelatedContent(Content content)
ISCMEventListener
afterModifyRelatedContent
in interface ISCMEventListener
public void afterSaveProject(Project project)
ISCMEventListener
afterSaveProject
in interface ISCMEventListener
public void onClose(Project project)
ISCMEventListener
onClose
in interface ISCMEventListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |