List of usage examples for com.google.gwt.eclipse.oophm.model WebAppDebugModelEvent getElement
public T getElement()
From source file:org.jboss.tools.maven.gwt.MavenGwtDebugModeListener.java
License:Open Source License
@Override public void launchConfigurationRestartWebServerStatusChanged(WebAppDebugModelEvent<LaunchConfiguration> arg0) { try {// w ww . ja v a 2 s .c o m LaunchConfiguration lc = arg0.getElement(); IProject project = LaunchConfigurationUtilities.getProject(lc.getLaunch().getLaunchConfiguration()); if (project.hasNature(IMavenConstants.NATURE_ID)) { project.refreshLocal(IResource.DEPTH_INFINITE, null); } } catch (CoreException e) { e.printStackTrace(); } }