|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.ui.newui.AbstractCPropertyTab
org.eclipse.cdt.ui.newui.AbstractLangsListTab
public abstract class AbstractLangsListTab
Field Summary |
---|
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 |
Fields inherited from interface org.eclipse.cdt.ui.newui.ICPropertyTab |
---|
APPLY, CANCEL, DEFAULTS, DISPOSE, MANAGEDBUILDSTATE, MAXCOMMON, OK, SET_ICON, UPDATE, VISIBLE |
Constructor Summary | |
---|---|
AbstractLangsListTab()
|
Method Summary | |
---|---|
void |
additionalTableSet()
|
void |
buttonPressed(int i)
Unified buttons handler |
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. |
abstract org.eclipse.cdt.core.settings.model.ICLanguageSettingEntry |
doAdd()
|
abstract org.eclipse.cdt.core.settings.model.ICLanguageSettingEntry |
doEdit(org.eclipse.cdt.core.settings.model.ICLanguageSettingEntry ent)
|
abstract int |
getKind()
|
org.eclipse.cdt.core.settings.model.ICLanguageSetting[] |
getLangSetting(org.eclipse.cdt.core.settings.model.ICResourceDescription rcDes)
|
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 |
update()
Called when language changed or item added/edited/removed. |
void |
update(int shift)
|
void |
updateData(org.eclipse.cdt.core.settings.model.ICResourceDescription cfg)
Called when configuration changed Refreshes languages list and calls table refresh. |
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 |
Constructor Detail |
---|
public AbstractLangsListTab()
Method Detail |
---|
public void createControls(org.eclipse.swt.widgets.Composite parent)
AbstractCPropertyTab
public abstract int getKind()
public abstract org.eclipse.cdt.core.settings.model.ICLanguageSettingEntry doAdd()
public abstract org.eclipse.cdt.core.settings.model.ICLanguageSettingEntry doEdit(org.eclipse.cdt.core.settings.model.ICLanguageSettingEntry ent)
public void additionalTableSet()
public void update()
public void update(int shift)
public void updateData(org.eclipse.cdt.core.settings.model.ICResourceDescription cfg)
public void buttonPressed(int i)
i
- : number of button pressed
Does nothing by default.
May (but not must) be overridden.public void performApply(org.eclipse.cdt.core.settings.model.ICResourceDescription src, org.eclipse.cdt.core.settings.model.ICResourceDescription dst)
AbstractCPropertyTab
public org.eclipse.cdt.core.settings.model.ICLanguageSetting[] getLangSetting(org.eclipse.cdt.core.settings.model.ICResourceDescription rcDes)
public boolean canBeVisible()
ICPropertyTab
canBeVisible
in interface ICPropertyTab
canBeVisible
in class AbstractCPropertyTab
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |