Class AbstractLanguage
- java.lang.Object
-
- org.libreoffice.ide.eclipse.core.model.language.AbstractLanguage
-
public abstract class AbstractLanguage extends java.lang.ObjectBase class for the language extensions.
-
-
Constructor Summary
Constructors Constructor Description AbstractLanguage()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidconfigureSourceLocator(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy pConfiguration)When in debug mode, we have to configure the appropriate source locator for the respective language.abstract voidconnectDebuggerToOffice(IUnoidlProject pPrj, org.eclipse.debug.core.ILaunch pLaunch, org.eclipse.core.runtime.IPath pUserInstallation, org.eclipse.core.runtime.IProgressMonitor pMonitor)Launch OpenOffice for debugging and connect the eclipse debugger to it.LanguageExportPartgetExportBuildPart()abstract ILanguageBuildergetLanguageBuilder()java.lang.StringgetName()LanguageWizardPagegetNewWizardPage()abstract IProjectHandlergetProjectHandler()protected voidsetConfigurationElement(org.eclipse.core.runtime.IConfigurationElement pConfig)
-
-
-
Method Detail
-
setConfigurationElement
protected void setConfigurationElement(org.eclipse.core.runtime.IConfigurationElement pConfig)
- Parameters:
pConfig- the configuration element for the language
-
getName
public java.lang.String getName()
- Returns:
- the language display name
-
getNewWizardPage
public LanguageWizardPage getNewWizardPage()
- Returns:
- the wizard page for the New UNO project wizard or
nullif none has been defined.
-
getExportBuildPart
public LanguageExportPart getExportBuildPart()
- Returns:
- the export build part for the UNO export wizard or
nullif none has been defined.
-
getProjectHandler
public abstract IProjectHandler getProjectHandler()
- Returns:
- the utility class for projects handling.
-
getLanguageBuilder
public abstract ILanguageBuilder getLanguageBuilder()
- Returns:
- the utility class for building.
-
connectDebuggerToOffice
public abstract void connectDebuggerToOffice(IUnoidlProject pPrj, org.eclipse.debug.core.ILaunch pLaunch, org.eclipse.core.runtime.IPath pUserInstallation, org.eclipse.core.runtime.IProgressMonitor pMonitor)
Launch OpenOffice for debugging and connect the eclipse debugger to it. Currently only Java debugging is supported.- Parameters:
pPrj- the target project.pLaunch- the launch configuration to add our debug target to.pUserInstallation- user profile.pMonitor- monitor to report progress to.
-
configureSourceLocator
public abstract void configureSourceLocator(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy pConfiguration) throws org.eclipse.core.runtime.CoreExceptionWhen in debug mode, we have to configure the appropriate source locator for the respective language. The rest will be taken care by theSourceLookupTab.- Parameters:
pConfiguration- the configuration to add extra attributes to.- Throws:
org.eclipse.core.runtime.CoreException- if something went wrong.
-
-