org.eclipse.cdt.managedbuilder.ui.properties
Class DiscoveryTab
java.lang.Object
org.eclipse.cdt.ui.newui.AbstractCPropertyTab
org.eclipse.cdt.managedbuilder.ui.properties.AbstractCBuildPropertyTab
org.eclipse.cdt.managedbuilder.ui.properties.DiscoveryTab
- All Implemented Interfaces:
- IBuildInfoContainer, ICPropertyTab
public class DiscoveryTab
- extends AbstractCBuildPropertyTab
- implements IBuildInfoContainer
Fields inherited from class org.eclipse.cdt.ui.newui.AbstractCPropertyTab |
ADD_STR, BUTTON_WIDTH, DEL_STR, EDIT_STR, EMPTY_STR, FILESYSTEM_DIR_DIALOG_MSG, FILESYSTEM_FILE_DIALOG_TITLE, FILESYSTEMBUTTON_NAME, MOVEDOWN_STR, MOVEUP_STR, page, USE_TRI_STATE, VARIABLESBUTTON_NAME, WORKSPACE_DIR_DIALOG_ERR, WORKSPACE_DIR_DIALOG_MSG, WORKSPACE_DIR_DIALOG_TITLE, WORKSPACE_FILE_DIALOG_ERR, WORKSPACE_FILE_DIALOG_MSG, WORKSPACE_FILE_DIALOG_TITLE, WORKSPACEBUTTON_NAME |
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)
Creates basic widgets for property tab. |
IScannerConfigBuilderInfo2 |
getBuildInfo()
IBuildInfoContainer methods - called from dynamic pages |
org.eclipse.cdt.core.settings.model.ICConfigurationDescription |
getConfiguration()
|
CfgInfoContext |
getContext()
|
org.eclipse.core.resources.IProject |
getProject()
|
void |
performApply(org.eclipse.cdt.core.settings.model.ICResourceDescription src,
org.eclipse.cdt.core.settings.model.ICResourceDescription dst)
Descendant tabs should implement this method so
that it copies it's data from one description
to another. |
void |
updateData(org.eclipse.cdt.core.settings.model.ICResourceDescription rcfg)
|
Methods inherited from class org.eclipse.cdt.ui.newui.AbstractCPropertyTab |
createControls, dispose, getFileSystemDirDialog, getFileSystemFileDialog, getFontMetrics, getResDesc, getVariableDialog, getWorkspaceDirDialog, getWorkspaceFileDialog, handleTabEvent, setVisible |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiscoveryTab
public DiscoveryTab()
createControls
public void createControls(org.eclipse.swt.widgets.Composite parent)
- Description copied from class:
AbstractCPropertyTab
- Creates basic widgets for property tab.
Descendants should, normally, override
this method but call super.createControls().
updateData
public void updateData(org.eclipse.cdt.core.settings.model.ICResourceDescription rcfg)
performApply
public void performApply(org.eclipse.cdt.core.settings.model.ICResourceDescription src,
org.eclipse.cdt.core.settings.model.ICResourceDescription dst)
- Description copied from class:
AbstractCPropertyTab
- Descendant tabs should implement this method so
that it copies it's data from one description
to another. Only data affected by given tab
should be copied.
canBeVisible
public boolean canBeVisible()
- Description copied from interface:
ICPropertyTab
- 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).
- Specified by:
canBeVisible
in interface ICPropertyTab
- Overrides:
canBeVisible
in class AbstractCPropertyTab
getBuildInfo
public IScannerConfigBuilderInfo2 getBuildInfo()
- IBuildInfoContainer methods - called from dynamic pages
- Specified by:
getBuildInfo
in interface IBuildInfoContainer
getContext
public CfgInfoContext getContext()
- Specified by:
getContext
in interface IBuildInfoContainer
getProject
public org.eclipse.core.resources.IProject getProject()
- Specified by:
getProject
in interface IBuildInfoContainer
getConfiguration
public org.eclipse.cdt.core.settings.model.ICConfigurationDescription getConfiguration()
- Specified by:
getConfiguration
in interface IBuildInfoContainer