org.eclipse.cdt.ui.newui
Interface ICPropertyTab

All Known Implementing Classes:
AbstractCBuildPropertyTab, AbstractCPropertyTab, AbstractExportTab, AbstractLangsListTab, ArtifactTab, BinaryParsTab, BuildBehaviourTab, BuilderSettingsTab, BuildStepsTab, CBuildLocationOutputTab, CLocationOutputTab, CLocationSourceTab, CLocationTab, CPropertyVarsTab, DiscoveryTab, EnvironmentTab, ErrorParsTab, ExpIncludeTab, ExpLibraryPathTab, ExpLibraryTab, ExpSymbolTab, IncludeTab, LibraryPathTab, LibraryTab, PreferredToolchainsTab, PropertyPageDefsTab, RefsTab, StructureTreeTab, SymbolTab, ToolChainEditTab, ToolSettingsTab, WizardDefaultsTab

public interface ICPropertyTab

Interface for tabs in new CDT model. All tabs available via extension point "org.eclipse.cdt.managedbuilder.ui.cPropertyTab" should implement this interface.


Field Summary
static int APPLY
           
static int CANCEL
           
static int DEFAULTS
           
static int DISPOSE
           
static int MANAGEDBUILDSTATE
           
static int MAXCOMMON
           
static int OK
           
static int SET_ICON
           
static int UPDATE
           
static int VISIBLE
           
 
Method Summary
 boolean canBeVisible()
          Returns true (by default) if page's contents is correct Returns false if page cannot be shown because it does not fit to other settings (for example, managed build settings are not possible when managed build is off).
 void createControls(org.eclipse.swt.widgets.Composite parent, ICPropertyProvider provider)
          Creation of all visible elements
 void handleTabEvent(int kind, java.lang.Object data)
          Handle events sent by another tabs or pages Most of them are processed in AbstractCPropertyTab but this functionality can be overridden partially or fully.
 

Field Detail

OK

static final int OK
See Also:
Constant Field Values

APPLY

static final int APPLY
See Also:
Constant Field Values

CANCEL

static final int CANCEL
See Also:
Constant Field Values

DEFAULTS

static final int DEFAULTS
See Also:
Constant Field Values

UPDATE

static final int UPDATE
See Also:
Constant Field Values

VISIBLE

static final int VISIBLE
See Also:
Constant Field Values

DISPOSE

static final int DISPOSE
See Also:
Constant Field Values

SET_ICON

static final int SET_ICON
See Also:
Constant Field Values

MAXCOMMON

static final int MAXCOMMON
See Also:
Constant Field Values

MANAGEDBUILDSTATE

static final int MANAGEDBUILDSTATE
See Also:
Constant Field Values
Method Detail

createControls

void createControls(org.eclipse.swt.widgets.Composite parent,
                    ICPropertyProvider provider)
Creation of all visible elements

Parameters:
parent - - composite where widgets should be created
provider - - underlying page

handleTabEvent

void handleTabEvent(int kind,
                    java.lang.Object data)
Handle events sent by another tabs or pages Most of them are processed in AbstractCPropertyTab but this functionality can be overridden partially or fully.

Parameters:
kind - - message ID (see AbstractCPropertyTab)
data - - additional info, depanding of message kind.

canBeVisible

boolean canBeVisible()
Returns true (by default) if page's contents is correct Returns false if page cannot be shown because it does not fit to other settings (for example, managed build settings are not possible when managed build is off).