Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public interface MApplicationElement {
* Tags are a list of Strings that are persistent parts of the UI Model. They can be used to 'refine' a particular
* model element, supplying extra 'meta' information. These tags interact with the CSS engine so that it's
* possible to write CSS specific to a particular tag. The platform currently uses this mechanism to cause the
* color change in the stack comtaining the currently active part
* color change in the stack containing the currently active part
* </p>
* <!-- end-model-doc -->
* @return the value of the '<em>Tags</em>' attribute list.
Expand All @@ -130,7 +130,7 @@ public interface MApplicationElement {
* <!-- begin-model-doc -->
* <p>
* This field is used to track the bundle (if any) from which the UI element was
* derived in order to faciliate its removal should the bundle go away or be updated.
* derived in order to facilitate its removal should the bundle go away or be updated.
* </p>
* <!-- end-model-doc -->
* @return the value of the '<em>Contributor URI</em>' attribute.
Expand Down Expand Up @@ -158,7 +158,7 @@ public interface MApplicationElement {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* <p>
* This is a String to Object map into which any desired runtime information realted to a particular element
* This is a String to Object map into which any desired runtime information related to a particular element
* may be stored. It is <i>not</i> persisted across sessions so it is not necessary that the 'values' be
* serializable.
* </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public interface MUIElement extends MApplicationElement, MLocalizable {
* This field controls whether the given UIElement should be displayed within
* the application. Note that due to lazy loading it is possible to have this field
* set to true but to not have actually rendered the element itself (it does show up
* as a tab on the appropiate stack but will only be rendered when that tab is
* as a tab on the appropriate stack but will only be rendered when that tab is
* selected.
* </p>
* <!-- end-model-doc -->
Expand Down Expand Up @@ -179,7 +179,7 @@ public interface MUIElement extends MApplicationElement, MLocalizable {
* The MinMaxAddon uses this flag for example when a stack becomes minimized. By
* setting the flag to false the stack's widget is cleanly removed from the UI but
* is still 'rendered'. Once the widget has been cached the minimized stack can then
* display the widget using its own technques.
* display the widget using its own techniques.
* </p>
* <!-- end-model-doc -->
* @return the value of the '<em>Visible</em>' attribute.
Expand Down Expand Up @@ -235,7 +235,7 @@ public interface MUIElement extends MApplicationElement, MLocalizable {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* <p>
* This is a persistend field that may be used by the <b>parent</b> element's renderer
* This is a persistent field that may be used by the <b>parent</b> element's renderer
* to maintain any data that it needs to control the container. For example this is where
* the SashRenderer stores the 'weight' of a particular element.
* </p> <p>
Expand Down Expand Up @@ -267,7 +267,7 @@ public interface MUIElement extends MApplicationElement, MLocalizable {
* <!-- begin-model-doc -->
* <p>
* This is a transient (i.e. non-persisted) field which is used in conjunction with
* MPlaceholders which are used to share elements actoss multiple perspectives. This
* MPlaceholders which are used to share elements across multiple perspectives. This
* field will point back to the MPlaceholder (if any) currently hosting this one.
* </p>
* <!-- end-model-doc -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ public class StackRenderer extends LazyStackRenderer {
private static final String STACK_SELECTED_PART = "stack_selected_part"; //$NON-NLS-1$

/**
* Add this tag to prevent the next tab's activation from granting focus toac
* the part. This is used to keep the focus on the CTabFolder when traversing
* the tabs using the keyboard.
* Add this tag to prevent the next tab's activation from granting focus to the
* part. This is used to keep the focus on the CTabFolder when traversing the
* tabs using the keyboard.
*/
private static final String INHIBIT_FOCUS = "InhibitFocus"; //$NON-NLS-1$

Expand Down Expand Up @@ -1679,7 +1679,7 @@ private List<MPart> getCloseableSiblingParts(MPart part) {
private List<MPart> getCloseableSiblingParts(MPart part, List<MUIElement> children, final int start,
final int end) {
// broken out from closeSiblingParts so it can be used to determine how
// many closeable siblings are available
// many closable siblings are available
List<MPart> closeableSiblings = new ArrayList<>();
for (int i = start; i < end; i++) {
MUIElement child = children.get(i);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ public interface IPresentationEngine {
String NO_TITLE = "NoTitle"; //$NON-NLS-1$

/**
* When applied as a tag to an MPlaceholder inhibits the display of the close affordance. This
* allows a part to be closeable in one perspective but not in a different one.
* When applied as a tag to an MPlaceholder inhibits the display of the close
* affordance. This allows a part to be closable in one perspective but not in a
* different one.
*
* <b>NOTE:</b> If you are not using perspectives then use the MPart's 'isCloseable' attribute
* to control the affordance.
* <b>NOTE:</b> If you are not using perspectives then use the MPart's
* 'isCloseable' attribute to control the affordance.
*/
String NO_CLOSE = "NoClose"; //$NON-NLS-1$

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ private void handleMinimizedStacks(@UIEventTopic(UIEvents.ApplicationElement.TOP

/**
* Constructs a page. <code>restoreState(IMemento)</code> should be called to
* restore this page from data stored in a persistance file.
* restore this page from data stored in a persistence file.
*
* @param w the parent window
* @param input the page input
Expand Down
Loading