gpt4 book ai didi

org.eclipse.wst.common.frameworks.internal.WTPPlugin.start()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-26 21:53:05 27 4
gpt4 key购买 nike

本文整理了Java中org.eclipse.wst.common.frameworks.internal.WTPPlugin.start()方法的一些代码示例,展示了WTPPlugin.start()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WTPPlugin.start()方法的具体详情如下:
包路径:org.eclipse.wst.common.frameworks.internal.WTPPlugin
类名称:WTPPlugin
方法名:start

WTPPlugin.start介绍

暂无

代码示例

代码示例来源:origin: org.eclipse/org.eclipse.jst.jsf.core

/**
 * This method is called upon plug-in activation
 * @param context 
 * @throws Exception 
 */
public void start(BundleContext context) throws Exception {
  super.start(context);
}

代码示例来源:origin: org.eclipse/org.eclipse.jst.jee

public void start(BundleContext context) throws Exception {
  super.start(context);
  plugin = this;
}

代码示例来源:origin: org.eclipse/org.eclipse.jst.j2ee.webservice

/**
 * Called once by the platform when this plugin is first loaded.
 * 
 * @throws CoreException
 *             If this plugin fails to start.
 */
public void start(BundleContext context) throws Exception {
  super.start(context);
}

代码示例来源:origin: org.eclipse/org.eclipse.jst.j2ee.ejb

public void start(BundleContext context) throws Exception {
  super.start(context); 
}

代码示例来源:origin: org.eclipse/org.eclipse.wst.validation

/**
 * @see Plugin#startup()
 */
public void start(BundleContext context) throws Exception {
  super.start(context);
  ResourcesPlugin.getWorkspace().addResourceChangeListener(EventManager.getManager(), IResourceChangeEvent.PRE_CLOSE | IResourceChangeEvent.PRE_DELETE | IResourceChangeEvent.POST_BUILD | IResourceChangeEvent.PRE_BUILD | IResourceChangeEvent.POST_CHANGE);
}

代码示例来源:origin: org.eclipse/org.eclipse.jst.j2ee

public void start(BundleContext context) throws Exception {
  super.start(context);
      
  J2EEXmlDtDEntityResolver.INSTANCE = new CatalogJ2EEXmlDtDEntityResolver();
  DOMUtilities.setDefaultEntityResolver(J2EEXmlDtDEntityResolver.INSTANCE); 
  //Have to do the next line immediately to fix timing problems with factory registration
  ArchiveInit.init(false);
    
  //ModuleMaps are the maps from modules in an ear project to the j2ee projects for the
  // modules
  org.eclipse.jst.j2ee.internal.earcreation.modulemap.ModulemapInit.init(false);
  ensureFactoryRegistration();
  ValidatorManager.setResourceUtilClass(ResourceUtil.class);
  IAdapterManager manager = Platform.getAdapterManager();
  manager.registerAdapters(new EarEditAdapterFactory(), ArtifactEditModel.class);
  manager.registerAdapters(new AppClientEditAdapterFactory(), ArtifactEditModel.class);
  manager.registerAdapters(new VirtualArchiveComponentAdapterFactory(), VirtualArchiveComponent.class );
  
  final ProjectRefactoringListener listener = new ProjectRefactoringListener();//ProjectDependencyCache.getCache());
  // register the project rename/delete refactoring listener
  ResourcesPlugin.getWorkspace().addResourceChangeListener(listener,
      IResourceChangeEvent.POST_CHANGE | IResourceChangeEvent.PRE_DELETE);
  
  // register the IElementChangedLister that updates the .component file in 
  // response to .classpath changes
  JavaCore.addElementChangedListener(new J2EEElementChangedListener(), ElementChangedEvent.POST_CHANGE);
  
  ResourcesPlugin.getWorkspace().addResourceChangeListener(J2EEComponentClasspathUpdater.getInstance(), IResourceChangeEvent.POST_CHANGE | IResourceChangeEvent.PRE_CLOSE | IResourceChangeEvent.PRE_DELETE);
}

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com