use of org.eclipse.jdt.internal.ui.javaeditor.JarEntryEditorInput in project liferay-ide by liferay.
the class Editor method getItemSet.
public ItemSet getItemSet() {
if (null == this.itemSet) {
IResource resource = null;
if (getEditorInput() instanceof IFileEditorInput) {
resource = ((IFileEditorInput) getEditorInput()).getFile();
} else if (getEditorInput() instanceof JarEntryEditorInput) {
resource = null;
}
this.itemSet = new ItemSet(getSourceViewer(), resource);
}
return this.itemSet;
}
Aggregations