|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.argouml.ui.TabSpawnable
org.argouml.ui.TabText
org.argouml.uml.ui.TabSrc
Details panel tabbed panel for displaying a source code representation of a UML model element in a particular Notation.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
private static Logger |
LOG
|
private NotationName |
notationName
|
| Fields inherited from class org.argouml.ui.TabText |
|
| Fields inherited from class org.argouml.ui.TabSpawnable |
|
| Fields inherited from class javax.swing.JPanel |
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
TabSrc()
Create a tab that contains a toolbar. |
|
| Method Summary | |
void |
finalize()
|
protected String |
genText(Object modelObject)
|
NotationName |
getContextNotation()
The context must return a NotationName indicating the notation (and version if applicable) that it is using. |
private String |
getSourceFileFor(Object modelObject,
NotationName nn)
|
void |
itemStateChanged(ItemEvent event)
|
void |
notationAdded(ArgoNotationEvent e)
Ignored. |
void |
notationChanged(ArgoNotationEvent e)
Invoked when any aspect of the notation has been changed. |
void |
notationProviderAdded(ArgoNotationEvent e)
Ignored. |
void |
notationProviderRemoved(ArgoNotationEvent e)
Ignored. |
void |
notationRemoved(ArgoNotationEvent e)
Ignored. |
protected void |
parseText(String s)
|
void |
refresh()
Refreshes the tab IN TOTAL |
void |
setTarget(Object t)
Sets the target of this tab. |
boolean |
shouldBeEnabled(Object target)
Determines if the current tab should be enabled with the given target. |
| Methods inherited from class org.argouml.ui.TabText |
changedUpdate, getTarget, getToolbar, insertUpdate, removeUpdate, setShouldBeEnabled, shouldBeEnabled, targetAdded, targetRemoved, targetSet |
| Methods inherited from class org.argouml.ui.TabSpawnable |
clone, getOrientation, getTitle, setOrientation, setTitle, spawn |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final Logger LOG
private NotationName notationName
| Constructor Detail |
public TabSrc()
| Method Detail |
public void finalize()
Object.finalize()protected String genText(Object modelObject)
genText in class TabTextmodelObject - the object to be "generated" = make a string of it
TabText.genText(java.lang.Object)protected void parseText(String s)
parseText in class TabTexts - the string to parseTabText.parseText(java.lang.String)public void setTarget(Object t)
setTarget in interface TabTargetsetTarget in class TabTextTabTarget.setTarget(java.lang.Object)public boolean shouldBeEnabled(Object target)
shouldBeEnabled in interface TabTargetshouldBeEnabled in class TabTextTabTarget.shouldBeEnabled(java.lang.Object)public void notationChanged(ArgoNotationEvent e)
notationChanged in interface ArgoNotationEventListenere - ArgoNotationEvent describing the change.ArgoNotationEventListener.notationChanged(org.argouml.application.events.ArgoNotationEvent)public void notationAdded(ArgoNotationEvent e)
notationAdded in interface ArgoNotationEventListenere - ArgoNotationEvent describing the added notation.ArgoNotationEventListener.notationAdded(org.argouml.application.events.ArgoNotationEvent)public void notationRemoved(ArgoNotationEvent e)
notationRemoved in interface ArgoNotationEventListenere - ArgoNotationEvent describing the removed notation.ArgoNotationEventListener.notationRemoved(org.argouml.application.events.ArgoNotationEvent)public void notationProviderAdded(ArgoNotationEvent e)
notationProviderAdded in interface ArgoNotationEventListenere - ArgoNotationEvent describing
the added notation provider.ArgoNotationEventListener.notationProviderAdded(org.argouml.application.events.ArgoNotationEvent)public void notationProviderRemoved(ArgoNotationEvent e)
notationProviderRemoved in interface ArgoNotationEventListenere - ArgoNotationEvent describing
the removed notation provider.ArgoNotationEventListener.notationProviderRemoved(org.argouml.application.events.ArgoNotationEvent)public void itemStateChanged(ItemEvent event)
itemStateChanged in interface ItemListenerItemListener.itemStateChanged(java.awt.event.ItemEvent)public void refresh()
TabTarget
refresh in interface TabTargetrefresh in class TabTextTabTarget.refresh()public NotationName getContextNotation()
NotationContext
getContextNotation in interface NotationContextNotationContext.getContextNotation()
private String getSourceFileFor(Object modelObject,
NotationName nn)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |