2015-10-22 00:05:29 +02:00
|
|
|
/*******************************************************************************
|
2015-10-22 00:25:12 +02:00
|
|
|
* Copyright (c) 2015 MINRES Technologies GmbH and others.
|
2015-10-22 00:05:29 +02:00
|
|
|
* All rights reserved. This program and the accompanying materials
|
|
|
|
* are made available under the terms of the Eclipse Public License v1.0
|
|
|
|
* which accompanies this distribution, and is available at
|
|
|
|
* http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
*
|
|
|
|
* Contributors:
|
2015-10-22 00:25:12 +02:00
|
|
|
* MINRES Technologies GmbH - initial API and implementation
|
2015-10-22 00:05:29 +02:00
|
|
|
*******************************************************************************/
|
|
|
|
package com.minres.scviewer.e4.application;
|
|
|
|
|
|
|
|
import org.eclipse.e4.core.contexts.IEclipseContext;
|
|
|
|
import org.eclipse.e4.ui.workbench.lifecycle.PostContextCreate;
|
|
|
|
import org.eclipse.e4.ui.workbench.lifecycle.PreSave;
|
|
|
|
import org.eclipse.e4.ui.workbench.lifecycle.ProcessAdditions;
|
|
|
|
import org.eclipse.e4.ui.workbench.lifecycle.ProcessRemovals;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This is a stub implementation containing e4 LifeCycle annotated methods.<br />
|
|
|
|
* There is a corresponding entry in <em>plugin.xml</em> (under the
|
|
|
|
* <em>org.eclipse.core.runtime.products' extension point</em>) that references
|
|
|
|
* this class.
|
|
|
|
**/
|
|
|
|
@SuppressWarnings("restriction")
|
|
|
|
public class E4LifeCycle {
|
|
|
|
|
|
|
|
@PostContextCreate
|
|
|
|
void postContextCreate(IEclipseContext workbenchContext) {
|
|
|
|
}
|
|
|
|
|
|
|
|
@PreSave
|
|
|
|
void preSave(IEclipseContext workbenchContext) {
|
|
|
|
}
|
|
|
|
|
|
|
|
@ProcessAdditions
|
|
|
|
void processAdditions(IEclipseContext workbenchContext) {
|
|
|
|
}
|
|
|
|
|
|
|
|
@ProcessRemovals
|
|
|
|
void processRemovals(IEclipseContext workbenchContext) {
|
|
|
|
}
|
|
|
|
}
|