Examples of IContentDescription


Examples of org.eclipse.core.runtime.content.IContentDescription

    if (file != null) {
      try {
        IContentTypeManager contentTypeManager = Platform
            .getContentTypeManager();

        IContentDescription contentDescription = file
            .getContentDescription();
        IContentType phpContentType = contentTypeManager
            .getContentType(ContentTypeIdForPHP.ContentTypeID_PHP);
        if (contentDescription != null) {
          IContentType fileContentType = contentDescription
              .getContentType();

          if (phpContentType != null) {
            if (fileContentType.isKindOf(phpContentType)) {
              result = true;
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.