public abstract class ImportExportPart extends EditorPart
Modifier and Type | Field and Description |
---|---|
protected boolean |
export |
protected Group |
importGroup |
protected ControlEnableState |
noProjectDisabledState |
protected PageBook |
pages |
protected ResultPage |
resultPage |
PROP_DIRTY, PROP_INPUT
PROP_TITLE
Constructor and Description |
---|
ImportExportPart() |
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setPartName
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyListener, getSite, getTitle, getTitleImage, removePropertyListener
getAdapter
protected boolean export
protected ControlEnableState noProjectDisabledState
protected Group importGroup
protected PageBook pages
protected ResultPage resultPage
protected Composite getContent()
public void doSave(IProgressMonitor monitor)
doSave
in interface ISaveablePart
doSave
in class EditorPart
public void doSaveAs()
doSaveAs
in interface ISaveablePart
doSaveAs
in class EditorPart
public void saveAsTextGridObject(boolean forceNew)
public void saveAsLocalFile()
public void init(IEditorSite site, IEditorInput input) throws PartInitException
init
in interface IEditorPart
init
in class EditorPart
PartInitException
public boolean isDirty()
isDirty
in interface ISaveablePart
isDirty
in class EditorPart
public boolean isSaveAsAllowed()
isSaveAsAllowed
in interface ISaveablePart
isSaveAsAllowed
in class EditorPart
public ImportModel getImportModel()
protected void addSelection(IStructuredSelection selection)
public void createPartControl(Composite parent)
createPartControl
in interface IWorkbenchPart
createPartControl
in class WorkbenchPart
protected void createTopArea(Composite parent)
protected void createAreaBelowObjectsViewer(Composite content2)
protected abstract void perform()
public void dispose()
dispose
in interface IWorkbenchPart
dispose
in class WorkbenchPart
public void setFocus()
setFocus
in interface IWorkbenchPart
setFocus
in class WorkbenchPart
protected void setExport(boolean export)
public void setProjectCombo(TargetProjectCombo projectCombo)
public TargetProjectCombo getProjectCombo()
protected boolean isExport()
public void setInput(IEditorInput input)
setInput
in class EditorPart
protected void setInputWithNotify(IEditorInput input)
setInputWithNotify
in class EditorPart
protected void createRemoveButton(Composite topGroup)
protected void createNextButton(Composite targetArea)
protected Button getNextButton()