|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webcodepro.applecommander.ui.swt.FileViewerWindow
public class FileViewerWindow
View a particular files content.
Date created: Dec 7, 2003
Constructor Summary | |
---|---|
FileViewerWindow(org.eclipse.swt.widgets.Shell parentShell,
FileEntry fileEntry,
ImageManager imageManager)
Construct the file viewer window. |
|
FileViewerWindow(org.eclipse.swt.widgets.Shell parentShell,
FileEntry fileEntry,
ImageManager imageManager,
FileFilter nativeFilter)
Construct the file viewer window. |
Method Summary | |
---|---|
protected org.eclipse.swt.widgets.ToolItem |
createCopyToolItem()
Create the copy tool item (button). |
protected void |
createFilterAdapterMap()
Setup all possible specialized FilterAdapters. |
protected org.eclipse.swt.widgets.ToolItem |
createHexDumpToolItem()
Create the hex dump tool item (button). |
protected org.eclipse.swt.widgets.ToolItem |
createPrintToolItem()
Create the print tool item (button). |
protected org.eclipse.swt.widgets.ToolItem |
createRawDumpToolItem()
Create the raw dump tool item (button). |
org.eclipse.swt.widgets.Listener |
createToolbarCommandHandler()
The toolbar command handler contains the global toolbar actions. |
protected void |
dispose(org.eclipse.swt.events.DisposeEvent event)
Dispose of all shared resources. |
org.eclipse.swt.graphics.Color |
getBlackColor()
|
org.eclipse.swt.graphics.Color |
getBlueColor()
|
org.eclipse.swt.custom.ScrolledComposite |
getComposite()
|
protected ContentTypeAdapter |
getContentTypeAdapter()
|
org.eclipse.swt.widgets.ToolItem |
getCopyToolItem()
|
org.eclipse.swt.graphics.Font |
getCourierFont()
|
FileEntry |
getFileEntry()
|
FileFilter |
getFileFilter()
|
org.eclipse.swt.graphics.Color |
getGreenColor()
|
protected FilterAdapter |
getHexFilterAdapter()
|
protected FilterAdapter |
getNativeFilterAdapter()
|
protected FilterAdapter |
getRawDumpFilterAdapter()
|
void |
open()
Setup the File Viewer window and display (open) it. |
void |
setContentTypeAdapter(ContentTypeAdapter adapter)
|
void |
setFilterToolItemSelection(boolean nativeSelected,
boolean hexSelected,
boolean dumpSelected)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileViewerWindow(org.eclipse.swt.widgets.Shell parentShell, FileEntry fileEntry, ImageManager imageManager)
public FileViewerWindow(org.eclipse.swt.widgets.Shell parentShell, FileEntry fileEntry, ImageManager imageManager, FileFilter nativeFilter)
Method Detail |
---|
public void open()
protected void createFilterAdapterMap()
protected void dispose(org.eclipse.swt.events.DisposeEvent event)
protected org.eclipse.swt.widgets.ToolItem createHexDumpToolItem()
protected org.eclipse.swt.widgets.ToolItem createRawDumpToolItem()
protected org.eclipse.swt.widgets.ToolItem createCopyToolItem()
protected org.eclipse.swt.widgets.ToolItem createPrintToolItem()
public org.eclipse.swt.widgets.Listener createToolbarCommandHandler()
public FileFilter getFileFilter()
public FileEntry getFileEntry()
public org.eclipse.swt.widgets.ToolItem getCopyToolItem()
public org.eclipse.swt.custom.ScrolledComposite getComposite()
public void setContentTypeAdapter(ContentTypeAdapter adapter)
public org.eclipse.swt.graphics.Font getCourierFont()
public org.eclipse.swt.graphics.Color getBlackColor()
public org.eclipse.swt.graphics.Color getGreenColor()
public org.eclipse.swt.graphics.Color getBlueColor()
public void setFilterToolItemSelection(boolean nativeSelected, boolean hexSelected, boolean dumpSelected)
protected ContentTypeAdapter getContentTypeAdapter()
protected FilterAdapter getHexFilterAdapter()
protected FilterAdapter getNativeFilterAdapter()
protected FilterAdapter getRawDumpFilterAdapter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |