org.eclipse.emf.ecp.ui.tester
Class ECPSavePropertySource

java.lang.Object
  extended by org.eclipse.ui.AbstractSourceProvider
      extended by org.eclipse.emf.ecp.ui.tester.ECPSavePropertySource
All Implemented Interfaces:
org.eclipse.ui.ISourceProvider

public class ECPSavePropertySource
extends org.eclipse.ui.AbstractSourceProvider

Author:
jfaltermeier

Field Summary
static String CURRENT_SAVE_STATE_PROPERTY
          Name of the property defining the save state of the currently selected project space.
 
Constructor Summary
ECPSavePropertySource()
          Default Constructor.
 
Method Summary
 void dispose()
          
 Map<String,Object> getCurrentState()
          
static ECPProject getProjectToSave()
          Returns the project to be saved.
 String[] getProvidedSourceNames()
          
 
Methods inherited from class org.eclipse.ui.AbstractSourceProvider
addSourceProviderListener, initialize, removeSourceProviderListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURRENT_SAVE_STATE_PROPERTY

public static final String CURRENT_SAVE_STATE_PROPERTY
Name of the property defining the save state of the currently selected project space.

See Also:
Constant Field Values
Constructor Detail

ECPSavePropertySource

public ECPSavePropertySource()
Default Constructor.

Method Detail

dispose

public void dispose()

See Also:
ISourceProvider.dispose()

getCurrentState

public Map<String,Object> getCurrentState()

See Also:
ISourceProvider.getCurrentState()

getProjectToSave

public static ECPProject getProjectToSave()
Returns the project to be saved.

Returns:
the project which enabled the save button

getProvidedSourceNames

public String[] getProvidedSourceNames()

See Also:
ISourceProvider.getProvidedSourceNames()


Copyright © 2014. All Rights Reserved.