|
||||||||||
| 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 shell| Method Detail |
|---|
public void initialize(PropertiesEditorPresenter presenter)
initialize in interface IPropertiesEditorViewpresenter - presenter for this view view#initialize(pl.edu.agh.cast.ui.dialogs.property.PropertiesEditorPresenter)public void dispose()
dispose in interface IPropertiesEditorViewIPropertiesEditorView.dispose()public void refresh()
refresh in interface IPropertiesEditorViewIPropertiesEditorView.refresh()public void setInput(PropertyTreeEntry input)
setInput in interface IPropertiesEditorViewinput - model for this view#setInput(pl.edu.agh.cast.ui.dialogs.property.PropertyTreeEntry)public void open()
open in interface IPropertiesEditorViewIPropertiesEditorView.open()public void showCannotRemoveCategoryMessage()
showCannotRemoveCategoryMessage in interface IPropertiesEditorViewIPropertiesEditorView.showCannotRemoveCategoryMessage()public void showCannotRemoveBuiltinPropertyMessage(String name)
showCannotRemoveBuiltinPropertyMessage in interface IPropertiesEditorViewname - property namepl.edu.agh.cast.ui.dialogs.property.IPropertiesEditorView#showCannotRemoveBuiltinPropertyMessage()public boolean showRemovePropertyQuestion(String name)
showRemovePropertyQuestion in interface IPropertiesEditorViewname - property name
true if end-user agreespl.edu.agh.cast.ui.dialogs.property.IPropertiesEditorView#showRemovePropertyQuestion()public void showPropertyAlreadyExistsMessage(String name)
showPropertyAlreadyExistsMessage in interface IPropertiesEditorViewname - property name#showPropertyAlreadyExistsMessage(java.lang.String)public void showAtLeastOneLabelMustBeMarkedMessage()
showAtLeastOneLabelMustBeMarkedMessage in interface IPropertiesEditorViewIPropertiesEditorView.showAtLeastOneLabelMustBeMarkedMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||