|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.team.ui.synchronize.AbstractSynchronizeScope
Abstract superclass of resource scopes for SubscriberParticipant
instances.
Clients are not expected to subclass this class.
SubscriberParticipant
Field Summary |
---|
Fields inherited from interface org.eclipse.team.ui.synchronize.ISynchronizeScope |
---|
NAME, ROOTS |
Constructor Summary | |
---|---|
protected |
AbstractSynchronizeScope()
Constructor a scope from scratch |
protected |
AbstractSynchronizeScope(IMemento memento)
Constructor a scope from a previously saved state |
Method Summary | |
---|---|
void |
addPropertyChangeListener(IPropertyChangeListener listener)
Add a property change listener that will get invoked when a property of the receiver changes. |
protected static ISynchronizeScope |
createScope(IMemento settings)
Restore a scope from the given memento |
void |
dispose()
Dispose of the scope when it is no longer needed. |
protected void |
firePropertyChangedEvent(PropertyChangeEvent event)
Fires the given property change event to all registered listeners. |
protected void |
fireRootsChanges()
Fires a change event for property ISynchronizeScope.ROOTS
containing the new roots. |
protected void |
init(IMemento memento)
Method invoked from the constructor which repopulates the fields of this scope |
void |
removePropertyChangeListener(IPropertyChangeListener listener)
Remove a property change listener. |
protected static void |
saveScope(ISynchronizeScope scope,
IMemento settings)
Save the scope to the given memento |
void |
saveState(IMemento memento)
Persist the state of this scope. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.team.ui.synchronize.ISynchronizeScope |
---|
getName, getRoots |
Constructor Detail |
protected AbstractSynchronizeScope()
protected AbstractSynchronizeScope(IMemento memento)
Method Detail |
protected static void saveScope(ISynchronizeScope scope, IMemento settings)
scope
- a scopesettings
- a mementoprotected static ISynchronizeScope createScope(IMemento settings)
settings
- a memento
public void addPropertyChangeListener(IPropertyChangeListener listener)
ISynchronizeScope
addPropertyChangeListener
in interface ISynchronizeScope
listener
- public void removePropertyChangeListener(IPropertyChangeListener listener)
ISynchronizeScope
removePropertyChangeListener
in interface ISynchronizeScope
listener
- public void dispose()
ISynchronizeScope
dispose
in interface ISynchronizeScope
protected void firePropertyChangedEvent(PropertyChangeEvent event)
event
- the property change event to be firedprotected void fireRootsChanges()
ISynchronizeScope.ROOTS
containing the new roots. The old roots are not provided in the event.
public void saveState(IMemento memento)
memento
- the memento into which the scope is to be savedprotected void init(IMemento memento)
memento
- the memento into which the scope was previously saved
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.