|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.generic.command.BaseCommand
com.tensegrity.skeleton.commands.CommonBaseCommand
com.tensegrity.skeleton.swt.commands.SwtStyleDialogCommand
Opens the Style Dialog to let users modify existing style elements. When the dialog is closed, all changed descriptors are re-applied to all available primitives of the application.
| Constructor Summary | |
SwtStyleDialogCommand(ApplicationFrame applicationFrame,
java.lang.String command)
Deprecated. Constructor for the StyleDialogCommand. |
|
| Method Summary | |
static void |
applyDeletedStyleItem(java.lang.String styleItemName,
ApplicationFrame frame)
Deprecated. Removes the StyleItemName from all primitives with that name and re applies the default StyleItem. |
static void |
applyModifiedStyleItem(java.lang.String styleItemName,
ApplicationFrame frame)
Deprecated. Applies the StyleItem identified by the parameter string to all primitives of all open documents and repository items. |
void |
perform(java.lang.Object args)
Deprecated. Opens the StyleDialog. |
static void |
updateStyleItems(ApplicationFrame frame)
Deprecated. This method updateStyleItems refreshes the style of all
elements and repository items. |
| Methods inherited from class com.tensegrity.skeleton.commands.CommonBaseCommand |
getApplicationFrame, getTitle |
| Methods inherited from class com.tensegrity.generic.command.BaseCommand |
getDescription, getId, getPerformDescription, isEnabled, setEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SwtStyleDialogCommand(ApplicationFrame applicationFrame,
java.lang.String command)
StyleDialogCommand.
applicationFrame - Application context represented by the ApplicationFramecommand - id of the command.| Method Detail |
public void perform(java.lang.Object args)
StyleDialog. When the dialog was canceled all
deleted items are restored. Otherwise all primitives of which the style item
was deleted are restored to the default item, modified items are re applied.
perform in interface Commandperform in class CommonBaseCommandCommonBaseCommand.perform(java.lang.Object)
public static void applyDeletedStyleItem(java.lang.String styleItemName,
ApplicationFrame frame)
styleItemName - the name of the style which has been deleted.frame - Application context to reach the repository.
public static void applyModifiedStyleItem(java.lang.String styleItemName,
ApplicationFrame frame)
styleItemName - name of the style which has been modified.frame - Application context to reach the repository.public static void updateStyleItems(ApplicationFrame frame)
updateStyleItems refreshes the style of all
elements and repository items.
frame - Application context to reach the repository.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||