Package org.eclipse.wst.sse.ui.internal

Examples of org.eclipse.wst.sse.ui.internal.UnknownContentTypeDialog.open()


     * if preferences allow, then try to get model again
     */
    if(model == null &&  SSEUIPlugin.getDefault().getPreferenceStore().getBoolean(EditorPreferenceNames.SHOW_UNKNOWN_CONTENT_TYPE_MSG)) {
      // display a dialog informing user of unknown content type giving them chance to update preferences
      UnknownContentTypeDialog dialog = new UnknownContentTypeDialog(getSite().getShell(), SSEUIPlugin.getDefault().getPreferenceStore(), EditorPreferenceNames.SHOW_UNKNOWN_CONTENT_TYPE_MSG);
      dialog.open();

      //try to get model again in hopes user updated preferences
      super.doSetInput(input);
      model = tryToGetModel(input);
     
View Full Code Here


     * if preferences allow, then try to get model again
     */
    if(model == null &&  SSEUIPlugin.getDefault().getPreferenceStore().getBoolean(EditorPreferenceNames.SHOW_UNKNOWN_CONTENT_TYPE_MSG)) {
      // display a dialog informing user of unknown content type giving them chance to update preferences
      UnknownContentTypeDialog dialog = new UnknownContentTypeDialog(getSite().getShell(), SSEUIPlugin.getDefault().getPreferenceStore(), EditorPreferenceNames.SHOW_UNKNOWN_CONTENT_TYPE_MSG);
      dialog.open();

      //try to get model again in hopes user updated preferences
      super.doSetInput(input);
      model = tryToGetModel(input);
     
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.