Class AbstractLanguage
java.lang.Object
org.libreoffice.ide.eclipse.core.model.language.AbstractLanguage
Base class for the language extensions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidconfigureSourceLocator(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) When in debug mode, we have to configure the appropriate source locator for the respective language.abstract voidconnectDebuggerToOffice(IUnoidlProject prj, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IPath userInstallation, org.eclipse.core.runtime.IProgressMonitor monitor) Launch OpenOffice for debugging and connect the eclipse debugger to it.abstract ILanguageBuildergetName()abstract IProjectHandlerprotected voidsetConfigurationElement(org.eclipse.core.runtime.IConfigurationElement config)
-
Constructor Details
-
AbstractLanguage
public AbstractLanguage()
-
-
Method Details
-
setConfigurationElement
protected void setConfigurationElement(org.eclipse.core.runtime.IConfigurationElement config) - Parameters:
config- the configuration element for the language
-
getName
- Returns:
- the language display name
-
getNewWizardPage
- Returns:
- the wizard page for the New UNO project wizard or
nullif none has been defined.
-
getExportBuildPart
- Returns:
- the export build part for the UNO export wizard or
nullif none has been defined.
-
getProjectHandler
- Returns:
- the utility class for projects handling.
-
getLanguageBuilder
- Returns:
- the utility class for building.
-
connectDebuggerToOffice
public abstract void connectDebuggerToOffice(IUnoidlProject prj, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IPath userInstallation, org.eclipse.core.runtime.IProgressMonitor monitor) Launch OpenOffice for debugging and connect the eclipse debugger to it. Currently only Java debugging is supported.- Parameters:
prj- the target project.launch- the launch configuration to add our debug target to.userInstallation- user profile.monitor- monitor to report progress to.
-
configureSourceLocator
public abstract void configureSourceLocator(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) throws org.eclipse.core.runtime.CoreException When in debug mode, we have to configure the appropriate source locator for the respective language. The rest will be taken care by theSourceLookupTab.- Parameters:
configuration- the configuration to add extra attributes to.- Throws:
org.eclipse.core.runtime.CoreException- if something went wrong.
-