Examples of ICatalogEntry


Examples of org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalogEntry

  public XMLCatalogTableViewer getTableViewer() {
    return tableViewer;
  }

  public String getURI() {
    ICatalogEntry entry = getXMLCatalogEntry();
    return entry != null ? entry.getURI() : null;
  }
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalogEntry

    ICatalogEntry entry = getXMLCatalogEntry();
    return entry != null ? entry.getURI() : null;
  }

  public ICatalogEntry getXMLCatalogEntry() {
    ICatalogEntry result = null;
    ISelection selection = tableViewer.getSelection();
    Object selectedObject = (selection instanceof IStructuredSelection) ? ((IStructuredSelection) selection).getFirstElement() : null;
    if (selectedObject instanceof ICatalogEntry) {
      result = (ICatalogEntry) selectedObject;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.