EGF Engine
Release 0.1.0

org.eclipse.egf.common.ui.field
Class DomainFieldEditor

java.lang.Object
  extended by StringButtonFieldEditor
      extended by org.eclipse.egf.common.ui.toolkit.adapters.StringButtonFieldEditorAdapter
          extended by org.eclipse.egf.common.ui.toolkit.fields.StringBrowserFieldEditor
              extended by org.eclipse.egf.common.ui.field.WorkspaceFileFieldEditor
                  extended by org.eclipse.egf.common.ui.field.DomainFieldEditor
All Implemented Interfaces:
org.eclipse.egf.common.ui.toolkit.fields.IFieldEditor

public class DomainFieldEditor
extends WorkspaceFileFieldEditor

Implements a field editor that allows the end-user to select an IFile used as domain.


Field Summary
 
Fields inherited from class org.eclipse.egf.common.ui.toolkit.adapters.StringButtonFieldEditorAdapter
_labelStyle, _valueStyle
 
Constructor Summary
DomainFieldEditor(String title_p, String openResourceDialogTitle_p, Composite parent_p, IContainer container_p, String filterExtension_p)
          Constructor.
 
Method Summary
protected  String handleFilePath(IFile file_p)
          Allow to manage the content of the file path returned when the end-user has selected a resource.
 
Methods inherited from class org.eclipse.egf.common.ui.field.WorkspaceFileFieldEditor
changePressed, isValid
 
Methods inherited from class org.eclipse.egf.common.ui.toolkit.fields.StringBrowserFieldEditor
getChangeControl, getCurrentSelection, setCurrentSelection
 
Methods inherited from class org.eclipse.egf.common.ui.toolkit.adapters.StringButtonFieldEditorAdapter
checkState, checkValueStyle, createControl, defaultLayout, doCheckState, doFillIntoGrid, getFieldName, getFieldPage, getHelperControl, getLabel, getValidator, getValueControl, init, isFocused, isHelperEnabled, isValueEnabled, layout, setFieldPage, setFocus, setHelperEnabled, setValidator, setValueEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.egf.common.ui.toolkit.fields.IFieldEditor
getErrorMessage, isValid
 

Constructor Detail

DomainFieldEditor

public DomainFieldEditor(String title_p,
                         String openResourceDialogTitle_p,
                         Composite parent_p,
                         IContainer container_p,
                         String filterExtension_p)
Constructor.

Parameters:
title_p -
openResourceDialogTitle_p -
parent_p -
container_p -
filterExtension_p -
Method Detail

handleFilePath

protected String handleFilePath(IFile file_p)
Description copied from class: WorkspaceFileFieldEditor
Allow to manage the content of the file path returned when the end-user has selected a resource.
This implementation returns the full path of given file.

Overrides:
handleFilePath in class WorkspaceFileFieldEditor
Returns:
See Also:
org.eclipse.egf.common.ui.field.WorkspaceFileFieldEditor#handleFilePath(org.eclipse.core.resources.IFile)

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.