com.javapathfinder.vjp.config.editors.defaultproperties
Class DefaultPropertiesViewer

java.lang.Object
  extended by org.eclipse.jface.viewers.Viewer
      extended by org.eclipse.jface.viewers.ContentViewer
          extended by org.eclipse.jface.viewers.StructuredViewer
              extended by org.eclipse.jface.viewers.TableViewer
                  extended by com.javapathfinder.vjp.config.editors.PropertyViewer
                      extended by com.javapathfinder.vjp.config.editors.defaultproperties.DefaultPropertiesViewer
All Implemented Interfaces:
org.eclipse.jface.viewers.IInputProvider, org.eclipse.jface.viewers.IInputSelectionProvider, org.eclipse.jface.viewers.IPostSelectionProvider, org.eclipse.jface.viewers.ISelectionProvider

public class DefaultPropertiesViewer
extends PropertyViewer

A PropertyViewer that displays and edits all of the default properties stored in jpf.properties and default.properties

Author:
Sandro Badame

Nested Class Summary
 
Nested classes/interfaces inherited from class com.javapathfinder.vjp.config.editors.PropertyViewer
PropertyViewer.PropertySorter
 
Field Summary
static java.lang.String CHECKED_IMAGE
           
static java.lang.String CHECKED_IMAGE_PATH
           
static java.lang.String DEFAULT_HEADER
           
static int DEFAULT_INDEX
           
static java.lang.String NAME_HEADER
           
static int NAME_INDEX
           
static java.lang.String[] TABLE_HEADERS
           
static java.lang.String UNCHECKED_IMAGE
           
static java.lang.String UNCHECKED_IMAGE_PATH
           
static java.lang.String VALUE_HEADER
           
static int VALUE_INDEX
           
 
Constructor Summary
DefaultPropertiesViewer(org.eclipse.swt.widgets.Composite parent, ModePropertyConfiguration properties)
          Construct a DefaultPropertiesViewer
 
Method Summary
 
Methods inherited from class com.javapathfinder.vjp.config.editors.PropertyViewer
repackColumns
 
Methods inherited from class org.eclipse.jface.viewers.TableViewer
add, add, cancelEditing, clear, editElement, getCellEditors, getCellModifier, getColumnProperties, getControl, getElementAt, getLabelProvider, getTable, insert, isCellEditorActive, remove, remove, replace, reveal, setCellEditors, setCellModifier, setColumnProperties, setItemCount, setLabelProvider, setSelection
 
Methods inherited from class org.eclipse.jface.viewers.StructuredViewer
addDoubleClickListener, addDragSupport, addDropSupport, addFilter, addOpenListener, addPostSelectionChangedListener, getComparator, getComparer, getFilters, getSelection, getSorter, refresh, refresh, refresh, refresh, removeDoubleClickListener, removeFilter, removeOpenListener, removePostSelectionChangedListener, resetFilters, setComparator, setComparer, setContentProvider, setInput, setSorter, setUseHashlookup, testFindItem, testFindItems, update, update
 
Methods inherited from class org.eclipse.jface.viewers.ContentViewer
getContentProvider, getInput
 
Methods inherited from class org.eclipse.jface.viewers.Viewer
addHelpListener, addSelectionChangedListener, getData, removeHelpListener, removeSelectionChangedListener, scrollDown, scrollUp, setData, setSelection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.viewers.ISelectionProvider
addSelectionChangedListener, removeSelectionChangedListener, setSelection
 

Field Detail

TABLE_HEADERS

public static final java.lang.String[] TABLE_HEADERS

DEFAULT_HEADER

public static final java.lang.String DEFAULT_HEADER
See Also:
Constant Field Values

DEFAULT_INDEX

public static final int DEFAULT_INDEX
See Also:
Constant Field Values

NAME_HEADER

public static final java.lang.String NAME_HEADER
See Also:
Constant Field Values

NAME_INDEX

public static final int NAME_INDEX
See Also:
Constant Field Values

VALUE_HEADER

public static final java.lang.String VALUE_HEADER
See Also:
Constant Field Values

VALUE_INDEX

public static final int VALUE_INDEX
See Also:
Constant Field Values

CHECKED_IMAGE_PATH

public static final java.lang.String CHECKED_IMAGE_PATH
See Also:
Constant Field Values

UNCHECKED_IMAGE_PATH

public static final java.lang.String UNCHECKED_IMAGE_PATH
See Also:
Constant Field Values

CHECKED_IMAGE

public static final java.lang.String CHECKED_IMAGE
See Also:
Constant Field Values

UNCHECKED_IMAGE

public static final java.lang.String UNCHECKED_IMAGE
See Also:
Constant Field Values
Constructor Detail

DefaultPropertiesViewer

public DefaultPropertiesViewer(org.eclipse.swt.widgets.Composite parent,
                               ModePropertyConfiguration properties)
Construct a DefaultPropertiesViewer

Parameters:
parent - the parent composite
properties - the properties associated with this viewer