|
What this is
Other links
The source code/******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.ui; import org.eclipse.core.runtime.IProgressMonitor; /** * Workbench parts implement or adapt to this interface to participate * in the enablement and execution of the <code>Save and * <code>Save As actions. * * @since 2.1 * @see org.eclipse.ui.IEditorPart */ public interface ISaveablePart { /** * The property id for <code>isDirty. */ public static final int PROP_DIRTY = IWorkbenchPartConstants.PROP_DIRTY; /** * Saves the contents of this part. * <p> * If the save is successful, the part should fire a property changed event * reflecting the new dirty state (<code>PROP_DIRTY property). * </p> * <p> * If the save is cancelled through user action, or for any other reason, the * part should invoke <code>setCancelled on the |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.