by coart 2008/08/07 09:43 coart.egloos.com/672929 덧글수 : 0 이 글은 Platform Plug-in Developer Guide의 일부분을 제 관점에서 해석한 것에 지나지 않습니다. 혹시 문제가 된다면, 즉시 삭제 하도록 하겠습니다. 조금더 자세한 내용을 알고 싶거나, 오역으로 인해서 잘 이해가 가지 않는다면 아래의 레퍼런스를 참조하시기 바랍니다. Title : Platform Plug-in Developer Guide Section : The JFace UI framework, Actions and contributions Reference : http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv..
by coart 2008/08/06 17:43 coart.egloos.com/670227 덧글수 : 0 Editing domain이 무엇인지에대한 설명은 블로그의 다른글 'Command를 이용하여 EMF model 수정하기'를 참조하기 바랍니다. 다음은 기본적으로 editing domain을 생성하는 코드이다. // Create an adapter factory that yields item providers. adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE); // Create the command stack that will notify this editor as commands..
by coart 2008/08/06 17:24 coart.egloos.com/670171 덧글수 : 1 XML을 사용하여 EMF의 model을 save하고 load하는 방법을 알아보자. EMF 모델의 구조를 살펴보면, 최상위에는 DocumentRoot가 위치 하게 된다. 따라서 Save나 Load를 할 때 DocumentRoot를 통해서 해야한다. 만약 XMI를 사용한다면, Root를 임으로 설정할 수 있기 때문에 원하는 Root를 선택 할 수 있다. 하지만 XML을 기반으로 EMF 모델을 저장하고 불러오고 싶다면 DocumentRoo를 통해야 한다. 모델의 구조는 다음과 같이 가정한다. Company가 모델의 최상위 node이다. 1. 불러오기(Loading) 일단 불러오는 코드를 살펴 보자. URI ..
by coart 2008/08/06 13:32 coart.egloos.com/669334 덧글수 : 0 EMF.Edit는 EMF moel을 수정할 수 있는 generic command들을 제공한다. 이 Command들은 commond command component를 확장하여 구현되어 있지만, EMF model에 대한 dependency를 가진다. 구현 되어 있는 generic command들은 reflective EObject API를 사용하여 EMF model을 수정한다. 구현 되어 있는 generic command들은 아래와 같다. 1. SetCommand Eobject의 Attribute 나 reference의 값을 설정(Set) 할 떄 사용한다. 2. AddCommand Eobject의 many..
by coart 2008/08/02 15:11 coart.egloos.com/653741 덧글수 : 0 이 글은 Modifying EMF model using Commands를 제 관점에서 해석한 것에 지나지 않습니다. 혹시 문제가 된다면, 즉시 삭제 하도록 하겠습니다. 조금더 자세한 내용을 알고 싶거나, 오역으로 인해서 잘 이해가 가지 않는다면 아래의 레퍼런스를 참조하시기 바랍니다. Title : Modifying EMF model using Commands Reference : http://help.eclipse.org/ganymede/topic/org.eclipse.emf.doc/references/overview/EMF.Edit.html 개요 EMF.edit는 Command framework를 제..
by coart 2009/10/19 19:54 coart.egloos.com/1550530 덧글수 : 0 Attribute Attribute are the set of data objects that fully define the class within the context of the problem. [1] 문제 상황내에서 Attribute는 클래스를 완전히 정의하는 데이터 객체의 집합이다. An Attribute is a logical data value of an object.[2] Attribute는 객체의 논리적인 데이터 값이다. Association An Association defines a relationship between classe that indicates some meaningf..
by coart 2009/09/26 22:24 coart.egloos.com/1532868 덧글수 : 0 1. The Open-Closed Principe(OCP) "A module[Component] should be open for extension but closed for modification" 모듈(컴포넌트)는 확장을 지향하도록 설계되어야 하지만 수정하는 것에는 배타적이 되어야한다. 모듈을 확장하려고 할때, 내부의 설계의 변함없이 모듈의 확장이 이루어 져야 한다고 이해할 수 있다. 2. The Liskov Substitution Principle(LSP) "SubClasses should be substituable for their base classes". 서브클래스는 부모클래스를 대체가능..
by coart 2009/09/10 21:00 coart.egloos.com/1519836 덧글수 : 0 아래는 "FOCALE - A Novel Autonomic Networking Architecture written by John C. Strasser, Nazim Agoulmine, and Elyes Lehtihet"라는 논문에서 인용한 Ontoloy의 정의 이다. 다음은 OMG(Object Management Group)에서 사용하는 Ontology의 정의이다. An "ontology" defines the common terms and concpets (meaning) used to describe and represent an area of knowledge. An ontology can ran..
Genralization: An existing desciprtion of a set of obejects can be further generalizaed by adding new objects to the set and modifying the description to take these new objects into account. Specialization: The inverse operation to generalization is specialization. sepcializing the description of a set of objects involves the reduction of the set to a subset. Abstraction: An existing description..
BEHROOZ PARHAMI 저작의 Computer Archtecture라는 책을 인용하면 다음과 같다. • Computer architecture deals with the functional behavior of a computer system as viewed by a programmer (like the size of a data type – 32 bits to an integer). - Instruction set, number of bits used for data representation, I/O mechanisms, addressing techniques. • Computer organization deals with structural relationships that are not v..
- Total
- Today
- Yesterday