public final class TabContents extends Object
Constructor and Description |
---|
TabContents() |
Modifier and Type | Method and Description |
---|---|
void |
aboutToBeHidden()
Sends the lifecycle event to the page's sections.
|
void |
aboutToBeShown()
Sends the lifecycle event to the page's sections.
|
boolean |
controlsHaveBeenCreated()
Determine if the controls have been created.
|
void |
createControls(Composite parent,
TabbedPropertySheetPage page)
Creates page's sections controls.
|
void |
dispose()
Dispose of page's sections controls.
|
ISection |
getSectionAtIndex(int i)
Retrieve the section at a numbered index.
|
int |
getSectionIndex(ISection section)
Retrieve a numbered index for the section.
|
ISection[] |
getSections()
Retrieve the sections on the tab.
|
void |
refresh()
If controls have been created, refresh all sections on the page.
|
void |
setInput(IWorkbenchPart part,
ISelection selection)
Sets page's sections input objects.
|
void |
setSections(ISection[] sections)
Set the sections for the tab.
|
public int getSectionIndex(ISection section)
section
- the section.public ISection getSectionAtIndex(int i)
i
- a numbered index.public ISection[] getSections()
public void createControls(Composite parent, TabbedPropertySheetPage page)
parent
- page
- public void dispose()
public void aboutToBeShown()
public void aboutToBeHidden()
public void setInput(IWorkbenchPart part, ISelection selection)
part
- selection
- public void setSections(ISection[] sections)
sections
- the sections for the tab.public boolean controlsHaveBeenCreated()
true
if controls have been created.public void refresh()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.