|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.widgets.Dialog
pl.edu.agh.cast.ui.dialogs.property.PropertiesEditorDialog
public class PropertiesEditorDialog
SWT implementation of IPropertiesEditorView
.
Constructor Summary | |
---|---|
PropertiesEditorDialog(org.eclipse.swt.widgets.Shell parent)
Constructor. |
Method Summary | |
---|---|
void |
dispose()
Disposes view. |
void |
initialize(PropertiesEditorPresenter presenter)
Initializes view. |
void |
open()
Opens view. |
void |
refresh()
Refreshes the view after model changes. |
void |
setInput(PropertyTreeEntry input)
Sets input for the view. |
void |
showAtLeastOneLabelMustBeMarkedMessage()
Shows message: 'At least one property must be marked as label'. |
void |
showCannotRemoveBuiltinPropertyMessage(String name)
Shows message: 'Cannot remove built-in property'. |
void |
showCannotRemoveCategoryMessage()
Shows message: 'Cannot remove category'. |
void |
showPropertyAlreadyExistsMessage(String name)
Shows message: 'Property already exists'. |
boolean |
showRemovePropertyQuestion(String name)
Shows question: 'Do you want to remove property?'. |
Methods inherited from class org.eclipse.swt.widgets.Dialog |
---|
checkSubclass, getParent, getStyle, getText, setText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertiesEditorDialog(org.eclipse.swt.widgets.Shell parent)
parent
- parent shellMethod Detail |
---|
public void initialize(PropertiesEditorPresenter presenter)
initialize
in interface IPropertiesEditorView
presenter
- presenter for this view view#initialize(pl.edu.agh.cast.ui.dialogs.property.PropertiesEditorPresenter)
public void dispose()
dispose
in interface IPropertiesEditorView
IPropertiesEditorView.dispose()
public void refresh()
refresh
in interface IPropertiesEditorView
IPropertiesEditorView.refresh()
public void setInput(PropertyTreeEntry input)
setInput
in interface IPropertiesEditorView
input
- model for this view#setInput(pl.edu.agh.cast.ui.dialogs.property.PropertyTreeEntry)
public void open()
open
in interface IPropertiesEditorView
IPropertiesEditorView.open()
public void showCannotRemoveCategoryMessage()
showCannotRemoveCategoryMessage
in interface IPropertiesEditorView
IPropertiesEditorView.showCannotRemoveCategoryMessage()
public void showCannotRemoveBuiltinPropertyMessage(String name)
showCannotRemoveBuiltinPropertyMessage
in interface IPropertiesEditorView
name
- property namepl.edu.agh.cast.ui.dialogs.property.IPropertiesEditorView#showCannotRemoveBuiltinPropertyMessage()
public boolean showRemovePropertyQuestion(String name)
showRemovePropertyQuestion
in interface IPropertiesEditorView
name
- property name
true
if end-user agreespl.edu.agh.cast.ui.dialogs.property.IPropertiesEditorView#showRemovePropertyQuestion()
public void showPropertyAlreadyExistsMessage(String name)
showPropertyAlreadyExistsMessage
in interface IPropertiesEditorView
name
- property name#showPropertyAlreadyExistsMessage(java.lang.String)
public void showAtLeastOneLabelMustBeMarkedMessage()
showAtLeastOneLabelMustBeMarkedMessage
in interface IPropertiesEditorView
IPropertiesEditorView.showAtLeastOneLabelMustBeMarkedMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |