Package net.sf.graphiti.model

Examples of net.sf.graphiti.model.IValidator.validate()


   */
  private void validate() {
    removeMarkers();
    IFile file = ((IFileEditorInput) getEditorInput()).getFile();
    IValidator validator = graph.getConfiguration().getValidator();
    if (!validator.validate(graph, file)) {
      // activate problems view
      IWorkbenchPage page = PlatformUI.getWorkbench()
          .getActiveWorkbenchWindow().getActivePage();
      try {
        page.showView(IPageLayout.ID_PROBLEM_VIEW);
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.