Deprecated API


Contents
Deprecated Interfaces
org.argouml.model.ChangeableKind
          for 0.25.4 by tfmorris. This enumeration has been removed from UML 2. Use the getter for the isReadOnly attribute. 
org.argouml.model.MementoCreationObserver
          in 0.25.4 by Bob Tarling use ModelCommandCreationObserver 
org.argouml.model.ScopeKind
          for 0.25.4 by tfmorris. This enumeration has been removed from UML 2. Use the getter for the isStatic attribute. 
 

Deprecated Classes
org.argouml.ui.AbstractArgoJPanel
          by Bob Tarling in 0.25.5. Use AbstractArgoJPanel.

Because this is a widely used class it is recommended to retain the deprecated class for at least two major releases (ie until after 0.28 is released using the current numbering scheme). 

org.argouml.ui.CmdSetMode
          for 0.25.3 by tfmorris - use ActionSetMode 
org.argouml.ocl.CriticOclEvaluator
          for 0.25.2 by tfmorris - use OCLEvaluator 
 

Deprecated Methods
org.argouml.cognitive.ListSet.addAllElements(Collection)
          for 0.25.4 by tfmorris. Use ListSet.addAll(Collection). 
org.argouml.cognitive.ListSet.addAllElements(ListSet)
          for 0.25.4 by tfmorris. Use ListSet.addAll(Collection). 
org.argouml.cognitive.ListSet.addElement(T)
          for 0.25.4 by tfmorris. Use List methods instead of Vector methods. 
org.argouml.uml.reveng.ImporterManager.addimporter(ImportInterface)
          for 0.25.3 by tfmorris. Use ImporterManager.addImporter(ImportInterface) instead. 
org.argouml.model.AbstractCoreHelperDecorator.addTaggedValue(Object, Object)
           
org.argouml.model.CoreHelper.addTaggedValue(Object, Object)
          for 0.25.1 by tfmorris. Use ExtensionMechanismsHelper.addTaggedValue(Object, Object). 
org.argouml.cognitive.ListSet.asVector()
          for 0.25.4 by tfmorris. Use List methods instead of Vector methods. 
org.argouml.model.CoreFactory.buildAttribute(Object, Object, Object)
          for 0.25.2 by tfmorris - use the side effect free version CoreFactory.buildAttribute2(Object, Object) 
org.argouml.model.CoreFactory.buildGeneralization(Object, Object, String)
          for 0.25.4 by tfmorris. Generalizations are unnamed in UML 2.x. Use CoreFactory.buildGeneralization(Object, Object). 
org.argouml.model.CoreFactory.buildOperation(Object, Object, Object)
          for 0.25.2 by tfmorris. Use CoreFactory.buildOperation(Object, Object). 
org.argouml.model.CoreFactory.buildOperation(Object, Object, Object, String)
          for 0.25.2 by tfmorris. Use CoreFactory.buildOperation2(Object, Object, String). 
org.argouml.model.ModelManagementFactory.buildPackage(String, String)
          for 0.25.4 by tfmorris. Current implementations ignore the uuid parameter if null and will throw an exception if it's non-null. Use single argument form ModelManagementFactory.buildPackage(String). 
org.argouml.model.CoreFactory.buildParameter(Object, Object, Object)
          for 0.25.2 by tfmorris. Use CoreFactory.buildParameter(Object, Object). 
org.argouml.model.CoreFactory.buildPermission(Object, Object)
          for 0.25.4 by tfmorris. Use CoreFactory.buildPackageImport(Object, Object). 
org.argouml.model.ExtensionMechanismsFactory.buildTaggedValue(String, String)
          for 0.25.5 by tfmorris. Use ExtensionMechanismsFactory.buildTaggedValue(Object, String[]). 
org.argouml.model.DataTypesHelper.copyTaggedValues(Object, Object)
          for 0.25.2 by tfmorris. Use ExtensionMechanismsFactory.copyTaggedValues(Object, Object). 
org.argouml.model.ModelManagementHelper.corresponds(Object, Object)
          for 0.25.4 by tfmorris. Equivalent to obj1.equals(obj2). 
org.argouml.model.CoreFactory.createPrimitive()
          for 0.25.4 by tfmorris. Removed from UML 2.x. Use CoreFactory.createPrimitiveType(). This can be scheduled for speedy removal since it was just introduced with UML 1.4 and is unused by ArgoUML. 
org.argouml.model.CoreFactory.createProgrammingLanguageDataType()
          for 0.25.4 by tfmorris. Removed from UML 2.x. This can be scheduled for speedy removal since it was just introduced with UML 1.4 and is unused by ArgoUML. 
org.argouml.model.UseCasesFactory.createUseCaseInstance()
          for 0.25.4 by tfmorris. UseCaseInstances have been removed from UML 2.x. Use an InstanceSpecification with a UseCase as its Classifier. 
org.argouml.cognitive.Agency.criticsForSpecificClass(Class)
          for 0.25.4 by tfmorris. Use Agency.criticListForSpecificClass(Class). 
org.argouml.ui.FindDialog.doClearTabs()
          for 0.25.4 by tfmorris. The visibility of this will be reduced in the future. Use FindDialog.reset(). 
org.argouml.ui.FindDialog.doResetFields()
          for 0.25.4 by tfmorris. The visibility of this will be reduced in the future. Use FindDialog.reset(). 
org.argouml.ui.FindDialog.doResetFields(boolean)
          for 0.25.4 by tfmorris. The visibility of this will be reduced in the future. Use FindDialog.reset(). 
org.argouml.cognitive.ListSet.elementAt(int)
          for 0.25.4 by tfmorris. Use ListSet.get(int). 
org.argouml.cognitive.ToDoList.elementAt(int)
          for 0.25.4 by tfmorris. Use ToDoList.get(int). 
org.argouml.cognitive.ListSet.elements()
          for 0.25.4 by tfmorris. Use ListSet.iterator(). 
org.argouml.cognitive.ToDoList.elements()
          for 0.25.4 by tfmorris. Use ToDoList.iterator(). 
org.argouml.cognitive.ToDoList.elementsForOffender(Object)
          for 0.25.4 by tfmorris. Use ToDoList.elementListForOffender(Object). 
org.argouml.cognitive.ListSet.firstElement()
          for 0.25.4 by tfmorris. Use ListSet.get(int) get(0). 
org.argouml.model.AbstractCoreHelperDecorator.getAllContents(Object)
           
org.argouml.model.CoreHelper.getAllContents(Object)
          for 0.25.1 by tfmorris. Use ModelManagementHelper.getAllContents(Object). 
org.argouml.cognitive.Critic.getArg(String)
          for 0.25.4 by Linus Tolke. This way of storing information encourages violation of type safety. Create member attributes instead. 
org.argouml.cognitive.Critic.getArgs()
          for 0.25.4 by Linus Tolke. This way of storing information encourages violation of type safety. Create member attributes instead. 
org.argouml.model.AbstractCoreHelperDecorator.getAssociateEnds(Object)
           
org.argouml.model.CoreHelper.getAssociateEnds(Object)
          for 0.25.4 by tfmorris. Use Facade.getAssociationEnds(Object). 
org.argouml.model.Facade.getChangeability(Object)
          for 0.25.4 by tfmorris. Use Facade.isReadOnly(Object). 
org.argouml.model.Model.getChangeableKind()
          for 0.25.4 by tfmorris. This enumeration has been removed from UML 2. Use the getter for the isReadOnly attribute. 
org.argouml.model.ModelImplementation.getChangeableKind()
          for 0.25.4 by tfmorris. Use Facade.isReadOnly(Object). 
org.argouml.model.Facade.getChild(Object)
          for 0.25.4 by tfmorris. Use Facade.getSpecific(Object) which matches the UML 2.x terminology. 
org.argouml.model.ModelManagementHelper.getCorrespondingElement(Object, Object)
          for 0.25.4 by tfmorris. Unnecessary because Model implementation maintains cross XMI file references now. 
org.argouml.model.ModelManagementHelper.getCorrespondingElement(Object, Object, boolean)
          for 0.25.4 by tfmorris. Unnecessary because Model implementation maintains cross XMI file references now. 
org.argouml.cognitive.Agency.getCritics()
          for 0.25.4 by tfmorris - use Agency.getCriticList(). 
org.argouml.cognitive.CompoundCritic.getCritics()
          for 0.25.4 by tfmorris. Use CompoundCritic.getCriticList(). Unused in ArgoUML. Can be scheduled for speedy removal. 
org.argouml.cognitive.DecisionModel.getDecisions()
          for 0.25.4 by tfmorris. Use DecisionModel.getDecisionList(). 
org.argouml.cognitive.ToDoList.getDecisions()
          by tfmorris for 0.25.4. Use ToDoList.getDecisionList(). 
org.argouml.model.Facade.getDiscriminator(Object)
          for 0.25.4 by tfmorris. Discriminators have been removed from UML 2.x. 
org.argouml.model.UseCasesHelper.getExtendingUseCases(Object)
          for 0.25.4 by tfmorris 
org.argouml.cognitive.Designer.getGoals()
          for 0.25.4 by tfmorris. Use Designer.getGoalList(). 
org.argouml.cognitive.GoalModel.getGoals()
          for 0.25.4 by tfmorris. Use GoalModel.getGoalList(). 
org.argouml.cognitive.ToDoList.getGoals()
          for 0.25.4 by tfmorris. Use ToDoList.getGoalList(). 
org.argouml.ui.PerspectiveSupport.getGoRules()
          for 0.25.4 by tfmorris. Use PerspectiveSupport.getGoRuleList(). 
org.argouml.uml.reveng.ImportCommon.getImportClasspath()
          for 0.25.7 by tfmorris. This is a Java importer specific method. 
org.argouml.uml.reveng.FileImportUtils.getList(File, boolean, SuffixFilter[])
          for 0.25.4 by tfmorris. Use FileImportUtils.getList(File, boolean, SuffixFilter[], ProgressMonitor). 
org.argouml.model.Model.getMementoCreationObserver()
          for 0.25.4 by bobtarling. Use Model.getModelCommandCreationObserver(). 
org.argouml.model.Facade.getModel(Object)
          for 0.25.4 by tfmorris. Use one of Facade.getRoot(Object) or ... (do we need another method which implements the old, as-implemented semantics) 
org.argouml.uml.reveng.DiagramInterface.getModifiedDiagrams()
          for 0.25.4 by tfmorris. Use DiagramInterface.getModifiedDiagramList(). 
org.argouml.model.Facade.getOppositeEnd(Object)
          for 0.25.2 by tfmorris. Use Facade.getNextEnd(Object). 
org.argouml.model.Facade.getOwnerScope(Object)
          for 0.25.4 by tfmorris. Use Facade.isStatic(Object). The ScopeKind with only two enumerated values has been replaced by a boolean in UML 2.x. 
org.argouml.model.Facade.getParent(Object)
          for 0.25.4 by tfmorris. Use Facade.getGeneral(Object) which matches the UML 2.x terminology. 
org.argouml.model.ModelManagementHelper.getPath(Object)
          for 0.25.4 by tfmorris. Use ModelManagementHelper.getPathList(Object) but be aware that the implementations are not 100% compatible. Read the Javadoc for the new method to understand the difference. 
org.argouml.model.MetaTypes.getPermission()
          for 0.25.4 by tfmorris. Removed for UML 2.x. Use MetaTypes.getPackageImport(). 
org.argouml.model.Facade.getPseudostateKind(Object)
          by tfmorris for 0.25.3 - use Facade.getKind(Object) 
org.argouml.model.Facade.getRanges(Object)
          for 0.25.4 by tfmorris. Multiplicities in UML 2.x only have a single range. 
org.argouml.model.ModelManagementFactory.getRootModel()
          for 0.25.4 by tfmorris. Use Facade.getRootElements() for now, but that may need enhancement/change to accommodate multiple projects. 
org.argouml.model.Model.getScopeKind()
          for 0.25.4 by tfmorris. This has been removed from UML 2. Use Facade.isStatic(Object) instead. 
org.argouml.model.ModelImplementation.getScopeKind()
          for 0.25.4 by tfmorris. Use Facade.isStatic(Object). 
org.argouml.uml.reveng.ImportCommon.getSelectedFile()
          for 0.25.4 by tfmorris. Use ImportCommon.getSelectedFiles(). 
org.argouml.model.AbstractCoreHelperDecorator.getSpecifications(Object)
           
org.argouml.model.CoreHelper.getSpecifications(Object)
          for 0.25.2 by tfmorris. Use Facade.getSpecifications(Object). 
org.argouml.ui.PerspectiveSupport.getSubTreeModels()
          for 0.25.4 by tfmorris. Use PerspectiveSupport.getSubTreeModelList(). 
org.argouml.ui.ProjectBrowser.getTab(Class)
          by for 0.25.5 by tfmorris. Tabs should register themselves with whoever they need to communicate with in a distributed fashion rather than relying on a central registry. Currently the only place this is used is to communicate between WizStep and TabToDo in the Cognitive subsystem. 
org.argouml.ui.ProjectBrowser.getTabProps()
          for 0.25.5 by tfmorris. No one should need to manipulate the properties tab directly. The only place this is currently used is in a test. 
org.argouml.ui.DetailsPane.getTabs()
          by MVW, in V0.25.4. Will become package scope. 
org.argouml.model.Facade.getTargetScope(Object)
          for 0.25.4 by tmorris. This has been removed from UML 2.x and should no longer be used. 
org.argouml.cognitive.ToDoList.getToDoItems()
          for 0.25.4 by tfmorris. Use ToDoList.getToDoItemList(). 
org.argouml.cognitive.ToDoListEvent.getToDoItems()
          for 0.25.4 by tfmorris. Use ToDoListEvent.getToDoItemList(). 
org.argouml.model.Model.getXmiWriter(Object, Writer, String)
          for 0.25.4 by tfmorris. Use Model.getXmiWriter(Object, OutputStream, String). 
org.argouml.model.ModelImplementation.getXmiWriter(Object, Writer, String)
          for 0.25.4 by tfmorris. Use ModelImplementation.getXmiWriter(Object, OutputStream, String). 
org.argouml.model.AbstractExtensionMechanismsHelperDecorator.hasStereoType(Object, String)
           
org.argouml.model.ExtensionMechanismsHelper.hasStereoType(Object, String)
          for 0.25.4 by tfmorris. Use ExtensionMechanismsHelper.hasStereotype(Object,String) instead 
org.argouml.i18n.Translator.init()
          by MVW in V0.25.3, replaced by init(String locale). 
org.argouml.i18n.Translator.initForEclipse()
          by MVW in V0.25, replaced by initForEclipse(String). 
org.argouml.model.Facade.isAArgListsExpression(Object)
          for 0.25.4 by tfmorris. Removed from UML 2.x. 
org.argouml.model.Facade.isABooleanExpression(Object)
          for 0.25.4 by tfmorris. Removed from UML 2.x. 
org.argouml.model.Facade.isAIterationExpression(Object)
          for 0.25.4 by tfmorris. Removed from UML 2.x. 
org.argouml.model.Facade.isAMappingExpression(Object)
          for 0.25.4 by tfmorris. Removed from UML 2.x. 
org.argouml.model.Facade.isAObjectSetExpression(Object)
          for 0.25.4 by tfmorris. Removed from UML 2.x. 
org.argouml.model.Facade.isAPermission(Object)
          for 0.25.4 by tfmorris. Removed from UML 2.x. Use Facade.isAPackageImport(Object). 
org.argouml.model.Facade.isAPrimitive(Object)
          for 0.25.4 by tfmorris. Renamed in UML 2.x. Use Facade.isAPrimitiveType(Object). 
org.argouml.model.Facade.isAProcedureExpression(Object)
          for 0.25.4 by tfmorris. Removed from UML 2.x. 
org.argouml.model.Facade.isAProgrammingLanguageDataType(Object)
          for 0.25.4 by tfmorris. Removed from UML 2.x. Use Facade.isAPrimitiveType(Object). 
org.argouml.model.Facade.isATimeExpression(Object)
          for 0.25.4 by tfmorris. Removed from UML 2.x. 
org.argouml.uml.reveng.Import.isAttributeSelected()
           
org.argouml.uml.reveng.ImportSettings.isAttributeSelected()
          for 0.25.6 by tfmorris. This is a Java-specific setting that was inadvertantly included in the interface for 0.24. Not intended for public use. Instead use the Settings interface to importer-specific settings. 
org.argouml.model.Facade.isATypeExpression(Object)
          for 0.25.4 by tfmorris. Removed from UML 2.x. 
org.argouml.model.Facade.isAUseCaseInstance(Object)
          for 0.25.4 by tfmorris. UseCaseInstances have been removed from UML 2.x. 
org.argouml.model.Facade.isChangeable(Object)
          for 0.25.4 by tfmorris - use Facade.isReadOnly(Object). Note that isChangeable() != !isReadOnly() because UML 1.4 also has an enum point of ADD_ONLY. This has been removed in UML 2.x. 
org.argouml.model.Facade.isClassifierScope(Object)
          for 0.25.4 by tfmorris - use Facade.isStatic(Object) which has the same semantics, but is compatible with the UML 2.x naming. 
org.argouml.model.UmlFactory.isConnectionValid(Object, Object, Object)
          for 0.25.1 by tfmorris use 4 arg version UmlFactory.isConnectionValid(Object, Object, Object, boolean) 
org.argouml.uml.reveng.ImportSettings.isCreateDiagramsSelected()
          for 0.25.6 by tfmorris. This is handled by the import framework so specific importers don't need to worry about it. 
org.argouml.uml.reveng.Import.isDatatypeSelected()
           
org.argouml.uml.reveng.ImportSettings.isDatatypeSelected()
          for 0.25.6 by tfmorris. This is a Java-specific setting that was inadvertantly included in the interface for 0.24. Not intended for public use. Instead use the Settings interface to importer-specific settings. 
org.argouml.model.Facade.isInstanceScope(Object)
          for 0.25.4 by tfmorris - use !Facade.isStatic(Object) which is compatible with the UML 2.x naming. 
org.argouml.uml.reveng.ImportSettings.isMinimizeFigsSelected()
          for 0.25.6 by tfmorris. This is handled by the import framework so specific importers don't need to worry about it. 
org.argouml.model.AbstractExtensionMechanismsHelperDecorator.isValidStereoType(Object, Object)
           
org.argouml.model.ExtensionMechanismsHelper.isValidStereoType(Object, Object)
          Deprecated for 0.25.4 by tfmorris. Use ExtensionMechanismsHelper.isValidStereotype(Object,Object) instead (note different capitalization), 
org.argouml.ui.ProjectBrowser.jumpToDiagramShowing(Collection)
          for 0.25.5 by tfmorris. This is unused by ArgoUML. If there are clients that require this functionality, it should be moved some place more appropriate like the Diagram subsystem. 
org.argouml.ui.explorer.ExplorerEventAdaptor.modelElementRemoved(Object)
          for 0.25.4 by tfmorris. Send an event rather than calling this method directly. This is not currently used by ArgoUML and removal is handled by Model subsystem events. 
org.argouml.model.Model.notifyMementoCreationObserver(ModelMemento)
          for 0.25.4 by bobtarling. Use #notifyModelCommandCreationObserver. 
org.argouml.model.XmiReader.parse(InputSource)
          for 0.25.4 by tfmorris. Use XmiReader.parse(InputSource, boolean). 
org.argouml.ui.ProjectBrowser.selectTabNamed(String)
          for 0.25.5 by tfmorris. This is unused by ArgoUML. If there are clients that require this functionality, it should be delegated to some place more appropriate like a details pane manager. 
org.argouml.cognitive.Critic.setArg(String, Object)
          for 0.25.4 by Linus Tolke. This way of storing information encourages violation of type safety. Create member attributes instead. 
org.argouml.cognitive.Critic.setArgs(Hashtable)
          for 0.25.4 by Linus Tolke. This way of storing information encourages violation of type safety. Create member attributes instead. 
org.argouml.model.AbstractCoreHelperDecorator.setChangeability(Object, Object)
           
org.argouml.model.CoreHelper.setChangeability(Object, Object)
          for 0.25.4 by tfmorris. Use CoreHelper.setReadOnly(Object, boolean). NOTE: The UML 1.x enum of AddOnly has no equivalent in UML 2.x. 
org.argouml.model.AbstractCoreHelperDecorator.setChangeable(Object, boolean)
           
org.argouml.model.CoreHelper.setChangeable(Object, boolean)
          for 0.25.4 by tfmorris. Use CoreHelper.setReadOnly(Object, boolean) with a negated value. 
org.argouml.model.Model.setMementoCreationObserver(MementoCreationObserver)
          for 0.25.4 by bobtarling. Use Model.setModelCommandCreationObserver(org.argouml.model.ModelCommandCreationObserver). 
org.argouml.model.AbstractCoreHelperDecorator.setOwnerScope(Object, Object)
           
org.argouml.model.CoreHelper.setOwnerScope(Object, Object)
          for 0.25.4 by tfmorris. Use CoreHelper.setStatic(java.lang.Object, boolean). 
org.argouml.model.ModelManagementFactory.setRootModel(Object)
          for 0.25.4 by tfmorris. There may be multiple top level packages which make up the model and the model subsystem also needs to be able to deal with more than one project at a time, so the concept of a single root model needs to be dropped. 
org.argouml.uml.reveng.ImportCommon.setSelectedFile(File)
          for 0.25.5 by tfmorris. Use ImportCommon.setSelectedFiles(File[]). 
org.argouml.model.AbstractCoreHelperDecorator.setTaggedValue(Object, String, String)
           
org.argouml.model.CoreHelper.setTaggedValue(Object, String, String)
          by tfmorris for 0.23.3. Use ExtensionMechanismsHelper.setType(Object, Object) and ExtensionMechanismsHelper.setValueOfTag(Object, String). 
org.argouml.model.AbstractCoreHelperDecorator.setTaggedValues(Object, Collection)
           
org.argouml.model.CoreHelper.setTaggedValues(Object, Collection)
          for 0.25.1 by tfmorris. Use ExtensionMechanismsHelper.setTaggedValue(Object, Collection). 
org.argouml.model.AbstractCoreHelperDecorator.setTargetScope(Object, Object)
           
org.argouml.model.CoreHelper.setTargetScope(Object, Object)
          for 0.25.4 by tfmorris. Target Scope has been removed from the UML 2.x spec so this should not be used. 
org.argouml.ui.DetailsPane.setToDoItem(Object)
          for 0.25.5 by tfmorris. Send an event that TabToDoTargets listen to. 
org.argouml.ui.ProjectBrowser.setToDoItem(Object)
          for 0.25.5 by tfmorris. Send an event that the DetailsPane/TabToDo will be listening for. 
org.argouml.model.AbstractExtensionMechanismsHelperDecorator.setValueOfTag(Object, String)
           
org.argouml.model.ExtensionMechanismsHelper.setValueOfTag(Object, String)
          for 0.25.5 by tfmorris. Use ExtensionMechanismsHelper.setDataValues(Object, String[]). 
org.argouml.ui.ProjectBrowser.showStatus(String)
          for 0.26 by tfmorris. Use ArgoEventPump.fireEvent(org.argouml.application.events.ArgoEvent) to send a status event instead. When this method is removed also remove the implements clause for GEF's IStatusBar from this (ProjectBrowser) class. 
org.argouml.ui.explorer.ExplorerEventAdaptor.structureChanged()
          by mvw in V0.25.4. Use events instead. 
 

Deprecated Constructors
org.argouml.ui.AbstractArgoJPanel()
           
org.argouml.ui.AbstractArgoJPanel(String)
           
org.argouml.ui.AbstractArgoJPanel(String, boolean)
           
org.argouml.ui.SystemInfoDialog(Frame, boolean)
          for 0.25.1 by tfmorris. Use SystemInfoDialog.SystemInfoDialog(boolean) 
 



ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook