/*******************************************************************************
* Copyright (c) 2006, 2010 Wind River Systems, Inc. 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:
* Ted R Williams (Wind River Systems, Inc.) - initial implementation
*******************************************************************************/
package org.eclipse.cdt.debug.ui.memory.transport.model;
import org.eclipse.cdt.debug.ui.memory.transport.ImportMemoryDialog;
import org.eclipse.debug.core.model.IMemoryBlock;
import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
public interface IMemoryImporter
{
public static final String TRANSFER_FILE = "File"; //$NON-NLS-1$
public static final String TRANSFER_START = "Start"; //$NON-NLS-1$
public static final String TRANSFER_CUSTOM_START_ADDRESS = "CustomStartAddress"; //$NON-NLS-1$
public static final String TRANSFER_SCROLL_TO_START = "ScrollToStart"; //$NON-NLS-1$
/**
* @param parent
* @param memBlock
* @param properties This will contain an initial values for TRANSFER_START
* @param parentDialog
* @return
*/
public Control createControl(Composite parent, IMemoryBlock memBlock, IDialogSettings properties, ImportMemoryDialog parentDialog);
public void importMemory();
public String getId();
public String getName();
}