public class UnoProjectPulldownAction extends AbstractPulldownAction
<wizard
canFinishEarly="false"
category="org.libreoffice.ide.eclipse.core"
hasPages="true"
icon="icons/newunoproject.gif"
id="org.libreoffice.ide.eclipse.core.newunoproject"
name="%wizards.unoidlproject"
project="true">
<class class="org.libreoffice.ide.eclipse.core.wizards.NewUnoProjectWizard">
<parameter name="unoproject" value="true"/>
</class>
<description>
Create an empty UNO component with a service and it's implementation.
</description>
</wizard>
| Constructor and Description |
|---|
UnoProjectPulldownAction()
Projects pulldown actions constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValidSelection(org.eclipse.jface.viewers.IStructuredSelection pSelection)
Check if the selection is valid, and if the pulldown action can be enabled.
|
void |
run(org.eclipse.jface.action.IAction pAction) |
dispose, getMenu, init, openWizard, selectionChangedpublic UnoProjectPulldownAction()
public void run(org.eclipse.jface.action.IAction pAction)
public boolean isValidSelection(org.eclipse.jface.viewers.IStructuredSelection pSelection)
isValidSelection in class AbstractPulldownActionpSelection - the current selectiontrue if the wizards can be launched.