Package org.eclipse.core.resources

Examples of org.eclipse.core.resources.ISaveParticipant


        return featureVersion;
    }

    public ISaveParticipant getSaveParticipant() {
        if (saveParticipant == null) {
            saveParticipant = new ISaveParticipant() {
                @Override
                public void doneSaving(final ISaveContext context1) {
                }

                @Override
View Full Code Here


    }

    private TLDRegistryManager()
    {
        super(ResourcesPlugin.getWorkspace());
        final ISaveParticipant participant = new MyWorkspaceSaveParticipant();
       
        try
        {
            ResourcesPlugin.getWorkspace().addSaveParticipant(JSFCorePlugin.getDefault().getPluginID()
                    , participant);
View Full Code Here

   
    // TODO:
    // From save participant documentation example; note
    // that we should use the alternative to java.io.File in Eclipse 3.2
   
        ISaveParticipant saveParticipant = new BBQSaveParticipant( this);
        ISavedState lastState =
           ResourcesPlugin.getWorkspace().addSaveParticipant(this, saveParticipant);
        if (lastState == null)
           return;
        IPath location = lastState.lookup(new Path(ENVIRONMENT_FILE_KEY));
View Full Code Here

  @Override
  public void start(BundleContext context) throws Exception {
    super.start(context);
    new JDIDebugOptions(context);
    ResourcesPlugin.getWorkspace().addSaveParticipant(getUniqueIdentifier(),
        new ISaveParticipant() {
          public void doneSaving(ISaveContext c) {
          }

          public void prepareToSave(ISaveContext c)
              throws CoreException {
View Full Code Here

TOP

Related Classes of org.eclipse.core.resources.ISaveParticipant

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.