Search in sources :

Example 1 with PropertiesFileEditor

use of org.eclipse.jdt.internal.ui.propertiesfileeditor.PropertiesFileEditor in project liferay-ide by liferay.

the class PluginPackageEditor method _addPropertiesEditorPage.

private void _addPropertiesEditorPage() {
    editor = new PropertiesFileEditor();
    ((PluginPackageModel) getModel()).addModelChangedListener(this);
    // editor.setEditorPart(this);
    int index;
    try {
        index = addPage(editor, getEditorInput());
        setPageText(index, Msgs.source);
    } catch (PartInitException pie) {
        PortletUIPlugin.logError(pie);
    }
}
Also used : PluginPackageModel(com.liferay.ide.portlet.core.PluginPackageModel) PartInitException(org.eclipse.ui.PartInitException) PropertiesFileEditor(org.eclipse.jdt.internal.ui.propertiesfileeditor.PropertiesFileEditor)

Aggregations

PluginPackageModel (com.liferay.ide.portlet.core.PluginPackageModel)1 PropertiesFileEditor (org.eclipse.jdt.internal.ui.propertiesfileeditor.PropertiesFileEditor)1 PartInitException (org.eclipse.ui.PartInitException)1