org.topbraidcomposer.ui.dialogs
Class InstanceByClassSelectionDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.topbraidcomposer.ui.dialogs.AbstractSelectionDialog
org.topbraidcomposer.ui.dialogs.InstanceByClassSelectionDialog
- All Implemented Interfaces:
- org.eclipse.jface.window.IShellProvider
public class InstanceByClassSelectionDialog
- extends AbstractSelectionDialog
| Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
org.eclipse.jface.window.Window.IExceptionHandler |
| Fields inherited from class org.eclipse.jface.dialogs.Dialog |
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS |
| Fields inherited from class org.eclipse.jface.window.Window |
CANCEL, OK |
|
Method Summary |
protected boolean |
canSetOK()
|
protected void |
configureShell(org.eclipse.swt.widgets.Shell shell)
|
protected void |
createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
|
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent)
|
com.hp.hpl.jena.rdf.model.Resource |
getSelectedInstance()
|
java.util.Set<com.hp.hpl.jena.rdf.model.Resource> |
getSelectedInstances()
|
static com.hp.hpl.jena.rdf.model.Resource |
selectInstance(org.eclipse.swt.widgets.Control control,
java.util.Collection<com.hp.hpl.jena.rdf.model.Resource> rootClasses,
java.lang.String title)
|
static com.hp.hpl.jena.rdf.model.Resource |
selectInstance(org.eclipse.swt.widgets.Control control,
java.util.Collection<com.hp.hpl.jena.rdf.model.Resource> rootClasses,
java.lang.String title,
IRDFNodeFilter filter)
|
static com.hp.hpl.jena.rdf.model.Resource |
selectInstance(org.eclipse.swt.widgets.Control control,
com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String title)
|
static com.hp.hpl.jena.rdf.model.Resource |
selectInstance(org.eclipse.swt.widgets.Control control,
com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String title,
IRDFNodeFilter filter)
|
static java.util.Set<com.hp.hpl.jena.rdf.model.Resource> |
selectInstances(org.eclipse.swt.widgets.Control control,
java.util.Collection<com.hp.hpl.jena.rdf.model.Resource> rootClasses,
java.lang.String title,
IRDFNodeFilter filter)
|
static java.util.Set<com.hp.hpl.jena.rdf.model.Resource> |
selectInstances(org.eclipse.swt.widgets.Control control,
java.util.Collection<com.hp.hpl.jena.rdf.model.Resource> rootClasses,
java.lang.String title,
IRDFNodeFilter filter,
boolean multiple)
|
static java.util.Set<com.hp.hpl.jena.rdf.model.Resource> |
selectInstances(org.eclipse.swt.widgets.Control control,
com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String title,
IRDFNodeFilter filter)
|
static java.util.Set<com.hp.hpl.jena.rdf.model.Resource> |
selectInstances(org.eclipse.swt.widgets.Shell shell,
java.util.Collection<com.hp.hpl.jena.rdf.model.Resource> rootClasses,
java.lang.String title,
IRDFNodeFilter filter,
boolean multiple)
|
void |
setInstanceFilter(IRDFNodeFilter filter)
|
protected void |
updateResult()
|
| Methods inherited from class org.eclipse.jface.dialogs.Dialog |
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText |
| Methods inherited from class org.eclipse.jface.window.Window |
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
canSetOK
protected boolean canSetOK()
- Specified by:
canSetOK in class AbstractSelectionDialog
configureShell
protected void configureShell(org.eclipse.swt.widgets.Shell shell)
- Overrides:
configureShell in class org.eclipse.jface.window.Window
createButtonsForButtonBar
protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createButtonsForButtonBar in class AbstractSelectionDialog
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createDialogArea in class org.eclipse.jface.dialogs.Dialog
getSelectedInstance
public com.hp.hpl.jena.rdf.model.Resource getSelectedInstance()
getSelectedInstances
public java.util.Set<com.hp.hpl.jena.rdf.model.Resource> getSelectedInstances()
selectInstance
public static com.hp.hpl.jena.rdf.model.Resource selectInstance(org.eclipse.swt.widgets.Control control,
com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String title)
selectInstance
public static com.hp.hpl.jena.rdf.model.Resource selectInstance(org.eclipse.swt.widgets.Control control,
com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String title,
IRDFNodeFilter filter)
selectInstance
public static com.hp.hpl.jena.rdf.model.Resource selectInstance(org.eclipse.swt.widgets.Control control,
java.util.Collection<com.hp.hpl.jena.rdf.model.Resource> rootClasses,
java.lang.String title)
selectInstance
public static com.hp.hpl.jena.rdf.model.Resource selectInstance(org.eclipse.swt.widgets.Control control,
java.util.Collection<com.hp.hpl.jena.rdf.model.Resource> rootClasses,
java.lang.String title,
IRDFNodeFilter filter)
selectInstances
public static java.util.Set<com.hp.hpl.jena.rdf.model.Resource> selectInstances(org.eclipse.swt.widgets.Control control,
com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String title,
IRDFNodeFilter filter)
selectInstances
public static java.util.Set<com.hp.hpl.jena.rdf.model.Resource> selectInstances(org.eclipse.swt.widgets.Control control,
java.util.Collection<com.hp.hpl.jena.rdf.model.Resource> rootClasses,
java.lang.String title,
IRDFNodeFilter filter)
selectInstances
public static java.util.Set<com.hp.hpl.jena.rdf.model.Resource> selectInstances(org.eclipse.swt.widgets.Control control,
java.util.Collection<com.hp.hpl.jena.rdf.model.Resource> rootClasses,
java.lang.String title,
IRDFNodeFilter filter,
boolean multiple)
selectInstances
public static java.util.Set<com.hp.hpl.jena.rdf.model.Resource> selectInstances(org.eclipse.swt.widgets.Shell shell,
java.util.Collection<com.hp.hpl.jena.rdf.model.Resource> rootClasses,
java.lang.String title,
IRDFNodeFilter filter,
boolean multiple)
setInstanceFilter
public void setInstanceFilter(IRDFNodeFilter filter)
updateResult
protected void updateResult()
- Overrides:
updateResult in class AbstractSelectionDialog