Faceted Project Framework
Version 1.3

org.eclipse.wst.common.project.facet.core
Class ActionConfig

java.lang.Object
  extended by org.eclipse.wst.common.project.facet.core.ActionConfig

public abstract class ActionConfig
extends Object

Since:
3.0
Author:
Konstantin Komissarchik

Constructor Summary
ActionConfig()
           
 
Method Summary
 void dispose()
          Called when the action config object is not longer needed by the framework.
 IFacetedProjectWorkingCopy getFacetedProjectWorkingCopy()
           
 IProjectFacetVersion getProjectFacetVersion()
           
 Set<IFile> getValidateEditFiles()
          Returns the set of files that might be modified during execution of this action.
 void setFacetedProjectWorkingCopy(IFacetedProjectWorkingCopy fpjwc)
           
 void setProjectFacetVersion(IProjectFacetVersion fv)
           
 IStatus validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionConfig

public ActionConfig()
Method Detail

getFacetedProjectWorkingCopy

public IFacetedProjectWorkingCopy getFacetedProjectWorkingCopy()

setFacetedProjectWorkingCopy

public void setFacetedProjectWorkingCopy(IFacetedProjectWorkingCopy fpjwc)

getProjectFacetVersion

public IProjectFacetVersion getProjectFacetVersion()

setProjectFacetVersion

public void setProjectFacetVersion(IProjectFacetVersion fv)

getValidateEditFiles

public Set<IFile> getValidateEditFiles()
Returns the set of files that might be modified during execution of this action. This allows calls to IWorkspace.validateEdit() to be batched, resulting in fewer prompts to the user. The default implementation returns an empty (modifiable) set.

Returns:
the set of files that might be modified during the execution of the action
Since:
1.4

validate

public IStatus validate()

dispose

public void dispose()
Called when the action config object is not longer needed by the framework. Implementations can override to perform cleanup of allocated resources or registered listeners.

Since:
1.4

Faceted Project Framework
Version 1.3

Copyright (c) 2008 Oracle and others. All rights reserved.