Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`SaveProjectHandler()`

Method Summary
`boolean` | `canExecute(Object object)` Checks whether the current selection is adaptable to an `ECPProject` and if so, whether this is dirty.
`void` | `execute(Object object)` Saves the current `ECPProject`.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SaveProjectHandler

    public SaveProjectHandler()

Method Detail

### 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.

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.