use of com.liferay.ide.project.ui.dialog.PluginTypeDescriptionDialog in project liferay-ide by liferay.
the class OpenPluginTypeDescriptionDialogAction method run.
@Override
protected Object run(Presentation context) {
if (context instanceof SwtPresentation) {
final SwtPresentation swt = (SwtPresentation) context;
final NewLiferayPluginProjectOp op = getModelElement().nearest(NewLiferayPluginProjectOp.class);
final PluginTypeDescriptionDialog dialog = new PluginTypeDescriptionDialog(swt.shell(), op, DefinitionLoader.sdef(NewLiferayPluginProjectWizard.class).dialog("PluginTypeDescription"));
dialog.setBlockOnOpen(false);
dialog.open();
}
return null;
}
Aggregations