Package org.eclipse.mat.ui.actions
Class ImportReportAction
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.action.AbstractAction
-
- org.eclipse.jface.action.Action
-
- org.eclipse.mat.ui.actions.ImportReportAction
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
-
-
Constructor Summary
Constructors Constructor Description ImportReportAction(MultiPaneEditor editor)
ImportReportAction(MultiPaneEditor editor, java.io.File reportZipFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
openReport(MultiPaneEditor editor, java.io.File reportZipFile)
void
run()
static IResult
unzipAndOpen(java.io.File reportZipFile)
-
Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
-
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, removePropertyChangeListener
-
-
-
-
Constructor Detail
-
ImportReportAction
public ImportReportAction(MultiPaneEditor editor)
-
ImportReportAction
public ImportReportAction(MultiPaneEditor editor, java.io.File reportZipFile)
-
-
Method Detail
-
openReport
public static void openReport(MultiPaneEditor editor, java.io.File reportZipFile) throws java.io.IOException
- Throws:
java.io.IOException
-
unzipAndOpen
public static IResult unzipAndOpen(java.io.File reportZipFile) throws java.io.IOException
- Throws:
java.io.IOException
-
-