|
Eclipse Platform Pre-release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.team.ui.synchronize.TeamSubscriberParticipantPage
A synchronize view page that works with participants that are subclasses of
TeamSubscriberParticipant. It shows changes in the tree or table view
and supports navigation, opening, and filtering changes.
Clients can subclass to extend the label decoration or add action bar contributions. For more extensive modifications, clients should create their own custom control.
| Field Summary | |
static int[] |
BOTH_MODE_FILTER
|
static int[] |
CONFLICTING_MODE_FILTER
|
static int[] |
INCOMING_MODE_FILTER
|
static int[] |
OUTGOING_MODE_FILTER
|
| Constructor Summary | |
TeamSubscriberParticipantPage(TeamSubscriberParticipant page,
ISynchronizeView view,
org.eclipse.team.internal.ui.synchronize.sets.SubscriberInput input)
Constructs a new SynchronizeView. |
|
| Method Summary | |
void |
collapseAll()
|
void |
createControl(Composite parent)
Creates the SWT control for this page under the given parent control. |
void |
dispose()
Disposes of this page. |
Object |
getAdapter(Class key)
This method enables "Show In" support for this view |
Control |
getControl()
Returns the SWT control for this page. |
org.eclipse.team.internal.ui.synchronize.sets.SubscriberInput |
getInput()
|
protected ILabelProvider |
getLabelProvider()
|
TeamSubscriberParticipant |
getParticipant()
|
IPageSite |
getSite()
Returns the site for this page. |
ISynchronizeView |
getSynchronizeView()
|
StructuredViewer |
getViewer()
|
void |
init(IPageSite site)
Initializes this page with the given page site. |
void |
propertyChange(PropertyChangeEvent event)
Notification that a property has changed. |
void |
selectAll()
|
void |
setActionBars(IActionBars actionBars)
Allows the page to make contributions to the given action bars. |
void |
setFocus()
Asks this page to take focus within its pagebook view. |
void |
switchViewerType(int viewerType)
Toggles between label/tree/table viewers. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int[] INCOMING_MODE_FILTER
public static final int[] OUTGOING_MODE_FILTER
public static final int[] BOTH_MODE_FILTER
public static final int[] CONFLICTING_MODE_FILTER
| Constructor Detail |
public TeamSubscriberParticipantPage(TeamSubscriberParticipant page,
ISynchronizeView view,
org.eclipse.team.internal.ui.synchronize.sets.SubscriberInput input)
| Method Detail |
public void createControl(Composite parent)
IPageClients should not call this method (the workbench calls this method when it needs to, which may be never).
createControl in interface IPageparent - the parent control
public void init(IPageSite site)
throws PartInitException
IPageBookViewPageThis method is automatically called by the workbench shortly after page construction. It marks the start of the pages's lifecycle. Clients must not call this method.
init in interface IPageBookViewPagesite - the page site
PartInitException - if this page was not initialized successfullypublic void switchViewerType(int viewerType)
protected ILabelProvider getLabelProvider()
public void setFocus()
IPage
setFocus in interface IPagepublic StructuredViewer getViewer()
public void dispose()
IPage
This is the last method called on the IPage. Implementors should
clean up any resources associated with the page.
Note that there is no guarantee that createControl() has been called, so the control may never have been created.
dispose in interface IPagepublic org.eclipse.team.internal.ui.synchronize.sets.SubscriberInput getInput()
public void collapseAll()
public Object getAdapter(Class key)
IAdaptable.getAdapter(java.lang.Class)public void selectAll()
public Control getControl()
IPage
getControl in interface IPagenull if this
page does not have a controlpublic void setActionBars(IActionBars actionBars)
IPage
This method is automatically called shortly after
createControl is called
setActionBars in interface IPageactionBars - the action bars for this pagepublic IPageSite getSite()
IPageBookViewPagenull
if no site has been set.
getSite in interface IPageBookViewPagenullpublic void propertyChange(PropertyChangeEvent event)
IPropertyChangeListenerThis method gets called when the observed object fires a property change event.
propertyChange in interface IPropertyChangeListenerevent - the property change event object describing which property
changed and howpublic TeamSubscriberParticipant getParticipant()
public ISynchronizeView getSynchronizeView()
|
Eclipse Platform Pre-release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||