public class NewTextTablesWithLanguageComposite
extends Composite
Constructor and Description |
---|
NewTextTablesWithLanguageComposite(Composite parent,
ModuleModel model,
int marginLeft,
int marginRight,
int marginTop,
int marginBottom,
ValidatorManager validatorManager,
int widthHint,
String baseTextTableName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
createTextFiles(ModuleModel model,
Map<Atom,KString> moreTexts,
IProgressMonitor monitor)
Creates the text files.
|
String |
getBaseName()
Gets the first text table base name.
|
IFile[] |
getCreatedFiles()
Returns the files created.
|
void |
openInParallel(Display display,
Shell shell)
Opens the text files in an editor part in parallel.
|
void |
setInitialFocus()
Sets the focus to the base name.
|
public NewTextTablesWithLanguageComposite(Composite parent, ModuleModel model, int marginLeft, int marginRight, int marginTop, int marginBottom, ValidatorManager validatorManager, int widthHint, String baseTextTableName)
parent
- The parent composite.model
- The module model for the text files.marginLeft
- Left margin.marginRight
- Right margin.marginTop
- Top margin.marginBottom
- Bottom margin.validatorManager
- Verification callback to display message.widthHint
- Hint of width of page composite.baseTextTableName
- The name of the base text table, null for none.public void setInitialFocus()
public void createTextFiles(ModuleModel model, Map<Atom,KString> moreTexts, IProgressMonitor monitor) throws CoreException
model
- Module model.moreTexts
- Additional text to put in the text table, null for none.CoreException
- For errors.public String getBaseName()
public void openInParallel(Display display, Shell shell)
display
- The display.shell
- The shell.public IFile[] getCreatedFiles()
iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.