org.eclipse.emf.ecp.ui.e4.handlers
Class SaveProjectHandler
java.lang.Object
org.eclipse.emf.ecp.ui.e4.handlers.SaveProjectHandler
public class SaveProjectHandler
- extends Object
- Author:
- Eugen
SaveProjectHandler
public SaveProjectHandler()
execute
@Execute
public void execute(@Named(value="org.eclipse.ui.selection")@Optional
Object object)
- Saves the current
ECPProject
.
- Parameters:
object
- an object adaptable to an ECPProject
canExecute
@CanExecute
public boolean canExecute(@Named(value="org.eclipse.ui.selection")@Optional
Object object)
- Checks whether the current selection is adaptable to an
ECPProject
and if so, whether this is dirty.
- Parameters:
object
- an object adaptable to an ECPProject
- Returns:
- true if the object is adaptable to an
ECPProject
and dirty ot false otherwise.
Copyright © 2015. All Rights Reserved.