|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IResourceChangeUpdater
Instances of this class are invoked to perform the updates required due to resource changes.
| Method Summary | |
|---|---|
boolean |
add(org.eclipse.core.resources.IResource parent,
org.eclipse.core.resources.IResource[] affectedResources)
Invoked after the resources in affectedResources were
added to parent. |
void |
ended()
Invoked at the end of the change notification. |
boolean |
isActive()
Returns whether this resource change updater is active. |
void |
refreshContent(org.eclipse.core.resources.IResource affectedResource)
|
boolean |
remove(org.eclipse.core.resources.IResource parent,
org.eclipse.core.resources.IResource[] affectedResources)
Invoked after the resources in affectedResources were
removed from parent. |
boolean |
replaced(org.eclipse.core.resources.IResource affectedResource)
Invoked after the resource was replaced - for example when it is
deleted and recreated |
void |
setActive(boolean enable)
Sets whether this resource change updater is active. |
void |
started()
Invoked at the beginning of the change notification. |
boolean |
updateChildrenType(org.eclipse.core.resources.IResource affectedResource)
Invoked after at least one of the child of the resource had their
type changed. |
boolean |
updateContent(org.eclipse.core.resources.IResource parent,
org.eclipse.core.resources.IResource affectedResource)
Invoked after a content change in the specified resource. |
boolean |
updateProperties(org.eclipse.core.resources.IResource affectedResource)
Invoked after some properties of the resource were changed. |
| Methods inherited from interface org.eclipse.hyades.ui.util.IDisposable |
|---|
dispose |
| Method Detail |
|---|
void started()
void ended()
boolean add(org.eclipse.core.resources.IResource parent,
org.eclipse.core.resources.IResource[] affectedResources)
affectedResources were
added to parent.
parent - affectedResources -
true if there was a full refresh of the resource
or false otherwise. Normally no more resource change analysis
if this method returns true.
boolean remove(org.eclipse.core.resources.IResource parent,
org.eclipse.core.resources.IResource[] affectedResources)
affectedResources were
removed from parent.
parent - affectedResources -
true if there was a full refresh of the resource
or false otherwise. Normally no more resource change analysis
if this method returns true.boolean replaced(org.eclipse.core.resources.IResource affectedResource)
resource was replaced - for example when it is
deleted and recreated
affectedResource -
true if there was a full refresh of the resource
or false otherwise. Normally no more resource change analysis
if this method returns true.boolean updateProperties(org.eclipse.core.resources.IResource affectedResource)
resource were changed.
affectedResource -
true if there was a full refresh of the resource
or false otherwise. Normally no more resource change analysis
if this method returns true.boolean updateChildrenType(org.eclipse.core.resources.IResource affectedResource)
resource had their
type changed.
affectedResource -
true if there was a full refresh of the resource
or false otherwise. Normally no more resource change analysis
if this method returns true.
boolean updateContent(org.eclipse.core.resources.IResource parent,
org.eclipse.core.resources.IResource affectedResource)
parent - resourceaffectedResource -
true if there was a full refresh of the resource
or false otherwise. Normally no more resource change analysis
if this method returns true.void setActive(boolean enable)
enable - boolean isActive()
void refreshContent(org.eclipse.core.resources.IResource affectedResource)
|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||